import type { ToolType, VersionResolutionResult } from '../types';
/**
 * Extract user-specified versions from command line options
 */
export declare function extractUserVersions(options: {
    [key: string]: any;
}): {
    [key: string]: string;
};
/**
 * Resolve version for a single tool following priority order:
 * 1. Command line options
 * 2. Environment variables
 * 3. .versions file
 * 4. Default version
 */
export declare function resolveToolVersion(toolName: string, userSpecifiedVersions: {
    [key: string]: string;
}, options: {
    [key: string]: any;
}, cwd: string): string | null;
/**
 * Resolve versions for all tools in a type with compatibility checking
 */
export declare function resolveTypeVersions(type: ToolType, userSpecifiedVersions: {
    [key: string]: string;
}, options: {
    [key: string]: any;
}, cwd: string): VersionResolutionResult;
//# sourceMappingURL=version-resolver.d.ts.map