export declare const MAX_PROGRESS_LINES = 6; export declare const MAX_PROGRESS_ENTRIES = 32; export type ProgressEntry = { readonly label: string; readonly at: number; }; export declare function renderProgressRegion(lines: readonly string[]): string; export declare function safeSplicePoint(text: string, pos: number): number; export declare function renderInterleavedPreview(text: string, entries: readonly ProgressEntry[]): string; export interface LivePreviewState { readonly accumulated: string; readonly progressEntries: readonly ProgressEntry[]; readonly progressGateOpen: boolean; readonly subagentSteps: number; readonly recentSubagentSteps: readonly string[]; } export declare function computeLivePreview(state: LivePreviewState): string;