/** * This file was automatically generated by @cosmwasm/ts-codegen@0.30.1. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @cosmwasm/ts-codegen generate command to regenerate this file. */ import { UseQueryOptions } from "react-query"; import { Config, QueryOptionsForString, NullableRoyaltyDefault, NullableRoyaltyProtocol, RoyaltyPaymentResponse, ArrayOfRoyaltyProtocol } from "./RoyaltyRegistry.types"; import { RoyaltyRegistryQueryClient } from "./RoyaltyRegistry.client"; export declare const royaltyRegistryQueryKeys: { contract: readonly [{ readonly contract: "royaltyRegistry"; }]; address: (contractAddress: string | undefined) => readonly [{ readonly address: string | undefined; readonly contract: "royaltyRegistry"; }]; config: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "config"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "royaltyRegistry"; }]; collectionRoyaltyDefault: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "collection_royalty_default"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "royaltyRegistry"; }]; collectionRoyaltyProtocol: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "collection_royalty_protocol"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "royaltyRegistry"; }]; royaltyProtocolByCollection: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "royalty_protocol_by_collection"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "royaltyRegistry"; }]; royaltyPayment: (contractAddress: string | undefined, args?: Record) => readonly [{ readonly method: "royalty_payment"; readonly args: Record | undefined; readonly address: string | undefined; readonly contract: "royaltyRegistry"; }]; }; export declare const royaltyRegistryQueries: { config: ({ client, options }: RoyaltyRegistryConfigQuery) => UseQueryOptions; collectionRoyaltyDefault: ({ client, args, options }: RoyaltyRegistryCollectionRoyaltyDefaultQuery) => UseQueryOptions; collectionRoyaltyProtocol: ({ client, args, options }: RoyaltyRegistryCollectionRoyaltyProtocolQuery) => UseQueryOptions; royaltyProtocolByCollection: ({ client, args, options }: RoyaltyRegistryRoyaltyProtocolByCollectionQuery) => UseQueryOptions; royaltyPayment: ({ client, args, options }: RoyaltyRegistryRoyaltyPaymentQuery) => UseQueryOptions; }; export interface RoyaltyRegistryReactQuery { client: RoyaltyRegistryQueryClient | undefined; options?: UseQueryOptions; } export interface RoyaltyRegistryRoyaltyPaymentQuery extends RoyaltyRegistryReactQuery { args: { collection: string; protocol?: string; }; } export declare function useRoyaltyRegistryRoyaltyPaymentQuery({ client, args, options }: RoyaltyRegistryRoyaltyPaymentQuery): import("react-query").UseQueryResult; export interface RoyaltyRegistryRoyaltyProtocolByCollectionQuery extends RoyaltyRegistryReactQuery { args: { collection: string; queryOptions?: QueryOptionsForString; }; } export declare function useRoyaltyRegistryRoyaltyProtocolByCollectionQuery({ client, args, options }: RoyaltyRegistryRoyaltyProtocolByCollectionQuery): import("react-query").UseQueryResult; export interface RoyaltyRegistryCollectionRoyaltyProtocolQuery extends RoyaltyRegistryReactQuery { args: { collection: string; protocol: string; }; } export declare function useRoyaltyRegistryCollectionRoyaltyProtocolQuery({ client, args, options }: RoyaltyRegistryCollectionRoyaltyProtocolQuery): import("react-query").UseQueryResult; export interface RoyaltyRegistryCollectionRoyaltyDefaultQuery extends RoyaltyRegistryReactQuery { args: { collection: string; }; } export declare function useRoyaltyRegistryCollectionRoyaltyDefaultQuery({ client, args, options }: RoyaltyRegistryCollectionRoyaltyDefaultQuery): import("react-query").UseQueryResult; export interface RoyaltyRegistryConfigQuery extends RoyaltyRegistryReactQuery { } export declare function useRoyaltyRegistryConfigQuery({ client, options }: RoyaltyRegistryConfigQuery): import("react-query").UseQueryResult;