import type { StorageBackend, StorageOperations, StoredAgentRecord, CursorPage, ReceiptFilter, SpendReservationResult, GatewayCheckpoint, IntegrityReport, CheckpointCallback } from './types.js'; import type { Delegation, RevocationRecord, ActionReceipt } from '../types/passport.js'; import type { ScopedReputation, DemotionEvent } from '../types/reputation-authority.js'; import type { KeyRotationEntry } from '../types/identity.js'; export declare class VolatileBackend implements StorageBackend { private agents; private delegations; private revocations; private receipts; private reputations; private demotions; private keyRotations; private nonces; private spendReservations; private committedSpend; private checkpoints; private checkpointCallbacks; private _initialized; initialize(): Promise; close(): Promise; transaction(fn: (tx: StorageOperations) => Promise): Promise; putAgent(agent: StoredAgentRecord): Promise; getAgent(agentId: string): Promise; listAgents(): Promise; putDelegation(d: Delegation): Promise; getDelegation(id: string): Promise; getDelegationsForAgent(pubKey: string): Promise; reserveSpend(delegationId: string, amount: number, currency: string, ttlSeconds?: number): Promise; commitSpend(reservationId: string): Promise; releaseSpend(reservationId: string): Promise; getSpentAmount(delegationId: string): Promise; private _pendingReserved; appendRevocation(rev: RevocationRecord): Promise; isRevoked(delegationId: string): Promise; getRevocationsBy(revokedBy: string): Promise; appendReceipt(receipt: ActionReceipt): Promise; getReceipt(receiptId: string): Promise; queryReceipts(filter: ReceiptFilter, limit?: number, cursor?: string): Promise>; getReceiptCount(agentId?: string, scope?: string): Promise; tombstoneReceipt(receiptId: string, reason: string): Promise; getReputation(agentId: string, scope: string): Promise; putReputation(rep: ScopedReputation): Promise; appendDemotion(d: DemotionEvent): Promise; getDemotionCount(agentId: string): Promise; getDemotions(agentId: string): Promise; appendKeyRotation(entry: KeyRotationEntry): Promise; getKeyRotations(publicKey: string): Promise; checkAndStoreNonce(requestId: string, ttlSeconds: number): Promise; verifyIntegrity(): Promise; rebuildDerivedState(): Promise; pruneExpired(): Promise<{ nonces: number; reservations: number; }>; createCheckpoint(gatewayId: string, gatewayPrivateKey: string): Promise; getLatestCheckpoint(): Promise; onCheckpoint(callback: CheckpointCallback): void; exportReceipts(filter: ReceiptFilter): Promise<{ receipts: ActionReceipt[]; chainValid: boolean; }>; private _snapshot; private _restore; } //# sourceMappingURL=volatile-backend.d.ts.map