/** * Cursor chat extractor module * Extracts chat transcripts from Cursor's SQLite databases */ type CursorMessage = { role?: string; content?: string; [key: string]: unknown; }; /** * Find Cursor database for a given conversation_id * * @param args - Configuration arguments * @param args.conversationId - Conversation ID from stop hook * @param args.cursorChatsDir - Path to .cursor/chats directory * * @returns Path to store.db file */ export declare const findCursorDatabase: (args: { conversationId: string; cursorChatsDir: string; }) => Promise; /** * Extract messages from Cursor SQLite database * * @param args - Configuration arguments * @param args.dbPath - Path to store.db file * * @returns Array of message objects */ export declare const extractMessages: (args: { dbPath: string; }) => Promise>; /** * Format messages for backend API (NDJSON) * * @param args - Configuration arguments * @param args.messages - Array of cursor messages * * @returns Newline-delimited JSON string */ export declare const formatForBackend: (args: { messages: Array; }) => string; export {}; //# sourceMappingURL=cursor-chat-extractor.d.ts.map