/// import { Program } from "@project-serum/anchor"; import { SendTxRequest } from "@project-serum/anchor/dist/provider"; import { Wallet } from "@project-serum/anchor"; import { PublicKey, Signer, TransactionInstruction } from "@solana/web3.js"; import { Action, PartialNextActionCtx } from "../index"; /** * Create the instructions for adding actions. If the actions array is too large, * split this into multiple transactions * * if skipInTokenCheck is true in the opts, then the in token account will not be added on chain * and the check will be skipped */ export declare const addActionsToConstruction: (program: Program, construction: PublicKey, actions: Action[], authority: Signer | Wallet) => SendTxRequest[]; /** * out of all the transactions associated with the action call, * get the index of the tx which does the actual action call */ export declare const getMainActionTxIndex: (action: Action) => number; export declare const getProcessActionsTx: (program: Program, actionIdxs: number[], construction: PublicKey, actionAccountsCtx: PartialNextActionCtx[], authority: Signer | Wallet, opts: { data?: Buffer; tokenAuthority?: Signer | Wallet; instructions?: TransactionInstruction[]; additionalSigners?: Signer[]; preActionTxs?: SendTxRequest[]; }[]) => SendTxRequest[];