/** * Semantic, source-order text extraction for transcript selection and export. * * This deliberately operates on normalized items rather than terminal cells: * Markdown wrapping, syntax color, and viewport culling cannot alter copied * content. Optional tool output is injected by the caller so spool ownership * remains outside transcript state. */ import { type ToolItem, type TranscriptState } from "../state/transcript-types.js"; import type { SemanticDocument } from "../state/semantic-document.js"; export type ThinkingInclusion = "none" | "visible" | "all"; export interface TranscriptSemanticOptions { readonly thinking?: ThinkingInclusion; readonly toolOutput?: (item: ToolItem) => string | undefined; } export declare function extractTranscriptSemanticDocument(state: TranscriptState, options?: TranscriptSemanticOptions): SemanticDocument; export declare function renderTranscriptSemanticText(state: TranscriptState, options?: TranscriptSemanticOptions): string;