import "./_dnt.polyfills.js"; import type { ServerChild } from './server-html.js'; export interface StaticPage { /** Root-relative route, e.g. / or /guide/getting-started/. */ path: string; title: string; /** Called once at build time. May return async server content. */ render: () => ServerChild; head?: ServerChild; lang?: string; /** URL of a bundled classic script that installs radi/resume. */ bootstrap?: string; } export type StaticWriter = (path: string, html: string) => void | Promise; /** Generate one document at a time. The caller owns storage and asset bundling. */ export declare function generateStaticSite(pages: readonly StaticPage[], write: StaticWriter): Promise;