export declare class CappedOutputBuffer {
    private readonly maxBytes;
    private readonly label;
    private chunks;
    private bytes;
    private omittedBytes;
    private truncated;
    constructor(maxBytes: number, label?: string);
    append(value: unknown): void;
    toString(): string;
}
export declare function formatBytes(bytes: number): string;
