import { BigNumber } from 'ethers'; export declare enum GasStrategy { AUTO = "auto", MANUAL = "manual" } export declare enum GasTier { LOW = "LOW", MEDIUM = "MEDIUM", HIGH = "HIGH", URGENT = "URGENT" } export interface GasTierConfig { gasPrice: string; maxPriorityFeePerGas: string; } export interface NetworkGasConfig { strategy: GasStrategy; confirmations: number; retryPolicy: { maxRetries: number; multipliers: number[]; }; tiers: { [GasTier.LOW]: GasTierConfig; [GasTier.MEDIUM]: GasTierConfig; [GasTier.HIGH]: GasTierConfig; [GasTier.URGENT]: GasTierConfig; }; } export declare const NETWORK_GAS_CONFIGS: Record; /** * Get network gas configuration by chain ID * @param chainId Network chain ID * @returns Network gas configuration */ export declare function getNetworkGasConfig(chainId: number): NetworkGasConfig; /** * Get default gas tier * @returns Default gas tier (MEDIUM) */ export declare function getDefaultGasTier(): GasTier; /** * Convert gas price string to BigNumber in gwei * @param gasPrice Gas price string * @returns BigNumber in gwei */ export declare function parseGasPrice(gasPrice: string): BigNumber; //# sourceMappingURL=gas-configs.d.ts.map