import { AbstractMongoView } from './AbstractMongoView.ts'; import type { IObjectStorage, IEventLocker, Identifier } from '../interfaces/index.ts'; /** * MongoDB-backed object view with restore locking and last-processed-event tracking */ export declare class MongoObjectView extends AbstractMongoView implements IObjectStorage, IEventLocker { #private; constructor(options: ConstructorParameters[0] & { tableNamePrefix: string; }); get(id: Identifier): Promise; create(id: Identifier, data: TRecord): Promise; update(id: Identifier, update: (r: TRecord) => TRecord): Promise; updateEnforcingNew(id: Identifier, update: (r?: TRecord) => TRecord): Promise; delete(id: Identifier): Promise; }