import { AddressMap } from "../../onchain/utils/AddressMap.js"; import { BasePlugin } from "../../onchain/plugins/BasePlugin.js"; import { IOnchainSDKPlugin } from "../../onchain/plugins/types.js"; import "../../onchain/index.js"; import { Address } from "viem"; //#region src/plugins/accounts-counter/AccountsCounterPlugin.d.ts export interface AccountsCounterPluginState { /** * Mapping of credit manager addresses to the number of accounts */ accounts: Record; } export declare class AccountsCounterPlugin extends BasePlugin implements IOnchainSDKPlugin { #private; constructor(loadOnAttach?: boolean); get accounts(): AddressMap; get loaded(): boolean; forCreditManager(addr: Address): bigint; load(force?: boolean): Promise; get state(): AccountsCounterPluginState; hydrate(state: AccountsCounterPluginState): void; } //#endregion