import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, 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, PromiseOrValue } from "../../common";
export interface LinkableIncrementalBinaryTreeInterface extends utils.Interface {
    functions: {
        "EVM_CHAIN_ID_TYPE()": FunctionFragment;
        "parseChainIdFromResourceId(bytes32)": FunctionFragment;
        "zeros(uint256)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "EVM_CHAIN_ID_TYPE" | "parseChainIdFromResourceId" | "zeros"): FunctionFragment;
    encodeFunctionData(functionFragment: "EVM_CHAIN_ID_TYPE", values?: undefined): string;
    encodeFunctionData(functionFragment: "parseChainIdFromResourceId", values: [PromiseOrValue<BytesLike>]): string;
    encodeFunctionData(functionFragment: "zeros", values: [PromiseOrValue<BigNumberish>]): string;
    decodeFunctionResult(functionFragment: "EVM_CHAIN_ID_TYPE", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "parseChainIdFromResourceId", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "zeros", data: BytesLike): Result;
    events: {
        "EdgeAddition(uint256,uint256,uint256)": EventFragment;
        "EdgeUpdate(uint256,uint256,uint256)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "EdgeAddition"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "EdgeUpdate"): EventFragment;
}
export interface EdgeAdditionEventObject {
    chainID: BigNumber;
    latestLeafIndex: BigNumber;
    merkleRoot: BigNumber;
}
export type EdgeAdditionEvent = TypedEvent<[
    BigNumber,
    BigNumber,
    BigNumber
], EdgeAdditionEventObject>;
export type EdgeAdditionEventFilter = TypedEventFilter<EdgeAdditionEvent>;
export interface EdgeUpdateEventObject {
    chainID: BigNumber;
    latestLeafIndex: BigNumber;
    merkleRoot: BigNumber;
}
export type EdgeUpdateEvent = TypedEvent<[
    BigNumber,
    BigNumber,
    BigNumber
], EdgeUpdateEventObject>;
export type EdgeUpdateEventFilter = TypedEventFilter<EdgeUpdateEvent>;
export interface LinkableIncrementalBinaryTree extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: LinkableIncrementalBinaryTreeInterface;
    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: {
        EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<[string]>;
        parseChainIdFromResourceId(_resourceId: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<[BigNumber]>;
        zeros(i: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
    };
    EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<string>;
    parseChainIdFromResourceId(_resourceId: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<BigNumber>;
    zeros(i: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    callStatic: {
        EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<string>;
        parseChainIdFromResourceId(_resourceId: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<BigNumber>;
        zeros(i: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    };
    filters: {
        "EdgeAddition(uint256,uint256,uint256)"(chainID?: null, latestLeafIndex?: null, merkleRoot?: null): EdgeAdditionEventFilter;
        EdgeAddition(chainID?: null, latestLeafIndex?: null, merkleRoot?: null): EdgeAdditionEventFilter;
        "EdgeUpdate(uint256,uint256,uint256)"(chainID?: null, latestLeafIndex?: null, merkleRoot?: null): EdgeUpdateEventFilter;
        EdgeUpdate(chainID?: null, latestLeafIndex?: null, merkleRoot?: null): EdgeUpdateEventFilter;
    };
    estimateGas: {
        EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<BigNumber>;
        parseChainIdFromResourceId(_resourceId: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<BigNumber>;
        zeros(i: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        parseChainIdFromResourceId(_resourceId: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        zeros(i: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
