import type { RuntimeBlock, RuntimeFailureSummary } from "./types.js"; /** * Transcript writer:块和最终回复追加写入 transcript.jsonl,供本地诊断与回放。 * 所有 text/raw 落盘前脱敏;raw 只进本地 transcript,不上 wire。 */ export declare class TranscriptWriter { private readonly file; constructor(file: string); writeBlock(block: RuntimeBlock): void; writeFinal(text: string): void; writeFailure(failure: Partial): void; private append; get path(): string; }