import type { Address } from "viem"; import type { IOnchainSDKPlugin } from "../../sdk/index.js"; import { AddressMap, BasePlugin } from "../../sdk/index.js"; 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; }