/** * Registers `visibilitychange` and `beforeunload` listeners that flush all * pending scheduled invites when the page is being torn down. On unmount the * listeners are removed and any remaining pending invites are flushed. * * Call this once in a long-lived component (e.g. the Team Links sidebar) so * that listeners survive popup open/close cycles. Consumers that need to * schedule or cancel invites should import `spaceInviteScheduler` directly. */ export declare const useSpaceInviteScheduler: () => void;