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