import * as SolToken from '@solana-program/token'; import * as SolKit from '@solana/kit'; import { SOLTxProvider } from '../sol'; export declare class SPLTxProvider extends SOLTxProvider { create(params: CreateParams): SolKit.Base64EncodedWireTransaction; static createAtokenInstructions(instructionType: InstructionType, params: any): SolToken.RecoverNestedAssociatedTokenInstruction, string, string, string, string, string, string, string, []> | SolToken.CreateAssociatedTokenInstruction, string, string, string, string, string, string, []>; static createRecoverNestedAssociatedTokenTransaction(params: CreateRecoverNestedAssociatedTokenParams): SolKit.Base64EncodedWireTransaction; static createCloseTokenAccountTransaction(params: CreateCloseTokenAccountParams): SolKit.Base64EncodedWireTransaction; } interface CreateParams { recipients: Array<{ address: string; amount: string; addressKeyPair?: SolKit.KeyPairSigner; }>; from: string; fee?: number; feeRate: number; txType?: 'legacy' | '0'; category?: 'transfer' | 'createAccount'; nonce?: string; nonceAddress?: string; blockHash?: string; blockHeight?: number; priorityFee?: number; computeUnits?: number; memo?: string; fromKeyPair?: SolKit.KeyPairSigner; space?: number; instructions?: Array; tokenAddress: string; fromAta?: string; decimals?: number; } interface CreateRecoverNestedAssociatedTokenParams { category: 'recoverNestedAssociatedToken'; blockHash: string; blockHeight: number; fromKeyPair: SolKit.KeyPairSigner; nestedAssociatedAccountAddress: string; nestedTokenMintAddress: string; destinationAssociatedAccountAddress: string; ownerAssociatedAccountAddress: string; ownerTokenMintAddress: string; } interface CreateCloseTokenAccountParams { category: 'closeTokenAccount'; blockHash: string; blockHeight: number; fromKeyPair: SolKit.KeyPairSigner; ataAddressToClose: string; solRentReturnAddress: string; ataAddressToCloseOwnerSolAddress: string; } type InstructionType = 'createAssociatedToken' | 'createAssociatedTokenIdempotent' | 'recoverNestedAssociatedToken'; export {}; //# sourceMappingURL=index.d.ts.map