gatsby
Version:
Blazing fast modern site generator for React
14 lines (13 loc) • 590 B
TypeScript
import { IErrorRenderMeta } from "./parse-error";
import type { IServerData } from "../get-server-data";
export declare function renderHTML({ path, componentPath, htmlComponentRendererPath, publicDir, isClientOnlyPage, error, directory, serverData, }: {
path: string;
componentPath: string;
htmlComponentRendererPath: string;
publicDir: string;
isClientOnlyPage?: boolean;
error?: IErrorRenderMeta;
directory: string;
serverData?: IServerData["props"];
}): Promise<string>;
export declare function deleteModuleCache(htmlComponentRendererPath: string): void;