import type { Config as Appcfg } from 'appcfg/Config'; import { IAccount } from "./models/TAccount"; import { TAddress } from './models/TAddress'; import { TPlatform } from './models/TPlatform'; import { TEth } from './models/TEth'; export declare class ChainAccountService { private storeConfig; private storeFs; private storeCustom; private writable; constructor(params?: { store?: IAccountsStore; writable?: 'config' | 'fs' | 'custom'; config?: InstanceType; }); get(key: TEth.Hex | TAddress): Promise; get(mnemonic: string, params?: { index?: number; path?: string; }): Promise; get(ns: string, params?: { platform?: TPlatform; }): Promise; get(name: string, params?: { platform?: TPlatform; }): Promise; get(address: TAddress, params?: { platform?: TPlatform; }): Promise; get(mix: string | TEth.Hex | TAddress, params?: { platform?: TPlatform; index?: number; path?: string; }): Promise; static get(name: string, params?: { platform?: TPlatform; store?: IAccountsStore; writable?: 'config' | 'fs' | 'custom'; config?: Appcfg; }): Promise; getAll(): Promise; create(opts: { name: string; platform?: TPlatform; }): Promise; createMany(names: string[], platform: TPlatform): Promise; private getWritableStore; } export interface IAccountsStore { get(name: string): Promise; get(address: TAddress): Promise; getAll(): Promise; save(account: IAccount): Promise; saveMany(accounts: IAccount[]): Promise; }