import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers";
import type { FunctionFragment, Result } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common";
export declare namespace BridgeHubInterface {
    type L2TransactionRequestDirectStruct = {
        chainId: BigNumberish;
        mintValue: BigNumberish;
        l2Contract: string;
        l2Value: BigNumberish;
        l2Calldata: BytesLike;
        l2GasLimit: BigNumberish;
        l2GasPerPubdataByteLimit: BigNumberish;
        factoryDeps: BytesLike[];
        refundRecipient: string;
    };
    type L2TransactionRequestDirectStructOutput = [
        BigNumber,
        BigNumber,
        string,
        BigNumber,
        string,
        BigNumber,
        BigNumber,
        string[],
        string
    ] & {
        chainId: BigNumber;
        mintValue: BigNumber;
        l2Contract: string;
        l2Value: BigNumber;
        l2Calldata: string;
        l2GasLimit: BigNumber;
        l2GasPerPubdataByteLimit: BigNumber;
        factoryDeps: string[];
        refundRecipient: string;
    };
    type L2TransactionRequestTwoBridgesOuterStruct = {
        chainId: BigNumberish;
        mintValue: BigNumberish;
        l2Value: BigNumberish;
        l2GasLimit: BigNumberish;
        l2GasPerPubdataByteLimit: BigNumberish;
        refundRecipient: string;
        secondBridgeAddress: string;
        secondBridgeValue: BigNumberish;
        secondBridgeCalldata: BytesLike;
    };
    type L2TransactionRequestTwoBridgesOuterStructOutput = [
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber,
        string,
        string,
        BigNumber,
        string
    ] & {
        chainId: BigNumber;
        mintValue: BigNumber;
        l2Value: BigNumber;
        l2GasLimit: BigNumber;
        l2GasPerPubdataByteLimit: BigNumber;
        refundRecipient: string;
        secondBridgeAddress: string;
        secondBridgeValue: BigNumber;
        secondBridgeCalldata: string;
    };
}
export interface MockBridgeHubInterface extends utils.Interface {
    functions: {
        "baseToken(uint256)": FunctionFragment;
        "l2TransactionBaseCost(uint256,uint256,uint256,uint256)": FunctionFragment;
        "requestL2TransactionDirect((uint256,uint256,address,uint256,bytes,uint256,uint256,bytes[],address))": FunctionFragment;
        "requestL2TransactionTwoBridges((uint256,uint256,uint256,uint256,uint256,address,address,uint256,bytes))": FunctionFragment;
        "setBaseToken(uint256,address)": FunctionFragment;
        "sharedBridge()": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "baseToken" | "l2TransactionBaseCost" | "requestL2TransactionDirect" | "requestL2TransactionTwoBridges" | "setBaseToken" | "sharedBridge"): FunctionFragment;
    encodeFunctionData(functionFragment: "baseToken", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "l2TransactionBaseCost", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
    encodeFunctionData(functionFragment: "requestL2TransactionDirect", values: [BridgeHubInterface.L2TransactionRequestDirectStruct]): string;
    encodeFunctionData(functionFragment: "requestL2TransactionTwoBridges", values: [BridgeHubInterface.L2TransactionRequestTwoBridgesOuterStruct]): string;
    encodeFunctionData(functionFragment: "setBaseToken", values: [BigNumberish, string]): string;
    encodeFunctionData(functionFragment: "sharedBridge", values?: undefined): string;
    decodeFunctionResult(functionFragment: "baseToken", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "l2TransactionBaseCost", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "requestL2TransactionDirect", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "requestL2TransactionTwoBridges", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setBaseToken", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "sharedBridge", data: BytesLike): Result;
    events: {};
}
export interface MockBridgeHub extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: MockBridgeHubInterface;
    queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
    listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
    listeners(eventName?: string): Array<Listener>;
    removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
    removeAllListeners(eventName?: string): this;
    off: OnEvent<this>;
    on: OnEvent<this>;
    once: OnEvent<this>;
    removeListener: OnEvent<this>;
    functions: {
        baseToken(_chainId: BigNumberish, overrides?: CallOverrides): Promise<[string]>;
        l2TransactionBaseCost(arg0: BigNumberish, _gasPrice: BigNumberish, _l2GasLimit: BigNumberish, _l2GasPerPubdataByteLimit: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>;
        requestL2TransactionDirect(_request: BridgeHubInterface.L2TransactionRequestDirectStruct, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        requestL2TransactionTwoBridges(_request: BridgeHubInterface.L2TransactionRequestTwoBridgesOuterStruct, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        setBaseToken(_chainId: BigNumberish, _baseToken: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        sharedBridge(overrides?: CallOverrides): Promise<[string]>;
    };
    baseToken(_chainId: BigNumberish, overrides?: CallOverrides): Promise<string>;
    l2TransactionBaseCost(arg0: BigNumberish, _gasPrice: BigNumberish, _l2GasLimit: BigNumberish, _l2GasPerPubdataByteLimit: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
    requestL2TransactionDirect(_request: BridgeHubInterface.L2TransactionRequestDirectStruct, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    requestL2TransactionTwoBridges(_request: BridgeHubInterface.L2TransactionRequestTwoBridgesOuterStruct, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    setBaseToken(_chainId: BigNumberish, _baseToken: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    sharedBridge(overrides?: CallOverrides): Promise<string>;
    callStatic: {
        baseToken(_chainId: BigNumberish, overrides?: CallOverrides): Promise<string>;
        l2TransactionBaseCost(arg0: BigNumberish, _gasPrice: BigNumberish, _l2GasLimit: BigNumberish, _l2GasPerPubdataByteLimit: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
        requestL2TransactionDirect(_request: BridgeHubInterface.L2TransactionRequestDirectStruct, overrides?: CallOverrides): Promise<string>;
        requestL2TransactionTwoBridges(_request: BridgeHubInterface.L2TransactionRequestTwoBridgesOuterStruct, overrides?: CallOverrides): Promise<string>;
        setBaseToken(_chainId: BigNumberish, _baseToken: string, overrides?: CallOverrides): Promise<void>;
        sharedBridge(overrides?: CallOverrides): Promise<string>;
    };
    filters: {};
    estimateGas: {
        baseToken(_chainId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
        l2TransactionBaseCost(arg0: BigNumberish, _gasPrice: BigNumberish, _l2GasLimit: BigNumberish, _l2GasPerPubdataByteLimit: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
        requestL2TransactionDirect(_request: BridgeHubInterface.L2TransactionRequestDirectStruct, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<BigNumber>;
        requestL2TransactionTwoBridges(_request: BridgeHubInterface.L2TransactionRequestTwoBridgesOuterStruct, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<BigNumber>;
        setBaseToken(_chainId: BigNumberish, _baseToken: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        sharedBridge(overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        baseToken(_chainId: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        l2TransactionBaseCost(arg0: BigNumberish, _gasPrice: BigNumberish, _l2GasLimit: BigNumberish, _l2GasPerPubdataByteLimit: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        requestL2TransactionDirect(_request: BridgeHubInterface.L2TransactionRequestDirectStruct, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        requestL2TransactionTwoBridges(_request: BridgeHubInterface.L2TransactionRequestTwoBridgesOuterStruct, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        setBaseToken(_chainId: BigNumberish, _baseToken: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        sharedBridge(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
