export interface PageRenderResult { html: string; frontmatter: Record; headings?: Array<{ depth: number; text: string; id?: string; }>; } export interface PageRendererLike { renderPage: (slug: string) => Promise; } export interface APIServerOptions { renderer: PageRendererLike; } export declare class APIServer { private options; constructor(options: APIServerOptions); handleRequest(pathname: string): Promise; } //# sourceMappingURL=api-server.d.ts.map