import BN from 'bn.js'; import { TransactionType, TransactionExplanation as BaseTransactionExplanation } from '@bitgo-beta/sdk-core'; export interface TransactionExplanation extends BaseTransactionExplanation { type: TransactionType; } export declare enum KeyType { ED25519 = 0 } export interface Signature { keyType: KeyType; data: Uint8Array; } export interface Transfer { deposit: BN; } /** Interface with parameters needed to perform FunctionCall to a contract */ export interface FunctionCall { methodName: string; args: Record; gas: string; deposit: string; } /** * Actions implemented on Near account-lib * add here as more are implemented. */ export interface Action { transfer?: Transfer; functionCall?: FunctionCall; } export interface TxData { id?: string; signerId: string; publicKey: string; nonce: number; receiverId: string; actions: Action[]; signature?: Signature; } //# sourceMappingURL=iface.d.ts.map