import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../common";
export interface IGNSInterface extends Interface {
    getFunction(nameOrSignature: "approveAll" | "burnSignal" | "deprecateSubgraph" | "getCuratorSignal" | "getLegacySubgraphKey" | "isLegacySubgraph" | "isPublished" | "mintSignal" | "nSignalToTokens" | "nSignalToVSignal" | "ownerOf" | "publishNewSubgraph" | "publishNewVersion" | "setDefaultName" | "setOwnerTaxPercentage" | "subgraphSignal" | "subgraphTokens" | "tokensToNSignal" | "transferSignal" | "updateSubgraphMetadata" | "vSignalToNSignal" | "withdraw"): FunctionFragment;
    getEvent(nameOrSignatureOrTopic: "SubgraphVersionUpdated"): EventFragment;
    encodeFunctionData(functionFragment: "approveAll", values?: undefined): string;
    encodeFunctionData(functionFragment: "burnSignal", values: [BigNumberish, BigNumberish, BigNumberish]): string;
    encodeFunctionData(functionFragment: "deprecateSubgraph", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "getCuratorSignal", values: [BigNumberish, AddressLike]): string;
    encodeFunctionData(functionFragment: "getLegacySubgraphKey", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "isLegacySubgraph", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "isPublished", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "mintSignal", values: [BigNumberish, BigNumberish, BigNumberish]): string;
    encodeFunctionData(functionFragment: "nSignalToTokens", values: [BigNumberish, BigNumberish]): string;
    encodeFunctionData(functionFragment: "nSignalToVSignal", values: [BigNumberish, BigNumberish]): string;
    encodeFunctionData(functionFragment: "ownerOf", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "publishNewSubgraph", values: [BytesLike, BytesLike, BytesLike]): string;
    encodeFunctionData(functionFragment: "publishNewVersion", values: [BigNumberish, BytesLike, BytesLike]): string;
    encodeFunctionData(functionFragment: "setDefaultName", values: [AddressLike, BigNumberish, BytesLike, string]): string;
    encodeFunctionData(functionFragment: "setOwnerTaxPercentage", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "subgraphSignal", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "subgraphTokens", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "tokensToNSignal", values: [BigNumberish, BigNumberish]): string;
    encodeFunctionData(functionFragment: "transferSignal", values: [BigNumberish, AddressLike, BigNumberish]): string;
    encodeFunctionData(functionFragment: "updateSubgraphMetadata", values: [BigNumberish, BytesLike]): string;
    encodeFunctionData(functionFragment: "vSignalToNSignal", values: [BigNumberish, BigNumberish]): string;
    encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
    decodeFunctionResult(functionFragment: "approveAll", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "burnSignal", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "deprecateSubgraph", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getCuratorSignal", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getLegacySubgraphKey", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "isLegacySubgraph", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "isPublished", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "mintSignal", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "nSignalToTokens", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "nSignalToVSignal", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "publishNewSubgraph", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "publishNewVersion", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setDefaultName", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setOwnerTaxPercentage", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "subgraphSignal", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "subgraphTokens", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "tokensToNSignal", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "transferSignal", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "updateSubgraphMetadata", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "vSignalToNSignal", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
}
export declare namespace SubgraphVersionUpdatedEvent {
    type InputTuple = [
        subgraphID: BigNumberish,
        subgraphDeploymentID: BytesLike,
        versionMetadata: BytesLike
    ];
    type OutputTuple = [
        subgraphID: bigint,
        subgraphDeploymentID: string,
        versionMetadata: string
    ];
    interface OutputObject {
        subgraphID: bigint;
        subgraphDeploymentID: string;
        versionMetadata: string;
    }
    type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    type Filter = TypedDeferredTopicFilter<Event>;
    type Log = TypedEventLog<Event>;
    type LogDescription = TypedLogDescription<Event>;
}
export interface IGNS extends BaseContract {
    connect(runner?: ContractRunner | null): IGNS;
    waitForDeployment(): Promise<this>;
    interface: IGNSInterface;
    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>;
    approveAll: TypedContractMethod<[], [void], "nonpayable">;
    burnSignal: TypedContractMethod<[
        subgraphID: BigNumberish,
        nSignal: BigNumberish,
        tokensOutMin: BigNumberish
    ], [
        void
    ], "nonpayable">;
    deprecateSubgraph: TypedContractMethod<[
        subgraphID: BigNumberish
    ], [
        void
    ], "nonpayable">;
    getCuratorSignal: TypedContractMethod<[
        subgraphID: BigNumberish,
        curator: AddressLike
    ], [
        bigint
    ], "view">;
    getLegacySubgraphKey: TypedContractMethod<[
        subgraphID: BigNumberish
    ], [
        [string, bigint] & {
            account: string;
            seqID: bigint;
        }
    ], "view">;
    isLegacySubgraph: TypedContractMethod<[
        subgraphID: BigNumberish
    ], [
        boolean
    ], "view">;
    isPublished: TypedContractMethod<[
        subgraphID: BigNumberish
    ], [
        boolean
    ], "view">;
    mintSignal: TypedContractMethod<[
        subgraphID: BigNumberish,
        tokensIn: BigNumberish,
        nSignalOutMin: BigNumberish
    ], [
        void
    ], "nonpayable">;
    nSignalToTokens: TypedContractMethod<[
        subgraphID: BigNumberish,
        nSignalIn: BigNumberish
    ], [
        [bigint, bigint]
    ], "view">;
    nSignalToVSignal: TypedContractMethod<[
        subgraphID: BigNumberish,
        nSignalIn: BigNumberish
    ], [
        bigint
    ], "view">;
    ownerOf: TypedContractMethod<[tokenID: BigNumberish], [string], "view">;
    publishNewSubgraph: TypedContractMethod<[
        subgraphDeploymentID: BytesLike,
        versionMetadata: BytesLike,
        subgraphMetadata: BytesLike
    ], [
        void
    ], "nonpayable">;
    publishNewVersion: TypedContractMethod<[
        subgraphID: BigNumberish,
        subgraphDeploymentID: BytesLike,
        versionMetadata: BytesLike
    ], [
        void
    ], "nonpayable">;
    setDefaultName: TypedContractMethod<[
        graphAccount: AddressLike,
        nameSystem: BigNumberish,
        nameIdentifier: BytesLike,
        name: string
    ], [
        void
    ], "nonpayable">;
    setOwnerTaxPercentage: TypedContractMethod<[
        ownerTaxPercentage: BigNumberish
    ], [
        void
    ], "nonpayable">;
    subgraphSignal: TypedContractMethod<[
        subgraphID: BigNumberish
    ], [
        bigint
    ], "view">;
    subgraphTokens: TypedContractMethod<[
        subgraphID: BigNumberish
    ], [
        bigint
    ], "view">;
    tokensToNSignal: TypedContractMethod<[
        subgraphID: BigNumberish,
        tokensIn: BigNumberish
    ], [
        [bigint, bigint, bigint]
    ], "view">;
    transferSignal: TypedContractMethod<[
        subgraphID: BigNumberish,
        recipient: AddressLike,
        amount: BigNumberish
    ], [
        void
    ], "nonpayable">;
    updateSubgraphMetadata: TypedContractMethod<[
        subgraphID: BigNumberish,
        subgraphMetadata: BytesLike
    ], [
        void
    ], "nonpayable">;
    vSignalToNSignal: TypedContractMethod<[
        subgraphID: BigNumberish,
        vSignalIn: BigNumberish
    ], [
        bigint
    ], "view">;
    withdraw: TypedContractMethod<[
        subgraphID: BigNumberish
    ], [
        void
    ], "nonpayable">;
    getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
    getFunction(nameOrSignature: "approveAll"): TypedContractMethod<[], [void], "nonpayable">;
    getFunction(nameOrSignature: "burnSignal"): TypedContractMethod<[
        subgraphID: BigNumberish,
        nSignal: BigNumberish,
        tokensOutMin: BigNumberish
    ], [
        void
    ], "nonpayable">;
    getFunction(nameOrSignature: "deprecateSubgraph"): TypedContractMethod<[subgraphID: BigNumberish], [void], "nonpayable">;
    getFunction(nameOrSignature: "getCuratorSignal"): TypedContractMethod<[
        subgraphID: BigNumberish,
        curator: AddressLike
    ], [
        bigint
    ], "view">;
    getFunction(nameOrSignature: "getLegacySubgraphKey"): TypedContractMethod<[
        subgraphID: BigNumberish
    ], [
        [string, bigint] & {
            account: string;
            seqID: bigint;
        }
    ], "view">;
    getFunction(nameOrSignature: "isLegacySubgraph"): TypedContractMethod<[subgraphID: BigNumberish], [boolean], "view">;
    getFunction(nameOrSignature: "isPublished"): TypedContractMethod<[subgraphID: BigNumberish], [boolean], "view">;
    getFunction(nameOrSignature: "mintSignal"): TypedContractMethod<[
        subgraphID: BigNumberish,
        tokensIn: BigNumberish,
        nSignalOutMin: BigNumberish
    ], [
        void
    ], "nonpayable">;
    getFunction(nameOrSignature: "nSignalToTokens"): TypedContractMethod<[
        subgraphID: BigNumberish,
        nSignalIn: BigNumberish
    ], [
        [bigint, bigint]
    ], "view">;
    getFunction(nameOrSignature: "nSignalToVSignal"): TypedContractMethod<[
        subgraphID: BigNumberish,
        nSignalIn: BigNumberish
    ], [
        bigint
    ], "view">;
    getFunction(nameOrSignature: "ownerOf"): TypedContractMethod<[tokenID: BigNumberish], [string], "view">;
    getFunction(nameOrSignature: "publishNewSubgraph"): TypedContractMethod<[
        subgraphDeploymentID: BytesLike,
        versionMetadata: BytesLike,
        subgraphMetadata: BytesLike
    ], [
        void
    ], "nonpayable">;
    getFunction(nameOrSignature: "publishNewVersion"): TypedContractMethod<[
        subgraphID: BigNumberish,
        subgraphDeploymentID: BytesLike,
        versionMetadata: BytesLike
    ], [
        void
    ], "nonpayable">;
    getFunction(nameOrSignature: "setDefaultName"): TypedContractMethod<[
        graphAccount: AddressLike,
        nameSystem: BigNumberish,
        nameIdentifier: BytesLike,
        name: string
    ], [
        void
    ], "nonpayable">;
    getFunction(nameOrSignature: "setOwnerTaxPercentage"): TypedContractMethod<[
        ownerTaxPercentage: BigNumberish
    ], [
        void
    ], "nonpayable">;
    getFunction(nameOrSignature: "subgraphSignal"): TypedContractMethod<[subgraphID: BigNumberish], [bigint], "view">;
    getFunction(nameOrSignature: "subgraphTokens"): TypedContractMethod<[subgraphID: BigNumberish], [bigint], "view">;
    getFunction(nameOrSignature: "tokensToNSignal"): TypedContractMethod<[
        subgraphID: BigNumberish,
        tokensIn: BigNumberish
    ], [
        [bigint, bigint, bigint]
    ], "view">;
    getFunction(nameOrSignature: "transferSignal"): TypedContractMethod<[
        subgraphID: BigNumberish,
        recipient: AddressLike,
        amount: BigNumberish
    ], [
        void
    ], "nonpayable">;
    getFunction(nameOrSignature: "updateSubgraphMetadata"): TypedContractMethod<[
        subgraphID: BigNumberish,
        subgraphMetadata: BytesLike
    ], [
        void
    ], "nonpayable">;
    getFunction(nameOrSignature: "vSignalToNSignal"): TypedContractMethod<[
        subgraphID: BigNumberish,
        vSignalIn: BigNumberish
    ], [
        bigint
    ], "view">;
    getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[subgraphID: BigNumberish], [void], "nonpayable">;
    getEvent(key: "SubgraphVersionUpdated"): TypedContractEvent<SubgraphVersionUpdatedEvent.InputTuple, SubgraphVersionUpdatedEvent.OutputTuple, SubgraphVersionUpdatedEvent.OutputObject>;
    filters: {
        "SubgraphVersionUpdated(uint256,bytes32,bytes32)": TypedContractEvent<SubgraphVersionUpdatedEvent.InputTuple, SubgraphVersionUpdatedEvent.OutputTuple, SubgraphVersionUpdatedEvent.OutputObject>;
        SubgraphVersionUpdated: TypedContractEvent<SubgraphVersionUpdatedEvent.InputTuple, SubgraphVersionUpdatedEvent.OutputTuple, SubgraphVersionUpdatedEvent.OutputObject>;
    };
}
//# sourceMappingURL=IGNS.d.ts.map