import type { SessionData, SessionsStorage } from './types.js';
export declare function loadSessions(): Promise<SessionsStorage>;
export declare function getSession(sessionName: string): Promise<SessionData | undefined>;
export declare function saveSession(sessionName: string, sessionData: Omit<SessionData, 'name'>): Promise<void>;
export declare function updateSession(sessionName: string, updates: Partial<Omit<SessionData, 'name' | 'createdAt'>>): Promise<void>;
export declare function deleteSession(sessionName: string): Promise<void>;
export declare function sessionExists(sessionName: string): Promise<boolean>;
export interface ConsolidateSessionsResult {
    crashedBridges: number;
    expiredSessions: number;
    sessions: Record<string, SessionData>;
}
export declare function consolidateSessions(cleanExpired: boolean): Promise<ConsolidateSessionsResult>;
//# sourceMappingURL=sessions.d.ts.map