import type { DetectionMatch } from './types.js'; import type { ProjectType } from '../../types/index.js'; import type { ScaffoldError, ScaffoldWarning } from '../../types/index.js'; import { type DisambiguateOptions } from './disambiguate.js'; export interface ResolveDetectionInput { readonly matches: readonly DetectionMatch[]; readonly explicitProjectType?: ProjectType; readonly opts: DisambiguateOptions; } export interface ResolveDetectionResult { readonly chosen: DetectionMatch | null; readonly error?: ScaffoldError; readonly warnings: readonly ScaffoldWarning[]; } /** Synthesize an empty detection match for an explicitly-specified projectType. */ export declare function synthesizeEmptyMatch(projectType: ProjectType): DetectionMatch; export declare function resolveDetection(input: ResolveDetectionInput): Promise; //# sourceMappingURL=resolve-detection.d.ts.map