import { DatabaseType, IDatabaseCollection } from "@js-soft/docdb-access-abstractions"; import { CoreSynchronizable, ICoreSynchronizable } from "../../core/CoreSynchronizable"; export declare class SynchronizedCollection implements IDatabaseCollection { private readonly parent; private readonly datawalletVersion; private readonly datawalletModifications?; readonly name: string; readonly databaseType: DatabaseType; constructor(parent: IDatabaseCollection, datawalletVersion: number, datawalletModifications?: IDatabaseCollection | undefined); create(newObject: CoreSynchronizable): Promise; read(id: string): Promise; patch(oldDoc: any, newObject: CoreSynchronizable): Promise; update(oldDoc: any, newObject: CoreSynchronizable): Promise; private createDatawalletModificationForUpdatedObject; delete(object: CoreSynchronizable | ICoreSynchronizable): Promise; list(): Promise; find(query?: any): Promise; count(query?: any): Promise; exists(query?: any): Promise; findOne(object?: any): Promise; } //# sourceMappingURL=SynchronizedCollection.d.ts.map