export interface DecisionOutcome {
    id: number;
    project: string;
    technology: string;
    reason: string;
    outcome: string;
    wasRight: boolean;
    confidence: number;
    context: string;
    createdAt: string;
}
export interface DecisionPattern {
    technology: string;
    timesChosen: number;
    timesRight: number;
    timesWrong: number;
    regretRate: number;
    advice: string;
}
export interface RepeatMistake {
    errorType: string;
    filePattern: string;
    count: number;
    lastSeen: string;
    severity: 'critical' | 'warning' | 'info';
    suggestion: string;
}
export interface AIInteractionStats {
    modelName: string;
    totalInteractions: number;
    accepted: number;
    rejected: number;
    acceptanceRate: number;
    avgIterations: number;
    bestUseCases: string[];
    worstUseCases: string[];
    recommendation: string;
}
export interface ProductivitySignal {
    signalType: 'flow' | 'friction' | 'context_switch' | 'long_session';
    durationMinutes: number;
    filesTouched: number;
    contextSwitches: number;
    flowScore: number;
    frictionScore: number;
    recommendation: string;
    createdAt: string;
}
export interface SkillProgress {
    technology: string;
    errorsLast30d: number;
    errorsLast90d: number;
    trend: 'improving' | 'stable' | 'regressing';
    proficiency: number;
    plateau: boolean;
    advice: string;
}
export interface BurnoutSignals {
    risk: 'high' | 'medium' | 'low';
    signals: string[];
    avgSessionLength: number;
    sessionFrequency: number;
    contextSwitchRate: number;
    advice: string;
}
export interface UsageDashboard {
    decisions: {
        total: number;
        right: number;
        wrong: number;
        topPatterns: DecisionPattern[];
    };
    mistakes: {
        total: number;
        critical: number;
        top: RepeatMistake[];
    };
    ai: {
        modelsUsed: number;
        avgAcceptance: number;
        topModel: string;
    };
    productivity: {
        flowScore: number;
        frictionScore: number;
        sessionsToday: number;
    };
    skills: {
        improving: number;
        plateau: number;
        regressing: number;
    };
    burnout: BurnoutSignals;
    generatedAt: string;
}
export declare function logDecisionOutcome(params: {
    project: string;
    technology: string;
    reason: string;
    outcome: string;
    wasRight: boolean;
    confidence?: number;
    context?: string;
}): {
    id: number;
};
export declare function getDecisionOutcomes(project: string, limit?: number): DecisionOutcome[];
export declare function getDecisionPatterns(project: string): DecisionPattern[];
export declare function detectRepeatMistakes(project: string): RepeatMistake[];
export declare function getAIInteractionStats(project: string): AIInteractionStats[];
export declare function logProductivitySignal(params: {
    project: string;
    signalType: 'flow' | 'friction' | 'context_switch' | 'long_session';
    durationMinutes: number;
    filesTouched: number;
    contextSwitches: number;
}): {
    id: number;
    flowScore: number;
    frictionScore: number;
};
export declare function getProductivitySignals(project: string, days?: number): ProductivitySignal[];
export declare function getSkillProgression(project: string): SkillProgress[];
export declare function getBurnoutSignals(project: string): BurnoutSignals;
export declare function getUsageDashboard(project: string): UsageDashboard;
//# sourceMappingURL=usage-intelligence-store.d.ts.map