import { type FabricExecutionTraceV1 } from "./trace.js"; export declare const FABRIC_EXECUTION_DETAILS_MAX_BYTES: number; export interface FabricPersistedExecutionDetailsV1 { success: boolean; trace: FabricExecutionTraceV1; outputFormat?: "yaml" | "json"; } export interface FabricLegacyRenderAudit { ref: string; tool?: string; provider?: string; success?: boolean; error?: string; args?: Record; result?: unknown; resultTruncated?: boolean; preview?: unknown; startedAt?: number; endedAt?: number; } export interface FabricExecutionRenderDetails { success?: boolean; error?: string; progress?: string; outputFormat?: "yaml" | "json"; phases: string[]; audits: FabricLegacyRenderAudit[]; } /** * Creates the only object stored in final fabric_exec details. Rich call * audits remain available to live partial rendering but are deliberately not * copied here. The aggregate object, not each member independently, is bound. */ export declare const createFabricPersistedExecutionDetails: (input: { success: boolean; trace: FabricExecutionTraceV1; outputFormat?: "yaml" | "json"; }) => FabricPersistedExecutionDetailsV1; /** * Adapts both old audit-bearing session details and current trace-only details * for rendering. Legacy audits win when present so old transcripts retain * their historical rich previews. */ export declare const readFabricExecutionRenderDetails: (value: unknown) => FabricExecutionRenderDetails; //# sourceMappingURL=details.d.ts.map