import type { TransactionInstruction } from "@solana/web3.js"; import { Connection, VersionedTransaction } from "@solana/web3.js"; /** * This function wraps instructions in a sponsored transaction using Alchemy's fee payer service * * @param {TransactionInstruction[]} instructions - The instructions to add sponsorship to * @param {Connection} connection - The connection to use * @param {string} policyId - The policy id to use * @param {string} address - The address to use * @returns {Promise} - The sponsored transaction */ export declare function createSolanaSponsoredTransaction(instructions: TransactionInstruction[], connection: Connection, policyId: string, address: string): Promise; /** * Creates a regular (non-sponsored) Solana transaction from instructions * * @param {TransactionInstruction[]} instructions - The instructions to create transaction from * @param {Connection} connection - The connection to use * @param {string} address - The payer address * @returns {Promise} - The transaction */ export declare function createSolanaTransaction(instructions: TransactionInstruction[], connection: Connection, address: string): Promise; //# sourceMappingURL=solana.d.ts.map