import type { BaseContract, BigNumber, BytesLike, CallOverrides, ContractTransaction, Overrides, 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 IServiceRegistryInterface extends utils.Interface {
    functions: {
        "isRegistered(address)": FunctionFragment;
        "register(string,string)": FunctionFragment;
        "registerFor(address,string,string)": FunctionFragment;
        "unregister()": FunctionFragment;
        "unregisterFor(address)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "isRegistered" | "register" | "registerFor" | "unregister" | "unregisterFor"): FunctionFragment;
    encodeFunctionData(functionFragment: "isRegistered", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "register", values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "registerFor", values: [
        PromiseOrValue<string>,
        PromiseOrValue<string>,
        PromiseOrValue<string>
    ]): string;
    encodeFunctionData(functionFragment: "unregister", values?: undefined): string;
    encodeFunctionData(functionFragment: "unregisterFor", values: [PromiseOrValue<string>]): string;
    decodeFunctionResult(functionFragment: "isRegistered", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "register", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "registerFor", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "unregister", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "unregisterFor", data: BytesLike): Result;
    events: {};
}
export interface IServiceRegistry extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: IServiceRegistryInterface;
    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: {
        isRegistered(indexer: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
        register(url: PromiseOrValue<string>, geohash: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        registerFor(indexer: PromiseOrValue<string>, url: PromiseOrValue<string>, geohash: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        unregister(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        unregisterFor(indexer: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
    };
    isRegistered(indexer: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
    register(url: PromiseOrValue<string>, geohash: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    registerFor(indexer: PromiseOrValue<string>, url: PromiseOrValue<string>, geohash: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    unregister(overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    unregisterFor(indexer: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    callStatic: {
        isRegistered(indexer: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
        register(url: PromiseOrValue<string>, geohash: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        registerFor(indexer: PromiseOrValue<string>, url: PromiseOrValue<string>, geohash: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        unregister(overrides?: CallOverrides): Promise<void>;
        unregisterFor(indexer: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
    };
    filters: {};
    estimateGas: {
        isRegistered(indexer: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        register(url: PromiseOrValue<string>, geohash: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        registerFor(indexer: PromiseOrValue<string>, url: PromiseOrValue<string>, geohash: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        unregister(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        unregisterFor(indexer: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        isRegistered(indexer: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        register(url: PromiseOrValue<string>, geohash: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        registerFor(indexer: PromiseOrValue<string>, url: PromiseOrValue<string>, geohash: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        unregister(overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        unregisterFor(indexer: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
    };
}
//# sourceMappingURL=IServiceRegistry.d.ts.map