import http from 'node:http'; type Opener = (filePath: string) => void | Promise; interface RenderOptions { bomJson: string; binDir: string; } declare function render(options: RenderOptions): string; interface RunOptions { bomJson: string; binDir: string; outputPath?: string; view: boolean; opener?: Opener; } declare function run(options: RunOptions): string; declare const PLACEHOLDER_TOKEN = "{{{PLACEHOLDER_JSON_TOKEN}}}"; declare function injectBomIntoHtml(htmlTemplate: string, bomJson: string): string; interface ServeOptions { filePath?: string; html?: string; port?: number; host?: string; } declare function serve(options: ServeOptions): Promise; export { PLACEHOLDER_TOKEN, injectBomIntoHtml, render, run, serve };