/** * Clear handle.me site data, as the handle.me footer does — plus IndexedDB and shared-domain * cookies. * * Cross-subdomain reality: the browser's same-origin policy makes it IMPOSSIBLE for JS on * `merch.handle.me` to clear `preview.hal.handle.me`'s localStorage / sessionStorage / caches — * those are origin-scoped. What CAN be cleared cross-subdomain are cookies scoped to the shared * parent domain (`.handle.me`), which this does. True cross-subdomain storage wipe would require * each subdomain to clear its own (e.g. a hidden-iframe broadcast to a shared clear page); that's * a deliberate future addition, not something achievable from one origin. */ export interface ClearSiteDataOptions { /** Also expire cookies scoped to the shared parent domain (.handle.me). Default true. */ cookies?: boolean; /** Navigate here when done. Pass null to stay on the page. Default "/". */ redirectTo?: string | null; } export declare function clearHandleSiteData(options?: ClearSiteDataOptions): Promise; //# sourceMappingURL=clear-site-data.d.ts.map