import { Account, Address, Hex } from 'viem';
export declare const useGasEstimation: ({ to, data, account, chainId, }: {
    to: Address;
    data: Hex;
    account: Account | Address;
    chainId: number;
}) => {
    data: undefined;
    error: null;
    isLoading: boolean;
} | {
    data: undefined;
    error: Error;
    isLoading: boolean;
} | {
    data: {
        totalFee: bigint;
        estimatedL1Fee: bigint;
        estimatedL2Gas: bigint;
        l2GasPrice: bigint;
    };
    error: null;
    isLoading: boolean;
};
