import { Pattern } from '../../../types';
export interface Convention {
    id: string;
    type: 'naming' | 'formatting' | 'structure' | 'pattern' | 'import_style' | 'error_handling';
    name: string;
    description: string;
    confidence: number;
    evidenceCount: number;
    examples: Array<{
        from: string;
        to: string;
    }>;
    category: string;
    severity: 'adopted' | 'emerging' | 'inconsistent';
}
export interface ConventionReport {
    projectId: string;
    conventions: Convention[];
    inconsistencies: Array<{
        a: string;
        b: string;
        description: string;
        patterns: string[];
    }>;
    dominantStyle: string;
    generatedAt: number;
}
export declare function detectConventions(projectId: string, patterns: Pattern[]): ConventionReport;
export declare function ensureConventionTable(): void;
export declare function recordCloudConvention(projectId: string, category: string, convention: string): void;
export declare function getCloudConventions(projectId: string): Array<{
    category: string;
    convention: string;
    count: number;
}>;
export declare function getCloudConventionStats(): object;
//# sourceMappingURL=convention-detector.d.ts.map