import type { AuditFinding } from '../../types/index.js';
/**
 * OWASP A10:2025 — Mishandling of Exceptional Conditions.
 * Detects: swallowed exceptions, exposed stack traces, unchecked return values,
 * and missing timeouts on async operations.
 * Returns a list of human-readable issue descriptions (not AuditFinding objects)
 * so this function can be used standalone without a file context.
 */
export declare function checkOwaspA10Conditions(content: string): string[];
export declare function checkErrorHandling(file: string, content: string, lines: string[], ext: string): AuditFinding[];
//# sourceMappingURL=error-checks.d.ts.map