/** * Accumulates Buffer chunks up to a byte cap, silently dropping (or * partially truncating) anything beyond it instead of growing unbounded. * Shared by global-monitor.ts and RequestMonitoringService.ts to cap raw * response buffering independent of decompression (see issue #112). */ declare class CappedBuffer { private readonly maxBytes; private readonly onTruncate?; private readonly chunks; private bytes; private truncated; constructor(maxBytes: number, onTruncate?: (() => void) | undefined); push(chunk: Buffer): void; concat(): Buffer; private markTruncated; } export { CappedBuffer };