import { Idl, Event, EventCoder } from "@project-serum/anchor"; import { IdlEvent } from "@project-serum/anchor/dist/cjs/idl"; export class SplAssociatedTokenAccountEventsCoder implements EventCoder { constructor(_idl: Idl) {} decode>( _log: string ): Event | null { throw new Error("SplAssociatedTokenAccount program does not have events"); } }