import type { AgentActionEvent, RiskLevel } from './schemas.js';
export interface RiskAssessment {
    riskLevel: RiskLevel;
    score: number;
    factors: string[];
    reasoning: string;
    blocked?: boolean;
}
export interface ClassificationContext {
    recentDeleteCount?: number;
}
export interface CustomRiskRule {
    actionType: string;
    targetPattern?: string;
    riskLevel: RiskLevel;
    condition?: string;
}
export declare class RiskClassifier {
    private readonly customRules;
    constructor(customRules?: CustomRiskRule[]);
    classify(action: AgentActionEvent, context?: ClassificationContext): RiskAssessment;
    private sanitizeAction;
    private evaluateCustomRules;
    private evaluateDefaultRules;
    private classifyFileWrite;
    private classifyFileDelete;
    private classifyBashExec;
    private classifyGitPush;
    private classifySkillGenerate;
    private classifyConfigModify;
    private classifyDependencyInstall;
    private classifyExternalApiCall;
    private makeAssessment;
}
//# sourceMappingURL=RiskClassifier.d.ts.map