/** * KERNL V2.0 - APPROACH 1: FILESYSTEM DIRECT * * Read Claude Desktop's local database directly * - Fastest approach (~5 seconds for 1000 conversations) * - Access deleted conversations if cached * - Most complete dataset * - Platform: Windows, Mac, Linux */ export interface ConversationData { id: string; title: string; content: string; created_at: string; updated_at: string; messages?: Message[]; metadata?: Record; } export interface Message { role: 'user' | 'assistant'; content: string; timestamp?: string; } export interface DiscoveryResult { found: boolean; paths: string[]; databaseType?: 'sqlite' | 'leveldb' | 'indexeddb' | 'unknown'; databasePath?: string; error?: string; } /** * Discover Claude Desktop's data directory * Checks platform-specific locations */ export declare function discoverClaudeData(): Promise; /** * Read SQLite database and extract conversations */ export declare function readSQLiteConversations(dbPath: string): Promise; /** * Read LevelDB database (if Claude uses LevelDB) * LevelDB stores key-value pairs - we need to iterate and parse */ export declare function readLevelDBConversations(dbPath: string): Promise; /** * Read IndexedDB (Electron's web storage) */ export declare function readIndexedDBConversations(dbPath: string): Promise; /** * Main export function for filesystem approach */ export declare function exportViaFilesystem(): Promise<{ success: boolean; conversations: ConversationData[]; source: 'filesystem'; discovery: DiscoveryResult; error?: string; }>; //# sourceMappingURL=filesystem-export.d.ts.map