/** * Opens a WordPress tool in a popup with the same frame layout as the main app: * an app-origin top-level page containing a WordPress-origin iframe. * * Browsers can select service-worker registrations using both the WordPress * origin and the top-level site. Opening WordPress directly can then miss the * worker serving it inside the main app. This app-origin wrapper preserves * that top-level site, so #wp can use the existing worker and PHP instance. * * Scoped app routes preserve the path, query, and fragment on the WordPress origin. * The explicit popup route supplies its destination in the hash. Accept only scoped URLs so this * wrapper cannot be used to load trusted app documents into the iframe. * Loopback delegation is off by default. Personal WP's own entry document opts in; * neither the hosting domain nor URL parameters enable it. */ export declare function bootWordPressPopup({ allowLoopbackNetwork }?: { allowLoopbackNetwork?: boolean | undefined; }): void;