import { Connection, Transaction } from '@solana/web3.js'; import { TransactionBuilder } from './TransactionBuilder'; import { Convergence } from '../Convergence'; type EstimatedPriorityFee = { microLamports: number; } | null; export declare const getEstimatedPriorityFee: (tx: Transaction | TransactionBuilder, connection: Connection) => Promise; type GetComputeUnitsToBeConsumed = { unitsConsumed: number; } | null; export declare const getComputeUnitsToBeConsumed: (tx: Transaction | TransactionBuilder, connection: Connection) => Promise; export declare const addComputeBudgetIxsIfNeeded: (txBuilder: TransactionBuilder, convergence: Convergence, disableSettingComputeUnits?: boolean) => Promise; export declare const isLocalEnv: (cvg: Convergence) => boolean; export {};