import type { IframeResponseEvent } from "../Events/IframeEvent"; export declare const registeredCallbacks: { [K in IframeResponseEvent["type"]]?: ((event: Extract["data"]) => void)[]; }; export declare function apiCallback(callbackData: { type: T; callback: (event: Extract["data"]) => void; }): { type: T; callback: (event: Extract["data"]) => void; };