import { AnyRouteMetaData } from './serialize';
export interface HtmlRenderOptions {
/**
* Document title and `
` heading.
* @default "Routes"
*/
title?: string;
}
/**
* Renders a parsed route list as a self-contained HTML document. The output
* has no external dependencies (all CSS is inlined) and renders correctly
* when saved to disk and opened directly in a browser.
*
* @example
* ```ts
* import fs from 'node:fs';
* import { parseExpressApp, renderRoutesAsHtml } from 'express-route-parser';
*
* const html = renderRoutesAsHtml(parseExpressApp(app));
* fs.writeFileSync('routes.html', html);
* ```
*/
export declare const renderRoutesAsHtml: (routes: AnyRouteMetaData[], options?: HtmlRenderOptions) => string;