import { z } from "zod"; /** 压缩模式 */ export type MergeMode = "full" | "compact" | "skeleton"; /** 输出方式 */ export type OutputTarget = "inline" | "file"; /** merge_files 工具的输入参数 Schema */ export declare const MergeFilesInputSchema: z.ZodObject<{ /** 文件/目录/glob 列表 */ inputs: z.ZodArray; /** 压缩模式 */ mode: z.ZodDefault>; /** 扩展名白名单 */ extensions: z.ZodOptional>; /** 排除规则 */ excludes: z.ZodOptional>; /** 是否按输入路径分组 */ group: z.ZodDefault; /** 输出方式 */ output: z.ZodDefault>; /** 输出目录(仅 output=file 时生效) */ output_dir: z.ZodOptional; /** 最大内联字节数 */ max_bytes: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputs: string[]; mode: "full" | "compact" | "skeleton"; group: boolean; output: "inline" | "file"; extensions?: string[] | undefined; excludes?: string[] | undefined; output_dir?: string | undefined; max_bytes?: number | undefined; }, { inputs: string[]; mode?: "full" | "compact" | "skeleton" | undefined; extensions?: string[] | undefined; excludes?: string[] | undefined; group?: boolean | undefined; output?: "inline" | "file" | undefined; output_dir?: string | undefined; max_bytes?: number | undefined; }>; export type MergeFilesInput = z.infer; /** merge_files 工具的输出结果 */ export interface MergeFilesOutput { /** 合并后的文本(仅 inline 模式) */ content?: string; /** 落盘文件路径(仅 file 模式或超出 max_bytes) */ output_path?: string; /** 处理的文件数量 */ files_count: number; /** 输出总字节数 */ total_bytes: number; /** 使用的压缩模式 */ mode: MergeMode; /** 是否分组输出 */ grouped: boolean; /** 生成时间 ISO 8601 */ generated_at: string; } /** 文件处理结果 */ export interface ProcessedFile { /** 原始文件路径 */ path: string; /** 相对路径(用于输出显示) */ relativePath: string; /** 处理后的内容 */ content: string; /** 语言标识 */ language: string; } /** 分组后的文件集合 */ export interface GroupedFiles { [inputPath: string]: string[]; } //# sourceMappingURL=merge.d.ts.map