export declare function setGlobalEventFlag(flag: boolean): void; export declare function switchGlobalEventOn(): void; export declare function switchGlobalEventOff(): void; export declare function isGlobalEventOn(): boolean; export declare function runWithGlobalEventOff(fn: Function): void; type ListenerFunc = (...args: any[]) => void; export declare function wrapWithEventSwitch(fn: ListenerFunc): ListenerFunc; export {};