import type { BitBaseEvent } from './bit-base-event'; export declare class PubsubMain { private topicMap; private createOrGetTopic; sub(topicUUID: any, callback: any): void; pub(topicUUID: any, event: BitBaseEvent): void; unsubscribeAll(topicId: string): void; static runtime: import("@teambit/harmony").RuntimeDefinition; static provider(): Promise; }