export declare class Bus {
    _callbacks: {};
    _queue: {
        [topic: string]: any[];
    };
    publish(topic: string, args?: any): void;
    subscribe(topic: string, handler: (...args: any[]) => void): void;
    unsubscribe(topic: string, handler?: (...args: any[]) => void): void;
    destroy(): void;
}
