export type Framework = 'next-app' | 'next-pages' | 'react-router' | 'vite' | 'cra' | 'unknown'; /** * Detect framework from package.json */ export declare function detectFramework(cwd: string): Promise; /** * Find React entry file */ export declare function findEntryFile(cwd: string, framework: Framework): Promise; /** * Get framework from entry file path */ export declare function getFrameworkFromFile(filePath: string): Framework; //# sourceMappingURL=detector.d.ts.map