/**
 * Framework detection engine.
 *
 * Evaluates detector rules from the framework database against a real project
 * directory. Handles three rule types:
 * - matchPackage: check if package exists in dependencies/devDependencies
 * - path: check if a file exists at the given path
 * - path + matchContent: check if a file exists AND its content matches a regex
 *
 * The `every` array requires ALL rules to match.
 * The `some` array requires at least ONE rule to match.
 * If both are present, both conditions must be satisfied.
 */
import type { FrameworkDefinition } from './frameworks.ts';
import type { PackageJsonData } from './types.ts';
/**
 * Run detection against the framework database.
 * Returns the first matching framework definition, or null.
 *
 * The framework list is evaluated in order — more specific frameworks
 * should be listed before generic ones.
 */
export declare function detectFromDatabase(projectDir: string, pkg: PackageJsonData, frameworkList: FrameworkDefinition[]): Promise<FrameworkDefinition | null>;
//# sourceMappingURL=engine.d.ts.map