import type { AssetInfo, Balance, BalanceOptions } from "@ledgerhq/coin-module-framework/api/index"; import type { NearContext } from "../config"; export declare const NATIVE_ASSET: AssetInfo; /** * Native balance plus one entry per staking position. * * The native entry comes first on purpose: the generic coin-framework picks the account balance * from the *first* native entry, and the staking entries are also native. * * Its value is the account total, delegated buckets included, which is what the account bridge * reports as the account balance. `locked` is the non-spendable part of it: the staked, pending * and withdrawable buckets plus the storage deposit and minimum-balance buffer, capped at the * value so it can never claim more is locked than the account holds. `value - locked` then * reproduces the account bridge's spendable balance, which floors at zero. This mirrors * coin-tezos, which likewise reports the total as `value` and the frozen part as `locked`. * * `knownValidatorIds` and `listValidators` are passed to the staking positions read: the pools the * caller knows are read from the node when the listing fails or is skipped. */ export declare function getBalance(context: NearContext, address: string, options?: Pick): Promise; //# sourceMappingURL=getBalance.d.ts.map