/// import type { SuggestedParams, Transaction } from "algosdk"; import { Op } from "../interpreter/opcode"; import { ExecParams, StackElem, TxField, Txn } from "../types"; export declare function parseToStackElem(a: unknown, field: TxField): StackElem; /** * Description: returns specific transaction field value from tx object * @param txField: transaction field * @param tx Current transaction * @param txns Transaction group * @param tealVersion version of TEAL */ export declare function txnSpecbyField(txField: string, tx: Txn, gtxns: Txn[], tealVersion: number): StackElem; /** * Returns specific transaction field value from array * of accounts or application args * @param tx current transaction * @param txField transaction field * @param idx array index * @param op Op object * @param tealVersion version of TEAL * @param line line number in TEAL file */ export declare function txAppArg(txField: TxField, tx: Txn, idx: number, op: Op, tealVersion: number, line: number): Uint8Array; export declare function encodeNote(note: string | undefined, noteb64: string | undefined): Uint8Array | undefined; /** * Returns unsigned transaction as per ExecParams * ExecParams can be of following types: * + AlgoTransferParam used for transferring algo * + AssetTransferParam used for transferring asset * + SSCCallsParam used for calling stateful smart contracts. For more advanced use-cases, please use `algosdk.tx` directly. NOTE: parseSSCAppArgs is used to handle case when user passes appArgs similar to goal * @param execParams ExecParams * @param suggestedParams Suggested params * @returns SDK Transaction object */ export declare function mkTransaction(execParams: ExecParams, suggestedParams: SuggestedParams): Transaction;