//#region src/auth/idle-timeout.d.ts
/**
 * Signs the visitor out of this browser after the idle time set in Studio's
 * "End session if idle", and sends them to `/`. Activity in any tab of the app
 * keeps the session alive. Does nothing for anonymous visitors.
 *
 * Call it once, in the root route's document component.
 *
 * @example
 * function RootDocument({ children }: { children: React.ReactNode }) {
 *   useIdleTimeout()
 *   // ...
 * }
 */
declare function useIdleTimeout(): void;
//#endregion
export { useIdleTimeout };