import { AccountId, AccountIndex, Address } from '@plugnet/types/interfaces'; import { Observable } from 'rxjs'; import { ApiInterfaceRx } from '@plugnet/api/types'; import { DerivedBalances } from '../types'; /** * @name all * @param {( AccountIndex | AccountId | Address | string )} address - An accounts Id in different formats. * @returns An object containing the combined results of the storage queries for * all relevant fees as declared in the substrate chain spec. * @example *
* * ```javascript * const ALICE = 'F7Hs'; * * api.derive.balances.all(ALICE, ([accountId, lockedBalance]) => { * console.log(`The account ${accountId} has a locked balance ${lockedBalance} units.`); * }); * ``` */ export declare function all(api: ApiInterfaceRx): (address: AccountIndex | AccountId | Address | string) => Observable;