import { Connection, PublicKey, Transaction, TransactionInstruction } from '@solana/web3.js'; import Decimal from 'decimal.js'; import { CreateAta } from './types'; export declare const MAX_ACCOUNTS_PER_TRANSACTION = 64; export declare const decodeSerializedTransaction: (tx: string | undefined) => Transaction | undefined; export declare const getComputeBudgetAndPriorityFeeIxns: (units: number, priorityFeeLamports?: Decimal) => TransactionInstruction[]; export declare const createAtaIfMissingIx: (connection: Connection, mint: PublicKey, owner: PublicKey) => Promise; export declare const getAtasWithCreateIxnsIfMissing: (connection: Connection, mints: PublicKey[], owner: PublicKey) => Promise; export declare const createWsolAtaIfMissing: (connection: Connection, amount: Decimal, owner: PublicKey, method?: 'deposit' | 'withdraw') => Promise; export declare const isWsolInfoInvalid: (wsolAtaAccountInfo: any) => boolean; export declare function checkIfAccountExists(connection: Connection, account: PublicKey): Promise; export declare function removeBudgetAndAtaIxns(ixns: TransactionInstruction[], mints: string[]): TransactionInstruction[]; export declare const findAtaBalance: (connection: Connection, ata: PublicKey) => Promise;