import { BuildResult, CollectionArray, CollectionObjectType } from "../types.js"; export declare class RootDocument { #private; constructor(database: string | undefined, collections: COLLECTIONS); get path(): string; _build(): BuildResult; toString(): string; } export declare function rootDocument(database: string | undefined, collections: COLLECTIONS): RootDocument; export type Infer = ROOT extends RootDocument ? { collections: CollectionObjectType; c: CollectionObjectType; } : never;