import type { SolanaWriteRpc } from '../types'; /** The highest Solana transaction version this SDK reads back (SIMD-0385 v1). */ export declare const SOLANA_MAX_SUPPORTED_TRANSACTION_VERSION = 1; /** * getTransaction that survives a SIMD-0385 v1 response. @solana/web3.js 1.98.x * validates `version` against `0 | 'legacy'` and THROWS on 1 even when the request * raised the ceiling, so a real `Connection` (which exposes `rpcEndpoint`) is read * as raw JSON-RPC instead. An injected double without an endpoint goes through its * own `getTransaction` with the ceiling raised. Returns the RPC `result` (null when * the signature is unknown); RPC and transport failures throw so callers keep * treating a failed lookup as inconclusive rather than as absence. */ export declare function getTransactionJson(rpc: SolanaWriteRpc, signature: string, commitment?: 'confirmed' | 'finalized'): Promise;