export declare const toggleAngieSidebar: (iframe: HTMLIFrameElement, isOpen: boolean, containerId?: string) => void; /** * Two instances on a page usually share one iframe origin, so `event.origin` cannot tell * their iframes apart. The source window can. * * Returns true when there is nothing to compare against, so single-instance hosts behave * exactly as before. */ export declare const isFromIframe: (event: MessageEvent, iframe: HTMLIFrameElement | null) => boolean; export declare const isTrustedIframeMessage: (event: MessageEvent, iframeOrigin: string | undefined, iframe: HTMLIFrameElement | null) => boolean; export declare const generateInstanceId: () => string; export declare const isMobile: () => boolean; export declare const sendSuccessMessage: (port: MessagePort, payload?: unknown) => void; export declare const sendErrorMessage: (port: MessagePort, error: unknown) => void; export declare const waitForDocumentReady: () => Promise; export declare const isSafeUrl: (url: string, trustedOrigins?: string[]) => boolean;