import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers";
import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common";
export interface L2GatewayRouterInterface extends utils.Interface {
    functions: {
        "calculateL2TokenAddress(address)": FunctionFragment;
        "outboundTransfer(address,address,uint256,bytes)": FunctionFragment;
        "setL2TokenAddress(address,address)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "calculateL2TokenAddress" | "outboundTransfer" | "setL2TokenAddress"): FunctionFragment;
    encodeFunctionData(functionFragment: "calculateL2TokenAddress", values: [string]): string;
    encodeFunctionData(functionFragment: "outboundTransfer", values: [string, string, BigNumberish, BytesLike]): string;
    encodeFunctionData(functionFragment: "setL2TokenAddress", values: [string, string]): string;
    decodeFunctionResult(functionFragment: "calculateL2TokenAddress", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "outboundTransfer", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setL2TokenAddress", data: BytesLike): Result;
    events: {
        "OutboundTransfer(address,address,uint256)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "OutboundTransfer"): EventFragment;
}
export interface OutboundTransferEventObject {
    l1Token: string;
    to: string;
    amount: BigNumber;
}
export type OutboundTransferEvent = TypedEvent<[
    string,
    string,
    BigNumber
], OutboundTransferEventObject>;
export type OutboundTransferEventFilter = TypedEventFilter<OutboundTransferEvent>;
export interface L2GatewayRouter extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: L2GatewayRouterInterface;
    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: {
        calculateL2TokenAddress(l1Token: string, overrides?: CallOverrides): Promise<[string]>;
        outboundTransfer(l1Token: string, to: string, amount: BigNumberish, arg3: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        setL2TokenAddress(l1Token: string, l2Token: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
    };
    calculateL2TokenAddress(l1Token: string, overrides?: CallOverrides): Promise<string>;
    outboundTransfer(l1Token: string, to: string, amount: BigNumberish, arg3: BytesLike, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    setL2TokenAddress(l1Token: string, l2Token: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    callStatic: {
        calculateL2TokenAddress(l1Token: string, overrides?: CallOverrides): Promise<string>;
        outboundTransfer(l1Token: string, to: string, amount: BigNumberish, arg3: BytesLike, overrides?: CallOverrides): Promise<string>;
        setL2TokenAddress(l1Token: string, l2Token: string, overrides?: CallOverrides): Promise<void>;
    };
    filters: {
        "OutboundTransfer(address,address,uint256)"(l1Token?: string | null, to?: string | null, amount?: null): OutboundTransferEventFilter;
        OutboundTransfer(l1Token?: string | null, to?: string | null, amount?: null): OutboundTransferEventFilter;
    };
    estimateGas: {
        calculateL2TokenAddress(l1Token: string, overrides?: CallOverrides): Promise<BigNumber>;
        outboundTransfer(l1Token: string, to: string, amount: BigNumberish, arg3: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<BigNumber>;
        setL2TokenAddress(l1Token: string, l2Token: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        calculateL2TokenAddress(l1Token: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        outboundTransfer(l1Token: string, to: string, amount: BigNumberish, arg3: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        setL2TokenAddress(l1Token: string, l2Token: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
    };
}
