import { IChain } from './constants';
import { BigNumber } from './bn';
export declare const TX_TYPE: {
    APPROVE_TOKEN: string;
    DEFAULT: string;
};
export declare enum ITxStatus {
    PENDING = "PENDING",
    SUCCESS = "SUCCESS",
    FAILED = "FAILED"
}
export declare const ERROR_STATES: {
    CONFIRM_REJECTED: string;
    GAS_EXCEEDED: string;
};
export declare function logRevert({ contract, action, args, library, account, }: {
    contract: any;
    action: any;
    args: any;
    library: any;
    account: any;
}): Promise<string | null>;
export declare function calculateGasMargin(value: any): any;
export declare const getGasPrice: (speed?: string) => Promise<BigNumber | null>;
export declare const LOCALHOST_GAS_COST: BigNumber;
export declare const MAINNET_GAS_COST: BigNumber;
export declare const L2_GAS_COST: BigNumber;
export declare const ALTL2_GAS_COST: BigNumber;
export declare const MIN_NATIVE_GAS_COSTS: Record<IChain, BigNumber>;
export declare function getNativeGasCost(chain: IChain | null): BigNumber;
