import type { NixTemplate } from "@deijose/nix-js"; /** * Renders a Nix.js template to an HTML string in Node. * * Accepts a *factory* (not a template) because `html`` evaluates at call time. * * @param factory Thunk that builds the template, e.g. `() => Page({ data })`. * @returns Serialized HTML of the rendered template. */ export declare function renderToString(factory: () => NixTemplate, options?: { markers?: "none" | "hydration"; }): Promise;