import BN from 'bn.js'; import { Action } from './transaction'; import { FinalExecutionOutcome } from './providers'; import { Connection } from './connection'; import { PublicKey } from './utils/key_pair'; export interface AccountState { account_id: string; amount: string; staked: string; code_hash: string; } export declare class Account { readonly connection: Connection; readonly accountId: string; private _state; private _ready; protected get ready(): Promise; constructor(connection: Connection, accountId: string); fetchState(): Promise; state(): Promise; private printLogs; private retryTxResult; protected signAndSendTransaction(receiverId: string, actions: Action[]): Promise; private findAccessKey; createAndDeployContract(contractId: string, publicKey: string | PublicKey, data: Uint8Array, amount: BN): Promise; sendMoney(receiverId: string, amount: BN): Promise; createAccount(newAccountId: string, publicKey: string | PublicKey, amount: BN): Promise; deleteAccount(beneficiaryId: string): Promise; deployContract(data: Uint8Array): Promise; functionCall(contractId: string, methodName: string, args: any, gas?: BN, amount?: BN): Promise; addKey(publicKey: string | PublicKey, contractId?: string, methodName?: string, amount?: BN): Promise; deleteKey(publicKey: string | PublicKey): Promise; stake(publicKey: string | PublicKey, amount: BN): Promise; private validateArgs; viewFunction(contractId: string, methodName: string, args: any): Promise; getAccessKeys(): Promise; getAccountDetails(): Promise; }