import { Connection, PublicKey, Transaction } from "@solana/web3.js"; interface FetchPriorityFeeParams { connection: Connection; multiplier?: number; max?: number; slots?: number; lockedWritableAccounts?: PublicKey[]; log?: boolean; } /** * Fetches the estimated priority fee to use for a transaction on Solana. * It calculates the 85th percentile fee from recent slots, adjusts the fee with a multiplier, * and caps it at a maximum value. * * @param {FetchPriorityFeeParams} params - Parameters for fee calculation. * @returns {Promise} Estimated priority fee in micro lamports. */ export declare const fetchPriorityFee: ({ connection, multiplier, max, slots, lockedWritableAccounts, log, }: FetchPriorityFeeParams) => Promise; export declare const simulateAndAddComputeBudgetUnits: (rpcEndpoint: string, tx: Transaction, multiplier: number, skip?: boolean) => Promise; export {}; //# sourceMappingURL=priorityFee.d.ts.map