import { type AssistantSession } from '../types';
export interface SessionState {
    sessions: AssistantSession[];
    selectedSessionId: string | null;
    selectedSession: AssistantSession | null;
    isEditing: boolean;
    isDeleting: boolean;
    isDeleteDialogOpen: boolean;
    name: string;
    isSaving: boolean;
    searchQuery: string;
}
export declare function useSessionState(): {
    state: SessionState;
    actions: {
        setSessions: (sessions: AssistantSession[]) => void;
        appendSessions: (sessions: AssistantSession[]) => void;
        selectSessionId: (id: string | null) => void;
        selectSession: (session: AssistantSession | null) => void;
        startEditing: () => void;
        stopEditing: () => void;
        setDeleting: (deleting: boolean) => void;
        setDeleteDialogOpen: (open: boolean) => void;
        setName: (name: string) => void;
        setSaving: (saving: boolean) => void;
        setSearchQuery: (query: string) => void;
        addSession: (session: AssistantSession) => void;
        updateSession: (session: AssistantSession) => void;
        removeSession: (id: string) => void;
        reset: () => void;
    };
};
