/** * Claude adapter (issue #3709). * * Parses two first-party observable Claude transcript/export shapes: * * 1. `claude-code-jsonl` — Claude Code session transcripts * (`~/.claude/projects//.jsonl`), one JSON object * per line with `type: "user" | "assistant" | "summary" | "system" | …`. * 2. `claude-export-json` — the claude.ai data export (`conversations.json`): * a JSON array of conversations (or a single conversation object) whose * `chat_messages` carry `sender: "human" | "assistant"` and `content` blocks. * * The same quarantine contract as the Codex adapter applies: unmappable * records/messages are counted and digested, never silently dropped. */ import type { ImportedConversation, ImportQuarantineRecord, SessionImportCounts } from "./types"; export interface ClaudeParseResult { conversation: ImportedConversation; quarantine: ImportQuarantineRecord[]; counts: SessionImportCounts; redactionKinds: string[]; } /** Parse a Claude Code session JSONL transcript. */ export declare function parseClaudeCodeTranscript(text: string): ClaudeParseResult; /** Parse a claude.ai data-export conversation (array or single object). */ export declare function parseClaudeExport(text: string): ClaudeParseResult;