import type { Stats } from "node:fs"; import type { PageMeta, SectionConfig } from "../lib/types.js"; import { SecureSourceFs } from "./secure-source-fs.js"; export interface MdxSourceSnapshot { content: string; stat: Stats; } export interface MdxPassSnapshot { files: string[]; pages: PageMeta[]; sources: ReadonlyMap; sections: SectionConfig[] | null; } interface MdxPassBuilderOptions { sourceFs: SecureSourceFs; getAllMdxFiles(): Promise; getSections(): SectionConfig[] | null; loadSectionsConfig(): Promise; withApiReferenceSection(sections: SectionConfig[] | null): SectionConfig[] | null; determineSectionForFile(filePath: string, frontmatter: Record, sections: SectionConfig[] | null): { sectionSlug: string; pageSlug: string; }; resolveHttpMethod(reference: string): string | undefined; } export declare class MdxPassBuilder { private readonly options; constructor(options: MdxPassBuilderOptions); capture(files?: string[], seededSources?: ReadonlyMap, refreshSections?: boolean): Promise; } export {};