/** Fee-token decimals: TIP-20 fixes 6 (1 token unit = 1 microdollar). */ export declare const tokenDecimals = 6; /** Scaling between attodollar gas math and fee-token units, derived from the exponents. */ export declare const scalingFactor: bigint; /** * Fee in fee-token base units for a gas amount priced in attodollars per gas * (ceiling division). Works for actual fees (`gasUsed × effectiveGasPrice`) * and signed caps (`gas × maxFeePerGas`) alike. * * @param gas - Gas amount. * @param gasPrice - Price in attodollars per gas. * @returns The fee in fee-token base units. */ export declare function fromGas(gas: bigint, gasPrice: bigint): bigint; /** * Signed fee cap of a candidate transaction in fee-token base units: * `gas × maxFeePerGas` (attodollars) scaled through {@link fromGas}. Undefined * when either field is missing or unparseable, so callers can fail closed. * * @param request - Transaction-shaped fee fields. * @returns The cap in base units, or undefined. */ export declare function maxOf(request: { gas?: unknown; maxFeePerGas?: unknown; }): bigint | undefined; //# sourceMappingURL=Fees.d.ts.map