export interface BoundedOutput { readonly text: string; readonly totalBytes: number; readonly truncated: boolean; } /** Keeps the newest bytes so failures retain their most useful tail output. */ export declare function createBoundedOutput(maxBytes: number): { append(chunk: Buffer | string): void; snapshot(): BoundedOutput; };