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 WithdrawalHelperBaseInterface extends utils.Interface {
    functions: {
        "L2_TOKEN_GATEWAY()": FunctionFragment;
        "TOKEN_RECIPIENT()": FunctionFragment;
        "WRAPPED_NATIVE_TOKEN()": FunctionFragment;
        "__WithdrawalHelper_init(address)": FunctionFragment;
        "cctpTokenMessenger()": FunctionFragment;
        "cctpV2()": FunctionFragment;
        "crossDomainAdmin()": FunctionFragment;
        "multicall(bytes[])": FunctionFragment;
        "proxiableUUID()": FunctionFragment;
        "recipientCircleDomainId()": FunctionFragment;
        "upgradeTo(address)": FunctionFragment;
        "upgradeToAndCall(address,bytes)": FunctionFragment;
        "usdcToken()": FunctionFragment;
        "withdrawToken(address,address,uint256)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "L2_TOKEN_GATEWAY" | "TOKEN_RECIPIENT" | "WRAPPED_NATIVE_TOKEN" | "__WithdrawalHelper_init" | "cctpTokenMessenger" | "cctpV2" | "crossDomainAdmin" | "multicall" | "proxiableUUID" | "recipientCircleDomainId" | "upgradeTo" | "upgradeToAndCall" | "usdcToken" | "withdrawToken"): FunctionFragment;
    encodeFunctionData(functionFragment: "L2_TOKEN_GATEWAY", values?: undefined): string;
    encodeFunctionData(functionFragment: "TOKEN_RECIPIENT", values?: undefined): string;
    encodeFunctionData(functionFragment: "WRAPPED_NATIVE_TOKEN", values?: undefined): string;
    encodeFunctionData(functionFragment: "__WithdrawalHelper_init", values: [string]): string;
    encodeFunctionData(functionFragment: "cctpTokenMessenger", values?: undefined): string;
    encodeFunctionData(functionFragment: "cctpV2", values?: undefined): string;
    encodeFunctionData(functionFragment: "crossDomainAdmin", values?: undefined): string;
    encodeFunctionData(functionFragment: "multicall", values: [BytesLike[]]): string;
    encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string;
    encodeFunctionData(functionFragment: "recipientCircleDomainId", values?: undefined): string;
    encodeFunctionData(functionFragment: "upgradeTo", values: [string]): string;
    encodeFunctionData(functionFragment: "upgradeToAndCall", values: [string, BytesLike]): string;
    encodeFunctionData(functionFragment: "usdcToken", values?: undefined): string;
    encodeFunctionData(functionFragment: "withdrawToken", values: [string, string, BigNumberish]): string;
    decodeFunctionResult(functionFragment: "L2_TOKEN_GATEWAY", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "TOKEN_RECIPIENT", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "WRAPPED_NATIVE_TOKEN", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "__WithdrawalHelper_init", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "cctpTokenMessenger", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "cctpV2", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "crossDomainAdmin", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "multicall", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "recipientCircleDomainId", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "usdcToken", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "withdrawToken", data: BytesLike): Result;
    events: {
        "AdminChanged(address,address)": EventFragment;
        "BeaconUpgraded(address)": EventFragment;
        "Initialized(uint8)": EventFragment;
        "SetXDomainAdmin(address)": EventFragment;
        "Upgraded(address)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SetXDomainAdmin"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment;
}
export interface AdminChangedEventObject {
    previousAdmin: string;
    newAdmin: string;
}
export type AdminChangedEvent = TypedEvent<[
    string,
    string
], AdminChangedEventObject>;
export type AdminChangedEventFilter = TypedEventFilter<AdminChangedEvent>;
export interface BeaconUpgradedEventObject {
    beacon: string;
}
export type BeaconUpgradedEvent = TypedEvent<[
    string
], BeaconUpgradedEventObject>;
export type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;
export interface InitializedEventObject {
    version: number;
}
export type InitializedEvent = TypedEvent<[number], InitializedEventObject>;
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
export interface SetXDomainAdminEventObject {
    _crossDomainAdmin: string;
}
export type SetXDomainAdminEvent = TypedEvent<[
    string
], SetXDomainAdminEventObject>;
export type SetXDomainAdminEventFilter = TypedEventFilter<SetXDomainAdminEvent>;
export interface UpgradedEventObject {
    implementation: string;
}
export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>;
export type UpgradedEventFilter = TypedEventFilter<UpgradedEvent>;
export interface WithdrawalHelperBase extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: WithdrawalHelperBaseInterface;
    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: {
        L2_TOKEN_GATEWAY(overrides?: CallOverrides): Promise<[string]>;
        TOKEN_RECIPIENT(overrides?: CallOverrides): Promise<[string]>;
        WRAPPED_NATIVE_TOKEN(overrides?: CallOverrides): Promise<[string]>;
        __WithdrawalHelper_init(_crossDomainAdmin: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        cctpTokenMessenger(overrides?: CallOverrides): Promise<[string]>;
        cctpV2(overrides?: CallOverrides): Promise<[boolean]>;
        crossDomainAdmin(overrides?: CallOverrides): Promise<[string]>;
        multicall(data: BytesLike[], overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        proxiableUUID(overrides?: CallOverrides): Promise<[string]>;
        recipientCircleDomainId(overrides?: CallOverrides): Promise<[number]>;
        upgradeTo(newImplementation: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        upgradeToAndCall(newImplementation: string, data: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        usdcToken(overrides?: CallOverrides): Promise<[string]>;
        withdrawToken(l1Token: string, l2Token: string, amountToReturn: BigNumberish, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
    };
    L2_TOKEN_GATEWAY(overrides?: CallOverrides): Promise<string>;
    TOKEN_RECIPIENT(overrides?: CallOverrides): Promise<string>;
    WRAPPED_NATIVE_TOKEN(overrides?: CallOverrides): Promise<string>;
    __WithdrawalHelper_init(_crossDomainAdmin: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    cctpTokenMessenger(overrides?: CallOverrides): Promise<string>;
    cctpV2(overrides?: CallOverrides): Promise<boolean>;
    crossDomainAdmin(overrides?: CallOverrides): Promise<string>;
    multicall(data: BytesLike[], overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    proxiableUUID(overrides?: CallOverrides): Promise<string>;
    recipientCircleDomainId(overrides?: CallOverrides): Promise<number>;
    upgradeTo(newImplementation: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    upgradeToAndCall(newImplementation: string, data: BytesLike, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    usdcToken(overrides?: CallOverrides): Promise<string>;
    withdrawToken(l1Token: string, l2Token: string, amountToReturn: BigNumberish, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    callStatic: {
        L2_TOKEN_GATEWAY(overrides?: CallOverrides): Promise<string>;
        TOKEN_RECIPIENT(overrides?: CallOverrides): Promise<string>;
        WRAPPED_NATIVE_TOKEN(overrides?: CallOverrides): Promise<string>;
        __WithdrawalHelper_init(_crossDomainAdmin: string, overrides?: CallOverrides): Promise<void>;
        cctpTokenMessenger(overrides?: CallOverrides): Promise<string>;
        cctpV2(overrides?: CallOverrides): Promise<boolean>;
        crossDomainAdmin(overrides?: CallOverrides): Promise<string>;
        multicall(data: BytesLike[], overrides?: CallOverrides): Promise<string[]>;
        proxiableUUID(overrides?: CallOverrides): Promise<string>;
        recipientCircleDomainId(overrides?: CallOverrides): Promise<number>;
        upgradeTo(newImplementation: string, overrides?: CallOverrides): Promise<void>;
        upgradeToAndCall(newImplementation: string, data: BytesLike, overrides?: CallOverrides): Promise<void>;
        usdcToken(overrides?: CallOverrides): Promise<string>;
        withdrawToken(l1Token: string, l2Token: string, amountToReturn: BigNumberish, overrides?: CallOverrides): Promise<void>;
    };
    filters: {
        "AdminChanged(address,address)"(previousAdmin?: null, newAdmin?: null): AdminChangedEventFilter;
        AdminChanged(previousAdmin?: null, newAdmin?: null): AdminChangedEventFilter;
        "BeaconUpgraded(address)"(beacon?: string | null): BeaconUpgradedEventFilter;
        BeaconUpgraded(beacon?: string | null): BeaconUpgradedEventFilter;
        "Initialized(uint8)"(version?: null): InitializedEventFilter;
        Initialized(version?: null): InitializedEventFilter;
        "SetXDomainAdmin(address)"(_crossDomainAdmin?: string | null): SetXDomainAdminEventFilter;
        SetXDomainAdmin(_crossDomainAdmin?: string | null): SetXDomainAdminEventFilter;
        "Upgraded(address)"(implementation?: string | null): UpgradedEventFilter;
        Upgraded(implementation?: string | null): UpgradedEventFilter;
    };
    estimateGas: {
        L2_TOKEN_GATEWAY(overrides?: CallOverrides): Promise<BigNumber>;
        TOKEN_RECIPIENT(overrides?: CallOverrides): Promise<BigNumber>;
        WRAPPED_NATIVE_TOKEN(overrides?: CallOverrides): Promise<BigNumber>;
        __WithdrawalHelper_init(_crossDomainAdmin: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        cctpTokenMessenger(overrides?: CallOverrides): Promise<BigNumber>;
        cctpV2(overrides?: CallOverrides): Promise<BigNumber>;
        crossDomainAdmin(overrides?: CallOverrides): Promise<BigNumber>;
        multicall(data: BytesLike[], overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        proxiableUUID(overrides?: CallOverrides): Promise<BigNumber>;
        recipientCircleDomainId(overrides?: CallOverrides): Promise<BigNumber>;
        upgradeTo(newImplementation: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        upgradeToAndCall(newImplementation: string, data: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<BigNumber>;
        usdcToken(overrides?: CallOverrides): Promise<BigNumber>;
        withdrawToken(l1Token: string, l2Token: string, amountToReturn: BigNumberish, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        L2_TOKEN_GATEWAY(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        TOKEN_RECIPIENT(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        WRAPPED_NATIVE_TOKEN(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        __WithdrawalHelper_init(_crossDomainAdmin: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        cctpTokenMessenger(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        cctpV2(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        crossDomainAdmin(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        multicall(data: BytesLike[], overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        proxiableUUID(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        recipientCircleDomainId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        upgradeTo(newImplementation: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        upgradeToAndCall(newImplementation: string, data: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        usdcToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        withdrawToken(l1Token: string, l2Token: string, amountToReturn: BigNumberish, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
    };
}
