/** * compress-output — run a command and compress its output. * * Used by `babysitter hook:run --hook-type pre-tool-use` to replace RTK. * Runs the given command, detects its family (git, ls, grep, diff, read), * and applies the appropriate compressor — all inlined, zero external deps. * * Usage: * babysitter compress-output * * Examples: * babysitter compress-output git status * babysitter compress-output git log --oneline -20 * babysitter compress-output ls -la * babysitter compress-output grep -rn "foo" src/ */ export interface CompressOutputOptions { /** The command + arguments to run and compress. */ args: string[]; /** Timeout for the child process in ms (default 30 000). */ timeout?: number; } export declare function handleCompressOutput(opts: CompressOutputOptions): number; //# sourceMappingURL=compressOutput.d.ts.map