import type { GetExplorerLinkFunction, SendTXFunction, SolanaCluster } from "@macalinao/gill-extra";
import type { Address, TransactionSendingSigner } from "@solana/kit";
import type { SolanaClient } from "gill";
import type { TransactionStatusEvent } from "../../types.js";
export interface CreateSendTXParams {
    signer: TransactionSendingSigner | null;
    rpc: SolanaClient["rpc"];
    refetchAccounts: (addresses: Address[]) => Promise<void>;
    onTransactionStatusEvent: (event: TransactionStatusEvent) => void;
    getExplorerLink: GetExplorerLinkFunction;
    /**
     * The RPC URL used for creating transaction inspector URLs.
     * This is needed to generate correct inspector URLs for custom RPC endpoints.
     */
    rpcUrl?: string;
    /**
     * The Solana cluster for explorer links.
     * Defaults to "mainnet-beta".
     */
    cluster?: SolanaCluster;
}
/**
 * Creates a function to send transactions using the modern @solana/kit API
 * while maintaining compatibility with the wallet adapter.
 */
export declare const createSendTX: ({ signer, rpc, refetchAccounts, onTransactionStatusEvent, getExplorerLink, rpcUrl, cluster, }: CreateSendTXParams) => SendTXFunction;
//# sourceMappingURL=create-send-tx.d.ts.map