import { PersistenceDocumentDb } from './interfaces.js'; import { Context } from '../context/context.js'; import { ObjectIdentifier } from '@verdant-web/common'; export declare class PersistenceDocuments { private db; private ctx; constructor(db: PersistenceDocumentDb, ctx: Omit); reset: () => Promise; close: () => Promise; saveEntities: (entities: { oid: ObjectIdentifier; getSnapshot: () => any; }[], options?: { abort?: AbortSignal; }) => Promise; findOneOid: (opts: { collection: string; index?: import("@verdant-web/common").CollectionFilter; }) => Promise; findAllOids: (opts: { collection: string; index?: import("@verdant-web/common").CollectionFilter; limit?: number; offset?: number; }) => Promise<{ result: ObjectIdentifier[]; hasNextPage: boolean; }>; stats: () => Promise>; }