import React from 'react';
import type { ChatSessionMetadata, SessionCreationOptions, SessionMetadataUpdate } from '../types/chatSessions';
export interface ChatSessionsContextValue {
    activeSessionId: string;
    sessions: ChatSessionMetadata[];
    previousSessions: ChatSessionMetadata[];
    getSessionById: (sessionId: string) => ChatSessionMetadata | undefined;
    startNewSession: (options?: SessionCreationOptions) => string;
    resumeSession: (sessionId: string) => void;
    deleteSession: (sessionId: string) => void;
    updateSessionMetadata: (sessionId: string, updates: SessionMetadataUpdate) => void;
    clearAllSessions: () => void;
}
export declare const ChatSessionsProvider: React.FC<{
    children: React.ReactNode;
}>;
export declare const useChatSessions: () => ChatSessionsContextValue;
//# sourceMappingURL=ChatSessionsContext.d.ts.map