/**
 * Console Errors
 *
 * Parses console errors from E2E test output.
 *
 * @module core/auto/e2e-coverage/console-errors
 * @since v1.0.115
 */
import type { ConsoleErrorResult } from './types.js';
/**
 * Parse console errors from E2E test output
 *
 * Looks for patterns like:
 * - "console.error: ..."
 * - "Uncaught Error: ..."
 * - "Error: ..." in page console
 *
 * @param output - Test output (stdout/stderr combined)
 * @param excludePatterns - Patterns to exclude (expected errors)
 * @returns Parsed console errors
 */
export declare function parseConsoleErrors(output: string, excludePatterns?: RegExp[]): ConsoleErrorResult;
/**
 * Check if console errors should block completion
 *
 * @param result - Console error parsing result
 * @param config - Configuration
 * @returns Whether to block and reason
 */
export declare function shouldBlockOnConsoleErrors(result: ConsoleErrorResult, config?: {
    blockOnErrors?: boolean;
    blockOnUncaught?: boolean;
    maxErrors?: number;
}): {
    block: boolean;
    reason: string;
};
//# sourceMappingURL=console-errors.d.ts.map