/**
 * Framework Detector - Automatically detect project framework from package.json
 * Inspired by Vercel's deploy script
 */
export interface FrameworkInfo {
    id: string;
    name: string;
    category: 'frontend' | 'backend' | 'fullstack' | 'static' | 'docs';
    runtime?: 'node' | 'bun' | 'deno' | 'browser';
    features?: string[];
}
export declare const FRAMEWORKS: Record<string, FrameworkInfo>;
export interface PackageJson {
    name?: string;
    version?: string;
    dependencies?: Record<string, string>;
    devDependencies?: Record<string, string>;
    scripts?: Record<string, string>;
}
export interface DetectionResult {
    framework: FrameworkInfo | null;
    confidence: 'high' | 'medium' | 'low';
    matchedDep?: string;
    allDetected: string[];
    packageJson?: PackageJson;
    projectType: 'monorepo' | 'single' | 'static' | 'unknown';
}
/**
 * Detect framework from package.json
 */
export declare function detectFramework(projectPath: string): Promise<DetectionResult>;
/**
 * Detect framework from string content (for analysis without file access)
 */
export declare function detectFrameworkFromContent(content: string): DetectionResult;
/**
 * Get recommended rules/agents based on framework
 */
export declare function getFrameworkRecommendations(framework: FrameworkInfo): {
    reviewers: string[];
    rules: string[];
    features: string[];
};
/**
 * Format detection result for display
 */
export declare function formatDetectionResult(result: DetectionResult): string;
/**
 * Quick check if project uses a specific framework
 */
export declare function isFramework(projectPath: string, frameworkId: string): Promise<boolean>;
/**
 * Get all supported frameworks grouped by category
 */
export declare function getSupportedFrameworks(): Record<string, FrameworkInfo[]>;
//# sourceMappingURL=FrameworkDetector.d.ts.map