import type { Driver } from 'iso-kv'; import type { CID } from 'multiformats'; import { KV } from 'iso-kv'; import { Delegation } from './delegation.js'; import type { StoreProofsOptions } from './types.js'; /** * Store */ export declare class Store { #private; driver: Driver; kv: KV; constructor(driver: Driver); add(delegations: Delegation[]): Promise; /** * Get a delegation by cid */ get(cid: string): Promise; /** * Resolve a proof by CID */ resolveProof(cid: CID): Promise; /** * List proofs by sub and aud */ proofs(options: Omit): AsyncGenerator; /** * Resolve a single chain of proofs ending with a root (subject === issuer). * Returns the first such chain found (depth-first). */ chain({ aud, sub, cmd, args }: StoreProofsOptions): Promise; } //# sourceMappingURL=store.d.ts.map