import { Glue } from './glue'; import { IUnwatcher } from '../observer/emitter'; export declare function watchEvent(id: string, name: string, eventFn: any): IUnwatcher; export declare function unwatchEvent(id: string, name: string, eventFn: any): void; export declare class EventGlue extends Glue { private name; private eventFn; static context: any; constructor(id: string, name: string, eventFn: () => void); install(): void; destroy(): void; }