import { ApiPromise } from "@polkadot/api"; import { UUID } from "./UUID.js"; import { Adapters } from "./Adapters.js"; import { LegalOfficerCase, VerifiedIssuerType } from "./Types.js"; /** * Batches queries on LOCs and their associated Verified Issuers. Query results are cached. * The object must be re-created in order to get fresh data. */ export declare class LocBatch { constructor(args: { /** Polkadot API */ api: ApiPromise; /** logion adapters */ adapters: Adapters; /** The IDs of the LOCs to consider */ locIds: UUID[]; /** DEPRECATED - a map of already fetched LOCs used to initialize the cache */ locs?: Record; /** DEPRECATED - a map of already fetched verified issuers per legal officer used to initialize the cache */ availableVerifiedIssuers?: Record; }); private api; private adapters; private locIds; getLocsVerifiedIssuers(): Promise>; private locsVerifiedIssuers; private computeLocsVerifiedIssuers; getAvailableVerifiedIssuers(): Promise>; private availableVerifiedIssuers; private computeAvailableVerifiedIssuersMap; getLocs(): Promise>; private locs; private computeLocs; private computeLocsArray; }