import type { DependencyId, DependencyStatus } from './dependency-check.js';
export type PromptInstallResult = {
    id: DependencyId;
    action: 'installed' | 'skipped' | 'failed';
    error?: string;
};
export declare function promptInstallMissing(missing: DependencyStatus[], opts?: {
    skipPrompt?: boolean;
}): Promise<PromptInstallResult[]>;
export type RuntimeCheckResult = {
    available: DependencyId[];
    preferred?: DependencyId;
};
export declare function detectAvailableRuntimes(): RuntimeCheckResult;
export declare function ensureRuntime(requiredFor: string, opts?: {
    skipPrompt?: boolean;
}): Promise<DependencyId | null>;
