import { Keypair } from "@solana/web3.js"; import { Connection, Transaction } from "@solana/web3.js"; import { TransactionCallbacks, TransactionResult, TransactionStatus } from "../base/BasePreMarket"; import { WalletContextState } from "@solana/wallet-adapter-react"; /** * Get the status of a transaction * @param txHash The transaction hash * @returns The transaction status */ export declare function getTransactionStatus(txHash: string, connection: Connection): Promise; /** * Sign and send a transaction * @param tx The transaction to sign and send * @param callbacks Optional callbacks for transaction events * @returns The transaction result */ export declare function signAndSendTransaction(tx: Transaction, signer: Keypair | WalletContextState, connection: Connection, callbacks?: TransactionCallbacks): Promise; //# sourceMappingURL=solana.d.ts.map