import { type SessionTranscriptOptions } from './transcript.js'; export interface SessionExportOptions extends SessionTranscriptOptions { includeTools?: boolean; } interface EntryLocation { timestamp: string | null; line_number: number; text: string; } export type SessionExportEntry = EntryLocation & ({ kind: 'message'; role: 'user' | 'assistant'; } | { kind: 'tool_call' | 'tool_output'; name: string | null; call_id: string | null; }); export interface SessionExportDocument { schema_version: 1; session_id: string; started_at: string | null; cwd: string | null; archived: boolean; skipped_records: number; entries: SessionExportEntry[]; } export declare function exportSessionHistory(options: SessionExportOptions): Promise; export declare function renderSessionMarkdown(document: SessionExportDocument): string; export {}; //# sourceMappingURL=export.d.ts.map