export declare type EventFunction = (name: string, ...args: any[]) => void; export declare class Event { protected _events: { [key: string]: EventFunction[]; }; on(name: string, fn: EventFunction): void; off(name?: string, fn?: EventFunction): void; emit(name: string, ...args: any[]): void; } //# sourceMappingURL=event.d.ts.map