import type { Logger } from "pino"; import type { CustomGasStation } from "./custom-gas-station.js"; import type { SuperWalletClient } from "./super-wallet.js"; export declare const gasPriceStrategies: readonly ["eip1559", "legacy"]; export type GasPriceStrategy = (typeof gasPriceStrategies)[number]; export type GasPrice = { strategy: "legacy"; gasPrice: bigint; } | { strategy: "eip1559"; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; }; export type GasPriceConfig = { strategy: GasPriceStrategy; baseFeeMultiplier: number; priorityFeeMultiplier: number; gasPrice?: number | undefined; customGasStation?: CustomGasStation | undefined; }; export declare const getGasPrice: (client: SuperWalletClient, config: GasPriceConfig, logger: Logger) => Promise; export declare const scaleGasPrice: (gasPrice: GasPrice, factor: number) => GasPrice; export declare const escalateGasPrice: (fresh: GasPrice, escalated: GasPrice, cap: number) => GasPrice; export declare const gasPriceToTxParams: (gasPrice: GasPrice) => { gasPrice: bigint; maxFeePerGas?: never; maxPriorityFeePerGas?: never; } | { maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; gasPrice?: never; }; export declare const describeGasPrice: (gasPrice: GasPrice) => string;