import { type SessionInfoResponse } from '@/services/api/authApi';
interface SessionState {
    isActive: boolean;
    timeRemainingSeconds: number;
    isWarning: boolean;
    sessionInfo: SessionInfoResponse | null;
}
interface UseSessionMonitorOptions {
    checkIntervalMs?: number;
    onSessionExpired?: () => void;
    onWarningThreshold?: () => void;
    enabled?: boolean;
}
export declare function useSessionMonitor(options?: UseSessionMonitorOptions): SessionState & {
    isRefreshing: boolean;
    refreshSession: () => Promise<boolean>;
    checkSession: (signal?: AbortSignal) => Promise<void>;
};
export declare function formatTimeRemaining(seconds: number): string;
export {};
//# sourceMappingURL=useSessionMonitor.d.ts.map