import { CreditAccountData } from "../../onchain/base/types.js"; import { BasePlugin } from "../../onchain/plugins/BasePlugin.js"; import { IOnchainSDKPlugin } from "../../onchain/plugins/types.js"; import { GetCreditAccountsOptions } from "../../onchain/accounts/credit-account-compressor/types.js"; import "../../onchain/index.js"; import { Address } from "viem"; //#region src/plugins/accounts/AccountsPlugin.d.ts export interface AccountsPluginState { /** * All credit accounts */ accounts: CreditAccountData[]; } export declare class AccountsPlugin extends BasePlugin implements IOnchainSDKPlugin { #private; constructor(options?: GetCreditAccountsOptions, loadOnAttach?: boolean); get accounts(): CreditAccountData[]; get loaded(): boolean; byCreditManager(creditManager: Address): CreditAccountData[]; byPool(pool: Address): CreditAccountData[]; load(force?: boolean): Promise; get state(): AccountsPluginState; hydrate(state: AccountsPluginState): void; } //#endregion