import type { BaseContract, BigNumber, 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 ICounterfactualDepositFactoryInterface extends utils.Interface {
    functions: {
        "deploy(address,bytes32,bytes32)": FunctionFragment;
        "deployAndExecute(address,bytes32,bytes32,bytes)": FunctionFragment;
        "deployIfNeededAndExecute(address,bytes32,bytes32,bytes)": FunctionFragment;
        "execute(address,bytes)": FunctionFragment;
        "predictDepositAddress(address,bytes32,bytes32)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "deploy" | "deployAndExecute" | "deployIfNeededAndExecute" | "execute" | "predictDepositAddress"): FunctionFragment;
    encodeFunctionData(functionFragment: "deploy", values: [string, BytesLike, BytesLike]): string;
    encodeFunctionData(functionFragment: "deployAndExecute", values: [string, BytesLike, BytesLike, BytesLike]): string;
    encodeFunctionData(functionFragment: "deployIfNeededAndExecute", values: [string, BytesLike, BytesLike, BytesLike]): string;
    encodeFunctionData(functionFragment: "execute", values: [string, BytesLike]): string;
    encodeFunctionData(functionFragment: "predictDepositAddress", values: [string, BytesLike, BytesLike]): string;
    decodeFunctionResult(functionFragment: "deploy", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "deployAndExecute", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "deployIfNeededAndExecute", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "predictDepositAddress", data: BytesLike): Result;
    events: {
        "DepositAddressCreated(address,address,bytes32,bytes32)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "DepositAddressCreated"): EventFragment;
}
export interface DepositAddressCreatedEventObject {
    depositAddress: string;
    counterfactualDepositImplementation: string;
    paramsHash: string;
    salt: string;
}
export type DepositAddressCreatedEvent = TypedEvent<[
    string,
    string,
    string,
    string
], DepositAddressCreatedEventObject>;
export type DepositAddressCreatedEventFilter = TypedEventFilter<DepositAddressCreatedEvent>;
export interface ICounterfactualDepositFactory extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: ICounterfactualDepositFactoryInterface;
    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: {
        deploy(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        deployAndExecute(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, executeCalldata: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        deployIfNeededAndExecute(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, executeCalldata: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        execute(depositAddress: string, executeCalldata: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        predictDepositAddress(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, overrides?: CallOverrides): Promise<[string]>;
    };
    deploy(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    deployAndExecute(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, executeCalldata: BytesLike, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    deployIfNeededAndExecute(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, executeCalldata: BytesLike, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    execute(depositAddress: string, executeCalldata: BytesLike, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    predictDepositAddress(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, overrides?: CallOverrides): Promise<string>;
    callStatic: {
        deploy(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, overrides?: CallOverrides): Promise<string>;
        deployAndExecute(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, executeCalldata: BytesLike, overrides?: CallOverrides): Promise<string>;
        deployIfNeededAndExecute(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, executeCalldata: BytesLike, overrides?: CallOverrides): Promise<string>;
        execute(depositAddress: string, executeCalldata: BytesLike, overrides?: CallOverrides): Promise<void>;
        predictDepositAddress(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, overrides?: CallOverrides): Promise<string>;
    };
    filters: {
        "DepositAddressCreated(address,address,bytes32,bytes32)"(depositAddress?: string | null, counterfactualDepositImplementation?: string | null, paramsHash?: BytesLike | null, salt?: null): DepositAddressCreatedEventFilter;
        DepositAddressCreated(depositAddress?: string | null, counterfactualDepositImplementation?: string | null, paramsHash?: BytesLike | null, salt?: null): DepositAddressCreatedEventFilter;
    };
    estimateGas: {
        deploy(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        deployAndExecute(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, executeCalldata: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<BigNumber>;
        deployIfNeededAndExecute(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, executeCalldata: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<BigNumber>;
        execute(depositAddress: string, executeCalldata: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<BigNumber>;
        predictDepositAddress(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        deploy(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        deployAndExecute(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, executeCalldata: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        deployIfNeededAndExecute(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, executeCalldata: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        execute(depositAddress: string, executeCalldata: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        predictDepositAddress(counterfactualDepositImplementation: string, paramsHash: BytesLike, salt: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
