import type { AddressLookupTableAccount, Connection, RecentPrioritizationFees } from "@solana/web3.js"; import { PublicKey, TransactionInstruction } from "@solana/web3.js"; import type { Instruction } from "./types"; import BN from "bn.js"; export declare const MICROLAMPORTS_PER_LAMPORT = 1000000; export declare const DEFAULT_PRIORITY_FEE_PERCENTILE = 0.9; export declare const DEFAULT_MAX_PRIORITY_FEE_LAMPORTS = 1000000; export declare const DEFAULT_MIN_PRIORITY_FEE_LAMPORTS = 0; export declare const DEFAULT_MAX_COMPUTE_UNIT_LIMIT = 1400000; export declare function estimateComputeBudgetLimit(connection: Connection, instructions: Instruction[], lookupTableAccounts: AddressLookupTableAccount[] | undefined, payer: PublicKey, margin: number): Promise; export declare function getPriorityFeeInLamports(connection: Connection, computeBudgetLimit: number, lockedWritableAccounts: PublicKey[], percentile?: number, getRecentPrioritizationFees?: (lockedWritableAccounts: PublicKey[]) => Promise): Promise; export declare function getLockWritableAccounts(instructions: Instruction[]): PublicKey[]; export declare function setLoadedAccountsDataSizeLimitInstruction(dataSizeLimit: BN | number): TransactionInstruction;