import type { Assign, OneOf } from './utils.js';
export type FeeHistory<TQuantity = bigint> = {
    /**
     * An array of block base fees per gas (in wei). This includes the next block after
     * the newest of the returned range, because this value can be derived from the newest block.
     * Zeroes are returned for pre-EIP-1559 blocks. */
    baseFeePerGas: TQuantity[];
    /** An array of block gas used ratios. These are calculated as the ratio of gasUsed and gasLimit. */
    gasUsedRatio: number[];
    /** Lowest number block of the returned range. */
    oldestBlock: TQuantity;
    /** An array of effective priority fees (in wei) per gas data points from a single block. All zeroes are returned if the block is empty. */
    reward?: TQuantity[][] | undefined;
};
export type FeeValuesLegacy<TQuantity = bigint> = {
    /** Base fee per gas. */
    gasPrice: TQuantity;
    maxFeePerBlobGas?: undefined;
    maxFeePerGas?: undefined;
    maxPriorityFeePerGas?: undefined;
};
export type FeeValuesEIP1559<TQuantity = bigint> = {
    gasPrice?: undefined;
    maxFeePerBlobGas?: undefined;
    /** Total fee per gas in wei (gasPrice/baseFeePerGas + maxPriorityFeePerGas). */
    maxFeePerGas: TQuantity;
    /** Max priority fee per gas (in wei). */
    maxPriorityFeePerGas: TQuantity;
};
export type FeeValuesEIP4844<TQuantity = bigint> = Assign<FeeValuesEIP1559<TQuantity>, {
    /** The maximum total fee per gas the sender is willing to pay for blob gas (in wei). */
    maxFeePerBlobGas: TQuantity;
}>;
export type FeeValues<TQuantity = bigint> = OneOf<FeeValuesLegacy<TQuantity> | FeeValuesEIP1559<TQuantity> | FeeValuesEIP4844<TQuantity>>;
export type FeeValuesType = 'legacy' | 'eip1559' | 'eip4844';
//# sourceMappingURL=fee.d.ts.map