import { RenderOutput, StructuredData, docviaCollection, docviaSource } from "./runtime.js"; //#region src/internal.d.ts /** A page's frontmatter as indexed up front; `slug` is always present. */ export interface ModuleMeta { slug: string; title?: string; order?: number; headings?: Array<{ depth: number; text: string; id: string; }>; [key: string]: unknown; } export interface ModuleExports { meta: ModuleMeta; content: RenderOutput; manifest: unknown; structuredData?: StructuredData; } export interface CollectionOptions { name: string; baseUrl: string; /** Frontmatter per file, keyed by file path; available synchronously. */ meta: Record; /** Compiled body per file (same keys), loaded on first `getPage()`. */ bodies: Record Promise>; } export declare function createCollection(opts: CollectionOptions): docviaCollection; export declare function createSource>>(collections: TCollections): docviaSource & { collections: TCollections; }; //#endregion //# sourceMappingURL=internal.d.ts.map