export declare const DEFAULT_MAX_LINES = 2000; export declare const DEFAULT_MAX_BYTES: number; export interface TruncationResult { content: string; truncated: boolean; truncatedBy: "lines" | "bytes" | null; totalLines: number; totalBytes: number; outputLines: number; outputBytes: number; } export interface TruncationOptions { maxLines?: number; maxBytes?: number; } export declare function formatSize(bytes: number): string; export declare function truncateHead(content: string, options?: TruncationOptions): TruncationResult; export declare function truncateTail(content: string, options?: TruncationOptions): TruncationResult; //# sourceMappingURL=truncate.d.ts.map