/** * Processes and handles errors that occur during route execution * @param error - The unknown error to be processed * @returns {Object} An object containing: * - message: The error message * - status: HTTP status code (500 for unhandled errors, or specific status for BaseHttpError) * * @example * ```typescript * try { * // Some route logic * } catch (error) { * const handled = handleRouteError(error); * // handled = { message: "Error message", status: 500 } * } * ``` */ export declare const handleRouteError: (error: unknown) => { message: any; status: any; };