import type { MiddlewareHandler } from "./types.js"; /** * Error handler middleware * Catches errors from the pipeline and converts them to HTTP responses */ export declare function errorHandler(): MiddlewareHandler;