import { IAccountBalance, IAddress, INonce } from "./interface"; /** * An abstraction representing an account (user or Smart Contract) on the Network. */ export declare class Account { /** * The address of the account. */ readonly address: IAddress; /** * The nonce of the account (the account sequence number). */ nonce: INonce; /** * The balance of the account. */ balance: IAccountBalance; /** * Creates an account object from an address */ constructor(address: IAddress); /** * Updates account properties (such as nonce, balance). */ update(obj: { nonce: INonce; balance: IAccountBalance; }): void; /** * Increments (locally) the nonce (the account sequence number). */ incrementNonce(): void; /** * Gets then increments (locally) the nonce (the account sequence number). */ getNonceThenIncrement(): INonce; /** * Converts the account to a pretty, plain JavaScript object. */ toJSON(): any; }