export interface CappedOutput { text: string; totalBytes: number; omittedBytes: number; } export declare function capOutput(value: string, maxBytes: number | undefined): string; export declare function capOutputWithMetadata(value: string, maxBytes: number | undefined): CappedOutput;