import { Context } from "hono";

//#region src/middleware/errorHandler.d.ts

/**
 * Global error handler for the Hono application
 * Handles Zod validation errors, HTTP exceptions, and unexpected errors
 * Returns RFC 7807 Problem Details format
 */
declare function errorHandler(err: Error, c: Context): Promise<Response>;
//#endregion
export { errorHandler };