export declare class EventDispatch { private listeners; on(event: string, func: (...args: any[]) => void): () => void; emit(event: string, ...args: any[]): void; off(event: string, func: (...args: any[]) => void): void; dispose(): void; }