export interface ReplaceTagParams { /** 正则表达式字符串 */ reg: string; /** 替换字符串 */ replace: string; /** 正则表达式标志,如 i、g、m 等 */ flags?: string; /** 是否推送到远程仓库 */ push?: boolean; /** 远程仓库名称,默认为 origin */ remote?: string; } /** * 替换所有 git tag */ export declare function replaceTag({ reg, replace, flags, push, remote }: ReplaceTagParams): Promise;