import { BaseRule, FileContent, SecurityIssue } from '../types';
export declare class InsecureErrorHandlingRule extends BaseRule {
    readonly name = "insecure-error-handling";
    readonly description = "Detects information disclosure in error handling and stack traces with context-aware analysis";
    readonly severity: "medium";
    private readonly errorPatterns;
    private readonly safeErrorPatterns;
    check(fileContent: FileContent): SecurityIssue[];
    private analyzeContext;
    private isSafeContext;
    private calculateConfidence;
    private calculateSeverity;
    private detectLanguage;
    private detectFramework;
    private hasErrorHandling;
    private hasSanitization;
    private isInComment;
    private isInTestFile;
    private isInDocumentation;
    private isInDevelopment;
    private isFalsePositive;
    private validateStackTraceExposure;
    private validateStackTraceResponse;
    private validateDatabaseErrorExposure;
    private validateDatabaseSpecificError;
    private validateFileSystemErrorExposure;
    private validateNetworkErrorExposure;
    private validateDetailedErrorExposure;
    private validateErrorObjectLogging;
    private validatePHPErrorLogging;
    private validatePHPDebugOutput;
    private validatePythonErrorLogging;
    private validatePythonErrorPrinting;
    private validateJavaErrorLogging;
    private validateJavaErrorPrinting;
    private validateRailsErrorLogging;
    private validateSpringErrorLogging;
    private validateDjangoErrorLogging;
    private validateDetailedErrorResponse;
    private validateErrorResponseSending;
    private validateErrorTemplateRendering;
    private generateSuggestion;
}
//# sourceMappingURL=insecure-error-handling.d.ts.map