import { postRequestToParent } from "./postMessage"; export declare function registerIframe(messageDispatcher: T, options?: { originWhiteList?: string[]; postToOrigin?: string; }): { postToParent(callName: string, data: T_1): Promise; postToParentAwaitResponse(callName: string, data: T_2): Promise; postToParentTransferable(callName: string, data: T_3, transfer: Transferable[]): Promise; postToParentTransferableAwaitResponse(callName: string, data: T_4, transfer: Transferable[]): Promise; cleanup: () => void; }; export declare const postMessageToParent: typeof postRequestToParent;