import type { ReactNode } from 'react'; import type { ConfigDev, ConfigPrd } from '../config.js'; import type { HandlerContext, ErrorCallback } from '../middleware/types.js'; type Elements = Record; export declare function renderHtml(config: ConfigDev | ConfigPrd, ctx: Pick, htmlHead: string, elements: Elements, onError: Set, html: ReactNode, rscPath: string, actionResult?: unknown): Promise; }>; export {};