import { ErrorCode, ErrorContext } from './error-types.util.js'; /** * Detect specific error types from raw errors * @param error The error to analyze * @param context Context information for better error detection * @returns Object containing the error code and status code */ export declare function detectErrorType(error: unknown, context?: ErrorContext): { code: ErrorCode; statusCode: number; };