interface WebErrorViewInput { status: number; title: string; message: string; request?: Request; errors?: Record; } interface WebErrorViewOptions { render?: (input: WebErrorViewInput) => Promise | string; } declare function configureWebErrorView(options: WebErrorViewOptions): void; declare function resetWebErrorViewForTests(): void; declare function renderKernelErrorChrome(input: WebErrorViewInput): string; declare function errorTemplateName(status: number): string; declare function renderWebErrorHtml(input: WebErrorViewInput): Promise; declare function htmlErrorResponse(input: WebErrorViewInput & { status: number; }): Promise; declare function notFoundHtmlResponse(body?: string): Promise; export type { WebErrorViewInput, WebErrorViewOptions }; export { configureWebErrorView, errorTemplateName, htmlErrorResponse, notFoundHtmlResponse, renderKernelErrorChrome, renderWebErrorHtml, resetWebErrorViewForTests, };