export declare function originFromWidgetHost(widgetHost: string): string; export declare function targetOriginForIframe(iframe: HTMLIFrameElement, widgetHost?: string): string; export declare function registerIframe(iframe: HTMLIFrameElement, widgetHost: string): void; export declare function unregisterIframe(iframe: HTMLIFrameElement): void; /** Snapshot of currently registered agent iframes. */ export declare function getRegisteredIframes(): Array<{ iframe: HTMLIFrameElement; widgetHost: string; }>; export declare function isRegisteredIframeSource(source: MessageEventSource | null): source is Window; export declare function hasRegisteredIframeOrigin(origin: string): boolean; /** @internal Test helper */ export declare function resetIframeRegistry(): void;