import type { IframeMessagePortData, IframeMessagePortMap } from "../Events/MessagePortEvents"; import type { IframeEvent, IframeQuery, IframeQueryMap } from "../Events/IframeEvent"; import { CheckedIframeMessagePort } from "./CheckedIframeMessagePort"; export declare function sendToWorkadventure(content: IframeEvent, transfer?: Transferable[]): void; export declare const answerPromises: Map) => void; reject: (reason?: any) => void; }>; export declare const answerPromisesMessagePort: Map void; reject: (reason?: any) => void; }>; export declare function queryWorkadventure(content: IframeQuery, options?: { transfer?: Transferable[]; signal?: AbortSignal; timeout?: number | null; }): Promise; export declare function openMessagePort(type: K, data: IframeMessagePortData["data"]): Promise>; /** * !! be aware that the implemented attributes (addMethodsAtRoot and subObjectIdentifier) must be readonly * * */ export declare abstract class IframeApiContribution { abstract callbacks: T["callbacks"]; }