import { QRL } from '@builder.io/qwik'; export interface SessionWatcherProps { /** * The session expiry date/time. Accepts a date string, Date object, null, or undefined. * When null or undefined, no timers are set. */ dateTime?: string | Date | null; /** * Number of minutes before the expiry time to show the warning dialog. * Defaults to 5. */ warnMinutes?: number; /** * Callback invoked when the user clicks "Extend Session". * The parent is responsible for updating dateTime to the new expiry. */ onExtendSelected$?: QRL<() => void>; /** * Callback invoked when the session has expired (either from the timer or if the * warning dialog is still open when the expiry time is reached). */ onExpired$?: QRL<() => void>; } /** * Session watcher component that monitors a session expiry time and presents * a countdown warning dialog before the session expires. * * Uses the Timer component internally and shows a Dialog with a live countdown * and an "Extend Session" option when the warn threshold is reached. */ export declare const SessionWatcher: import("@builder.io/qwik").Component;