import { QRL } from '@builder.io/qwik'; export interface TimerProps { /** * The target 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 trigger the onWarn$ callback. * Defaults to 5. */ warnMinutes?: number; /** * Callback triggered when the warn threshold is reached (i.e., warnMinutes before expiry). */ onWarn$?: QRL<() => void>; /** * Callback triggered when the dateTime has been reached (i.e., the session has expired). */ onExpired$?: QRL<() => void>; } /** * Headless timer component that fires callbacks when a warn threshold or expiry time is reached. * Renders nothing — it is purely a behaviour component. * Properly cleans up the internal interval when the component is destroyed or dateTime changes. */ export declare const Timer: import("@builder.io/qwik").Component;