import type { Chat } from "shared/types/index.js";
export type { Chat };
export declare class ChatFileService {
    getAllChats(limit?: number, offset?: number): Chat[];
    getChat(id: string): Chat | null;
    createChat(folder: string, sessionId: string, metadata?: string): Chat;
    updateChat(id: string, updates: Partial<Chat>): boolean;
    upsertChat(id: string, folder: string, sessionId: string, updates: Partial<Chat>): Chat;
    updateChatMetadata(id: string, fields: Record<string, unknown>): boolean;
    deleteChat(sessionId: string): boolean;
    private saveChat;
}
export declare const chatFileService: ChatFileService;
//# sourceMappingURL=chat-file-service.d.ts.map