import type { DispatchFunction } from "#ws"; import type { CachingOptions, Transformers, MockClient, Listeners } from "./typings/index.js"; export interface CompilerOptions> { transformers?: T; transformClient?: boolean; } export declare class ListenerCompiler> { #private; constructor(options?: CompilerOptions); appendCachingHandlers(options: CachingOptions): this; addListener = Listeners, K extends (keyof L) & string = (keyof L) & string>(name: K, handler: L[K] & {}, once?: boolean): this; getCompilationOutput(): { handlers: { names: Array; callbacks: Array<(...args: any) => any>; }; stack: string; }; clearStack(): void; getDispatchFunction(clientPointer: C, resumeInfoPointer: { url: string; id: string; }): DispatchFunction; addListenersFromObject(listeners: Listeners): this; } //# sourceMappingURL=compiler.d.ts.map