/**
 * One file implementation of a global event bus for browser extensions.
 * Provides the same interface in all parts of an extension.
 */
type CallbackFunction = (data: any) => void;
type EmitParams = {
    global?: boolean;
};
export declare function emit(event: string, data?: any, params?: EmitParams): void;
export declare function on(event: string, callback: CallbackFunction): void;
export declare function off(event: string, callback: CallbackFunction): void;
export declare function destroy(): void;
export {};
