/** * Radix Dialog / AlertDialog / Sheet lock the document via * `@radix-ui/react-remove-scroll`, which sets `pointer-events: none` on * `` while open. If the React tree unmounts the root WHILE still open * (federated modal returns null, parent remounts on list refresh, uncaught * error mid-close), RemoveScroll's cleanup never runs and the whole app * stops receiving clicks until a full reload. * * Call this after close / on unmount as a safety net. Nested open layers are * detected so we do not unlock while another modal is still active. */ export declare function restoreBodyInteraction(): void; /** Schedule a couple of unlock passes after Radix's own cleanup settles. */ export declare function scheduleRestoreBodyInteraction(): void; //# sourceMappingURL=restore-body-interaction.d.ts.map