import type { ReactDetectionResult, ReactVersion, NextjsVersion } from '../types/index.js';
declare function parseReactVersion(version: string): ReactVersion;
declare function parseNextjsVersion(version: string): NextjsVersion;
/**
 * Detect React and Next.js versions and features from project files.
 * S1-C1, S1-C2, S1-C3
 */
export declare function detectReactStack(projectPath: string): Promise<ReactDetectionResult>;
export { parseReactVersion, parseNextjsVersion };
//# sourceMappingURL=react-detector.d.ts.map