import type { BaseContract, FunctionFragment, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener } from "../../../../common";
export interface IFactoryInterface extends Interface {
    getEvent(nameOrSignatureOrTopic: "CloneDeployed"): EventFragment;
}
export declare namespace CloneDeployedEvent {
    type InputTuple = [clone: AddressLike];
    type OutputTuple = [clone: string];
    interface OutputObject {
        clone: string;
    }
    type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    type Filter = TypedDeferredTopicFilter<Event>;
    type Log = TypedEventLog<Event>;
    type LogDescription = TypedLogDescription<Event>;
}
export interface IFactory extends BaseContract {
    connect(runner?: ContractRunner | null): IFactory;
    waitForDeployment(): Promise<this>;
    interface: IFactoryInterface;
    queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
    queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
    on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
    on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
    once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
    once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
    listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
    listeners(eventName?: string): Promise<Array<Listener>>;
    removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
    getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
    getEvent(key: "CloneDeployed"): TypedContractEvent<CloneDeployedEvent.InputTuple, CloneDeployedEvent.OutputTuple, CloneDeployedEvent.OutputObject>;
    filters: {
        "CloneDeployed(address)": TypedContractEvent<CloneDeployedEvent.InputTuple, CloneDeployedEvent.OutputTuple, CloneDeployedEvent.OutputObject>;
        CloneDeployed: TypedContractEvent<CloneDeployedEvent.InputTuple, CloneDeployedEvent.OutputTuple, CloneDeployedEvent.OutputObject>;
    };
}
//# sourceMappingURL=IFactory.d.ts.map