export declare const WORKFLOW_TRANSCRIPT_EVENT_BYTES: number; /** Key under which a shrunk record names the fields it had to drop. */ export declare const WORKFLOW_TRANSCRIPT_OMITTED = "omitted_fields"; export interface WorkflowTranscriptOmission { field: string; bytes: number; sha256: string; } export declare function workflowTranscriptPath(coordRoot: string, runId: string): string; /** * Append one transcript record, always. * * A record that would exceed what a reader accepts has its largest fields * replaced by a digest and a byte count until it fits, and it names what it * dropped. Size never raises. * * Refusing an oversized record would let a valid run fail on its own opening * line: `run.start` carries the workflow's declared metadata plus the frozen * work and attempt context, and Harnery's own validators permit those to exceed * this limit by construction. Losing detail from a record is recoverable. * Losing the run that was writing it is not. */ export declare function appendWorkflowTranscriptEvent(coordRoot: string, runId: string, event: string, data: Record): void; /** * Shrink a record to the reader's limit by dropping its largest fields first. * The envelope is never dropped, so a record keeps its run id, timestamp, and * event name however much detail it loses. Exported for tests. */ export declare function fitWorkflowTranscriptRecord(envelope: Record, data: Record): Record; //# sourceMappingURL=transcript.d.ts.map