import { BaseContract, BigNumber, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
import { FunctionFragment, Result } from "@ethersproject/abi";
import { Listener, Provider } from "@ethersproject/providers";
import { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common";
export interface CharmFactoryInterface extends utils.Interface {
    functions: {
        "createWrapper(address)": FunctionFragment;
        "poolToWrapper(address)": FunctionFragment;
        "wrapperToPool(address)": FunctionFragment;
    };
    encodeFunctionData(functionFragment: "createWrapper", values: [string]): string;
    encodeFunctionData(functionFragment: "poolToWrapper", values: [string]): string;
    encodeFunctionData(functionFragment: "wrapperToPool", values: [string]): string;
    decodeFunctionResult(functionFragment: "createWrapper", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "poolToWrapper", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "wrapperToPool", data: BytesLike): Result;
    events: {};
}
export interface CharmFactory extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: CharmFactoryInterface;
    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: {
        createWrapper(pool: string, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<ContractTransaction>;
        poolToWrapper(arg0: string, overrides?: CallOverrides): Promise<[string]>;
        wrapperToPool(arg0: string, overrides?: CallOverrides): Promise<[string]>;
    };
    createWrapper(pool: string, overrides?: Overrides & {
        from?: string | Promise<string>;
    }): Promise<ContractTransaction>;
    poolToWrapper(arg0: string, overrides?: CallOverrides): Promise<string>;
    wrapperToPool(arg0: string, overrides?: CallOverrides): Promise<string>;
    callStatic: {
        createWrapper(pool: string, overrides?: CallOverrides): Promise<string>;
        poolToWrapper(arg0: string, overrides?: CallOverrides): Promise<string>;
        wrapperToPool(arg0: string, overrides?: CallOverrides): Promise<string>;
    };
    filters: {};
    estimateGas: {
        createWrapper(pool: string, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<BigNumber>;
        poolToWrapper(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
        wrapperToPool(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        createWrapper(pool: string, overrides?: Overrides & {
            from?: string | Promise<string>;
        }): Promise<PopulatedTransaction>;
        poolToWrapper(arg0: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        wrapperToPool(arg0: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
