/** * Please Notice: This file will run in the preview iframe. */ import type { BitBaseEvent } from './bit-base-event'; import type { Callback } from './types'; export declare class PubsubPreview { private _parentPubsub?; private events; sub(topic: string, callback: Callback): () => void; pub(topic: string, event: BitBaseEvent): void; private inIframe; private connectToParentPubSub; private handleMessageFromParent; static runtime: import("@teambit/harmony").RuntimeDefinition; static provider(): Promise; }