import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers";
import type { FunctionFragment, Result } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common";
export interface IMerkleSystemInterface extends utils.Interface {
    functions: {
        "getHasher()": FunctionFragment;
        "getLastRoot()": FunctionFragment;
        "getLevels()": FunctionFragment;
        "getNextIndex()": FunctionFragment;
        "getZeroHash(uint32)": FunctionFragment;
        "isKnownRoot(uint256)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "getHasher" | "getLastRoot" | "getLevels" | "getNextIndex" | "getZeroHash" | "isKnownRoot"): FunctionFragment;
    encodeFunctionData(functionFragment: "getHasher", values?: undefined): string;
    encodeFunctionData(functionFragment: "getLastRoot", values?: undefined): string;
    encodeFunctionData(functionFragment: "getLevels", values?: undefined): string;
    encodeFunctionData(functionFragment: "getNextIndex", values?: undefined): string;
    encodeFunctionData(functionFragment: "getZeroHash", values: [PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "isKnownRoot", values: [PromiseOrValue<BigNumberish>]): string;
    decodeFunctionResult(functionFragment: "getHasher", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getLastRoot", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getLevels", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getNextIndex", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getZeroHash", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "isKnownRoot", data: BytesLike): Result;
    events: {};
}
export interface IMerkleSystem extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: IMerkleSystemInterface;
    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: {
        getHasher(overrides?: CallOverrides): Promise<[string]>;
        getLastRoot(overrides?: CallOverrides): Promise<[BigNumber]>;
        getLevels(overrides?: CallOverrides): Promise<[number]>;
        getNextIndex(overrides?: CallOverrides): Promise<[number]>;
        getZeroHash(index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
        isKnownRoot(root: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[boolean]>;
    };
    getHasher(overrides?: CallOverrides): Promise<string>;
    getLastRoot(overrides?: CallOverrides): Promise<BigNumber>;
    getLevels(overrides?: CallOverrides): Promise<number>;
    getNextIndex(overrides?: CallOverrides): Promise<number>;
    getZeroHash(index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    isKnownRoot(root: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<boolean>;
    callStatic: {
        getHasher(overrides?: CallOverrides): Promise<string>;
        getLastRoot(overrides?: CallOverrides): Promise<BigNumber>;
        getLevels(overrides?: CallOverrides): Promise<number>;
        getNextIndex(overrides?: CallOverrides): Promise<number>;
        getZeroHash(index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        isKnownRoot(root: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<boolean>;
    };
    filters: {};
    estimateGas: {
        getHasher(overrides?: CallOverrides): Promise<BigNumber>;
        getLastRoot(overrides?: CallOverrides): Promise<BigNumber>;
        getLevels(overrides?: CallOverrides): Promise<BigNumber>;
        getNextIndex(overrides?: CallOverrides): Promise<BigNumber>;
        getZeroHash(index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
        isKnownRoot(root: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        getHasher(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getLastRoot(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getLevels(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getNextIndex(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getZeroHash(index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        isKnownRoot(root: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
