/**
 * Framework Detection
 *
 * Examines a project directory and determines which JS framework is being used.
 * Returns a DetectedFramework with all the information needed to build and launch.
 *
 * Detection strategy:
 * 1. Run the framework database engine (rules derived from @vercel/frameworks)
 * 2. Fall back to generic detection (package.json scripts)
 */
import type { DetectedFramework, PackageJsonData } from './types.ts';
/**
 * Detect the framework used by a project.
 *
 * @param projectDir - Absolute path to the project root
 * @returns DetectedFramework or null if nothing could be detected
 */
export declare function detectFramework(projectDir: string): Promise<DetectedFramework | null>;
/**
 * Detect the framework, but also return the parsed package.json for reuse.
 */
export declare function detectFrameworkWithPackageJson(projectDir: string): Promise<{
    framework: DetectedFramework | null;
    packageJson: PackageJsonData | null;
}>;
export type { DetectedFramework, FrameworkName, PackageJsonData, PackageManager, RuntimeName, } from './types.ts';
//# sourceMappingURL=index.d.ts.map