import type { AdapterOptions, DiscoveredSession, NormalizeStats, NormalizedSession } from '@claude2dsh/core'; /** Adapter read options. */ export interface ClaudeReadOptions extends AdapterOptions { /** Override the target DSH session id (default: `claude-`). */ readonly targetId?: string; /** Permit subagent/workflow transcripts to be read as child sessions. */ readonly allowAuxiliary?: boolean; } /** Stable DSH target id for a Claude Code session. */ export declare function mintClaudeSessionId(sourceId: string | undefined, fileStem: string): string; /** * Parse one Claude Code main transcript into the normalized model. * * The visible chain is selected by walking `parentUuid` backwards from the * last non-sidechain user/assistant record, which follows the branch Claude * Code kept current. Records are then processed in physical line order. */ export declare function readClaudeSession(ref: DiscoveredSession, options?: ClaudeReadOptions): Promise<{ session: NormalizedSession; stats: NormalizeStats; }>;