import { type AutoSyncDependencies } from '../../tools/shared/auto-sync.js';
import type { ToolInfo } from '../../tools/shared/types.js';
import { Command } from 'commander';
import { type UpdateTarget, type UpdateResult, type UpdateToolsDependencies } from './update-tools.js';
export declare function buildSyncSubprocessArgs(entrypoint: string, execArgv: string[], options: {
    cwd: string;
    scope: 'project' | 'user';
}): string[];
export declare function createToolsUpdateCommand(dependencies?: UpdateToolsDependencies, syncDependencies?: AutoSyncDependencies): Command;
/**
 * @internal Exported for focused unit coverage. Current/newer workflow tools
 * intentionally trigger this path so older installs can repair a missing OAT
 * core .gitignore section even when their workflow pack is already current.
 */
export declare function shouldBackfillWorkflowGitignore(result: UpdateResult): boolean;
export declare function shouldRefreshCoreDocs(target: UpdateTarget, result: UpdateResult): boolean;
export declare function formatUpdatedToolMessage(tool: ToolInfo, dryRun: boolean): string;
//# sourceMappingURL=index.d.ts.map