import { Action } from "near-api-js/lib/transaction"; import { FunctionCallAction } from "./interfaces"; /** * Converts a FunctionCallTransaction to an array of Action. * * @typeParam T - The type of the function call action arguments * @param action - The function call transaction to convert * @returns An array of Action objects */ export declare function convertToAction(action: FunctionCallAction): Action; /** * Converts a structure `T` into `object | Uint8Array` * * @typeParam T - The type of the input structure * @param input - The input structure to convert * @returns The converted result as either an object or Uint8Array * @throws Error if conversion fails */ export declare function convertToCompatibleFormat(input: T): object | Uint8Array;