export type CrashSeverity = 'CRITICAL' | 'HIGH' | 'MEDIUM';
export interface CrashRisk {
    file: string;
    line: number;
    column?: number;
    pattern: string;
    severity: CrashSeverity;
    description: string;
    suggestedFix: string;
    autoFixable: boolean;
}
export interface SafetyReport {
    score: number;
    risks: CrashRisk[];
    scannedFiles: number;
    detectedStack: string[];
    scanDurationMs: number;
}
export interface CrashDetector {
    language: string;
    frameworks?: string[];
    fileExtensions: string[];
    detect(filePath: string, content: string): CrashRisk[];
}
export interface CrashShieldConfig {
    projectId: string;
    enabledLanguages?: string[];
    disabledPatterns?: string[];
    minSeverity?: CrashSeverity;
    customPatterns?: CustomCrashPattern[];
    warnThreshold?: number;
}
export interface CustomCrashPattern {
    id: string;
    language: string;
    pattern: string;
    severity: CrashSeverity;
    description: string;
    suggestedFix: string;
    autoFixable: boolean;
}
export interface CrashFixResult {
    file: string;
    applied: number;
    diff: string;
}
//# sourceMappingURL=safety-scanner.d.ts.map