/** * MongoDB collection name and index definition for the validation table. * * Call `createValidationTableIndexes(db)` once during application startup. * The function is idempotent — MongoDB silently skips indexes that already exist. */ import type { Db } from "mongodb"; export declare const VALIDATION_TABLE_COLLECTION: "build_validation_table"; export type ValidationTableCollectionName = typeof VALIDATION_TABLE_COLLECTION; /** * Creates the required index on `build_validation_table`. * The unique compound index on `domain + version` ensures at most one * validation table document exists per build. */ export declare function createValidationTableIndexes(db: Db): Promise; //# sourceMappingURL=collections.d.ts.map