import type { ExportableKeypair, Keypair } from '@atproto/crypto'; import type { ActorStoreConfig } from '../config/index.js'; import { ActorStoreReader } from './actor-store-reader.js'; import type { ActorStoreResources } from './actor-store-resources.js'; import { ActorStoreTransactor } from './actor-store-transactor.js'; import { ActorStoreWriter } from './actor-store-writer.js'; import { type ActorDb } from './db/index.js'; export declare class ActorStore { cfg: ActorStoreConfig; resources: ActorStoreResources; reservedKeyDir: string; constructor(cfg: ActorStoreConfig, resources: ActorStoreResources); getLocation(did: string): Promise<{ directory: string; dbLocation: string; keyLocation: string; }>; exists(did: string): Promise; keypair(did: string): Promise; openDb(did: string): Promise; read(did: string, fn: (fn: ActorStoreReader) => T | PromiseLike): Promise; transact(did: string, fn: (fn: ActorStoreTransactor) => T | PromiseLike): Promise; writeNoTransaction(did: string, fn: (fn: ActorStoreWriter) => T | PromiseLike): Promise; create(did: string, keypair: ExportableKeypair): Promise; destroy(did: string): Promise; reserveKeypair(did?: string): Promise; getReservedKeypair(signingKeyOrDid: string): Promise; clearReservedKeypair(keyDid: string, did?: string): Promise; storePlcOp(did: string, op: Uint8Array): Promise; getPlcOp(did: string): Promise; clearPlcOp(did: string): Promise; } //# sourceMappingURL=actor-store.d.ts.map