export declare function resolveMountTarget(selector?: string): HTMLElement | null; export declare function getPopupMountParent(mountTarget?: string): HTMLElement; export declare function getPopupWidgetRoot(widgetKey: string): HTMLElement | null; /** True when the popup trigger and/or iframe container exists in the expected mount location. */ export declare function isPopupWidgetInMountTarget(widgetKey: string, mountTarget?: string): boolean; /** Moves popup DOM into the configured mount target when it was appended elsewhere (e.g. Turbo swaps). */ export declare function relocatePopupWidgetIfNeeded(widgetKey: string, mountTarget?: string): boolean; export declare function appendPopupWidgetFragment(fragment: DocumentFragment, mountTarget?: string): void;