import Decimal from 'decimal.js'; import { StdFee } from '@interchainjs/types'; /** * A gas price, i.e. the price of a single unit of gas. Typically a fraction of the smallest fee token unit. */ export declare class GasPrice { readonly amount: Decimal; readonly denom: string; constructor(amount: Decimal, denom: string); /** * Parses a gas price formatted as ``, e.g. "0.012uatom". * Separators are not supported. */ static fromString(gasPrice: string): GasPrice; /** Returns a string representation such as "0.025uatom". */ toString(): string; } /** * Calculate StdFee from a gas limit and gas price. Rounds amount up to the nearest integer unit. */ export declare function calculateFee(gasLimit: number | bigint, gasPrice: GasPrice | string): StdFee;