import type { OperationDescriptor } from "../lib/openapi-types.js"; import type { MDXFile } from "../lib/types.js"; export type RssRouteState = { action: "write"; content: string; } | { action: "remove"; } | { action: "preserve"; }; export interface RenderedPage { pageContent: string; rssRoute: RssRouteState; } export interface HomepageSource { content: string; title: string; description: string; icon?: string; image?: string; name?: string; date?: string; updated?: string; openapi?: string; rss?: boolean; } export declare function renderMdxPage(mdxFile: MDXFile, options?: { apiOperation?: OperationDescriptor; }): RenderedPage; export declare function renderHomepage(indexMDX: HomepageSource | null, apiOperation?: OperationDescriptor): RenderedPage; export declare function renderSectionPage(sectionSlug: string, frontmatter: Record, mdxContent: string, sourcePath?: string): RenderedPage;