/** * 从任意 Git 仓库拉取代码,并复制指定目录到目标位置 * @param options 配置选项 * @param options.repository Git 仓库地址(必填) * @param options.branch 分支名称,默认 "master" * @param options.source 源目录相对路径(必填),支持多级目录如 "template/api" * @param options.target 目标目录相对路径(必填),如 "subapp-bms/api" * @param options.ignores 需要忽略的文件/目录列表,默认 [] * @param options.autoCommit 是否自动提交,默认 false */ export declare function collectAnyWhere(options: { repository: string; branch?: string; source: string; target: string; ignores?: string | string[]; autoCommit?: boolean | string; }): void;