import type { Context } from '../context.js'; export declare namespace ErrorResponseUtil { /** * Ends the response of a failed request with `status` and `body` (and `contentType` when given). * A response the handler had already started is only ended; an ended one is left alone. */ function end(ctx: Context, status: number, body: string, contentType?: string): void; }