import type { FabricTranscriptEntry } from "./transcript.js"; /** * Display-only unwrapping of a Fabric direct actor message envelope. * * Actors receive messages as `Fabric actor message from :` followed by * a JSON envelope. When that envelope is a validated direct actor message, this * returns the human payload text so transcripts show a normal user bubble. * Everything else — ordinary user JSON, code, malformed input, host-event * envelopes, non-direct sources — is preserved untouched by returning undefined. */ export declare const unwrapActorEnvelopeText: (text: string) => string | undefined; export interface FocusedTranscriptView { /** Entries to render in the focused (collapsed) view. */ entries: FabricTranscriptEntry[]; /** Raw diagnostics hidden by collapse; render these when expanded. */ hiddenDiagnostics: FabricTranscriptEntry[]; } /** * Pure focused-view projection: collapses runs of worker stderr warnings into * one diagnostics summary entry without discarding anything — hidden originals * come back in `hiddenDiagnostics` so an expand toggle can render them. Real * errors (non-warning stderr) always stay visible. */ export declare const focusTranscriptDiagnostics: (entries: FabricTranscriptEntry[], expandHint?: string) => FocusedTranscriptView; //# sourceMappingURL=conversation-transcript.d.ts.map