import { Models, Interfaces } from '@open-rights-exchange/chain-js'; import { AlgorandAccountStruct, AlgorandAddress, AlgorandPublicKey } from './models'; import { AlgorandChainState } from './algoChainState'; export declare class AlgorandAccount implements Interfaces.Account { private _account; private _publicKey; private _chainState; constructor(chainState: AlgorandChainState); /** Whether the account is currently unused and can be reused - possible in Algorand due to the "rekeying" feature */ get canBeRecycled(): boolean; /** Algorand address */ get name(): any; /** Public Key(s) associated with the account */ get publicKeys(): any; /** account resources not supported by algorand chains */ get resources(): Models.AccountResources; /** Whether the account name can be used for new account */ isValidNewAccountName: (accountName: string | AlgorandAddress) => Promise; /** Sets the Algorand address */ load: (address?: AlgorandAddress) => Promise; /** Sets the algorand public key and account */ setPublicKey: (publicKey: AlgorandPublicKey) => Promise; /** An algorand account is registered/active on the chain if the account has a minimum balance of 100,000 microalgos */ get supportsOnChainAccountRegistry(): boolean; /** In future once the algorand rekeying feature is released, accounts would be recycled by changing the spending key on the account */ get supportsRecycling(): boolean; /** JSON representation of address */ toJson(): AlgorandAccountStruct; /** Returns the address */ get value(): AlgorandAccountStruct; private assertHasAccount; private assertValidAlgorandAddress; private assertValidAlgorandPublickey; }