export interface RepeatMistake {
    pattern: string;
    count: number;
    files: string[];
    dates: string[];
    category: 'syntax' | 'logic' | 'async' | 'null' | 'type' | 'security' | 'import' | 'unknown';
    stillHappening: boolean;
    lastOccurrence: string;
}
export interface BlindSpot {
    area: string;
    severity: 'high' | 'medium' | 'low';
    files: string[];
    fileCount: number;
    description: string;
    fix: string;
}
export interface ProblemSolvingStyle {
    functionSizes: {
        small: number;
        medium: number;
        large: number;
        xlarge: number;
    };
    fileOrganization: 'many-small-files' | 'few-large-files' | 'balanced';
    comments: {
        filesWithJSDoc: number;
        total: number;
        ratio: number;
    };
    namingStyle: 'descriptive' | 'terse' | 'mixed';
    decompositionStyle: 'top-down' | 'bottom-up' | 'both';
}
export interface TimePattern {
    bestHours: string;
    mostProductiveDay: string;
    averageSessionMinutes: number;
    bugIntroductionTimes: string[];
    commitCountByDay: Record<string, number>;
    commitCountByHour: Record<number, number>;
}
export interface BugRecord {
    date: string;
    file: string;
    message: string;
    category: string;
    fixCommitDate: string;
    hoursToFix: number;
    wasReverted: boolean;
}
export interface DecisionRecord {
    date: string;
    type: 'add' | 'remove' | 'migrate' | 'refactor';
    from?: string;
    to?: string;
    message: string;
    affected: string[];
}
export interface TechMastery {
    language: string;
    fileCount: number;
    lineCount: number;
    errorProneFiles: number;
    cleanFiles: number;
    firstUsed: string;
    lastUsed: string;
    assessment: 'mastered' | 'proficient' | 'learning' | 'new';
}
export interface IntelligenceReport {
    mistakes: RepeatMistake[];
    blindSpots: BlindSpot[];
    problemSolving: ProblemSolvingStyle;
    timePatterns: TimePattern;
    bugHistory: BugRecord[];
    decisions: DecisionRecord[];
    techMastery: TechMastery[];
    generatedAt: string;
    projectCount: number;
    totalFiles: number;
}
export declare function detectRepeatMistakes(rootDir: string): RepeatMistake[];
export declare function detectBlindSpots(rootDir: string): BlindSpot[];
export declare function detectProblemSolvingStyle(rootDir: string): ProblemSolvingStyle;
export declare function detectTimePatterns(rootDir: string): TimePattern;
export declare function detectBugHistory(rootDir: string): BugRecord[];
export declare function detectDecisions(rootDir: string): DecisionRecord[];
export declare function detectTechMastery(rootDir: string): TechMastery[];
export declare function buildIntelligenceReport(rootDir: string): IntelligenceReport;
export declare function saveIntelligenceReport(report: IntelligenceReport): string;
//# sourceMappingURL=behavior-intelligence.d.ts.map