export interface TimerInfo { timeout: NodeJS.Timeout; startTime: number; durationMs: number; } export interface ExpiringValueReturn { value: T | undefined; setValue: (newValue: T, durationSeconds?: number, saveToStorage?: boolean) => () => void; clearValue: () => void; getRemainingTime: () => number; isActive: boolean; } export declare function useExpiringValue(defaultDurationSeconds: number, localStorageKey?: string): ExpiringValueReturn; //# sourceMappingURL=useExpiringValue.d.ts.map