/** * Helper functions for compress-output command. * Extracted from compressOutput.ts for max-lines compliance. */ export type CommandFamily = "git" | "ls" | "grep" | "diff" | "read" | "unknown"; export type GitSubcommand = "diff" | "log" | "status" | "show" | "add" | "commit" | "push" | "pull" | "branch" | "fetch" | "stash" | "worktree" | "unknown"; export declare function detectCommandFamily(command: string): CommandFamily; export declare function detectGitSubcommand(command: string): GitSubcommand; export declare function compressGitOutput(sub: GitSubcommand, raw: string): string; export declare function compressLsOutput(raw: string): string; export declare function compressGrepOutput(raw: string, pattern: string, maxResults?: number, maxLineLen?: number): string; export declare function condenseDiff(diff: string): string; export declare function compressReadOutput(content: string, ext: string): string; export declare function capLines(raw: string, maxLines?: number): string; //# sourceMappingURL=compressOutputHelpers.d.ts.map