import "../_dnt.polyfills.js"; import { CacheBase } from "../util/cache/base.js"; export declare function code(cache: CacheBase, request: Request, genCode: () => Promise): Promise; export declare function redirect(path: string): Promise; export declare function notFound(): Response; export declare function badRequest(): Response; export declare function serverError(message?: string): Response; export declare function html(html: string): Response; export declare function acceptsHtml(request: Request): boolean; export declare function renderCode(code: string): Promise;