import type { IRequest } from '../Request';
type ErrorTemplateName = '404' | '500';
type RenderInput = {
    statusCode: number;
    errorName: string;
    errorMessage: string;
    requestPath: string;
    stackPretty?: string;
    stackRaw?: string;
    requestPretty?: string;
    requestRaw?: string;
};
type TemplateStore = Partial<Record<ErrorTemplateName, string>>;
export declare const ErrorPageRenderer: Readonly<{
    setTemplates(templates: TemplateStore): void;
    shouldSendHtml(request: IRequest): boolean;
    renderHtml(publicRoot: string, input: RenderInput): string | undefined;
    renderHtmlAsync(publicRoot: string, input: RenderInput): Promise<string | undefined>;
}>;
export {};
//# sourceMappingURL=ErrorPageRenderer.d.ts.map