export declare class MessageChannel {
    private readonly appOrigin;
    private channel;
    private bufferedMessages;
    constructor({ appOrigin }: {
        appOrigin: string;
    });
    postMessage(message: any, transferables?: Transferable[]): void;
    setup(onMessage: (event: MessageEvent) => void): void;
    dispatchBuffered(): void;
    teardown(): void;
}
//# sourceMappingURL=message-channel.d.ts.map