import type { RouteHandler } from "../types.js";
/**
 * If a route throws an error while handling a request, this handler
 * will be called and given a chance to provide a response.
 *
 * @param handler A callback function that returns a promise resulting in a response.
 * @deprecated
 */
export declare const setCatchHandler: (handler: RouteHandler) => void;
//# sourceMappingURL=setCatchHandler.d.ts.map