/** * Shell output compression pipeline for batch bash tool. * * Classifies commands by output policy, applies specific compressors for * known tools (git, npm, cargo), and falls back through a tiered cleanup * chain. Compression runs BEFORE truncation; truncation remains the safety net. */ export declare enum OutputPolicy { Passthrough = 0, Verbatim = 1, Compressible = 2 } export declare function classify(command: string): OutputPolicy; export interface CompressionResult { stdout: string; stderr: string; savingsPct: number; } export declare function compressOutput(command: string, stdout: string, stderr: string): CompressionResult; export declare function estimateTokens(text: string): number; export declare function stripAnsi(text: string): string; export declare function terseFilter(output: string): string; export declare function lightweightCleanup(output: string): string; export declare function truncateWithSafetyScan(lines: string[]): string | null; //# sourceMappingURL=shell-compress.d.ts.map