/**
 * Project Style Learning (Item 103)
 * Learns and adapts to project-specific coding style
 */
import { EventEmitter } from 'events';
export interface StylePattern {
    category: 'naming' | 'formatting' | 'structure' | 'comments' | 'imports';
    pattern: string;
    examples: string[];
    frequency: number;
}
export interface ProjectStyle {
    projectPath: string;
    patterns: StylePattern[];
    preferences: Map<string, string>;
    analyzedFiles: number;
    lastAnalyzed: Date;
}
export declare class ProjectStyleLearner extends EventEmitter {
    private styles;
    analyzeProject(projectPath: string): Promise<ProjectStyle>;
    private findSourceFiles;
    private extractPatterns;
    getStyle(projectPath: string): ProjectStyle | undefined;
    generateStyleGuide(projectPath: string): string;
    applyStyleToCode(code: string, projectPath: string): string;
}
export declare function getProjectStyleLearner(): ProjectStyleLearner;
export default ProjectStyleLearner;
