import { ModelDefinition } from '@graphback/core'; import { Db } from "mongodb"; export declare function getDeltaTableName(tableName: string): string; /** * Provides the ability to insert delta snapshots into MongoDB collections * and get base for conflict resolution */ export declare class MongoDeltaSource { protected db: Db; protected collectionName: string; protected deltaTTL: number; constructor(model: ModelDefinition, db: Db, deltaTTL: number); insertDiff(updatedDocument: Type): Promise; findBaseForConflicts(updateDocument: any): Promise; } //# sourceMappingURL=deltaSource.d.ts.map