import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination_pb.js"; import { Class, NFT } from "./nft_pb.js"; /** * QueryBalanceRequest is the request type for the Query/Balance RPC method * * @generated from message cosmos.nft.v1beta1.QueryBalanceRequest */ export declare class QueryBalanceRequest extends Message { /** * class_id associated with the nft * * @generated from field: string class_id = 1; */ classId: string; /** * owner is the owner address of the nft * * @generated from field: string owner = 2; */ owner: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.nft.v1beta1.QueryBalanceRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryBalanceRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryBalanceRequest; static fromJsonString(jsonString: string, options?: Partial): QueryBalanceRequest; static equals(a: QueryBalanceRequest | PlainMessage | undefined, b: QueryBalanceRequest | PlainMessage | undefined): boolean; } /** * QueryBalanceResponse is the response type for the Query/Balance RPC method * * @generated from message cosmos.nft.v1beta1.QueryBalanceResponse */ export declare class QueryBalanceResponse extends Message { /** * amount is the number of all NFTs of a given class owned by the owner * * @generated from field: uint64 amount = 1; */ amount: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.nft.v1beta1.QueryBalanceResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryBalanceResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryBalanceResponse; static fromJsonString(jsonString: string, options?: Partial): QueryBalanceResponse; static equals(a: QueryBalanceResponse | PlainMessage | undefined, b: QueryBalanceResponse | PlainMessage | undefined): boolean; } /** * QueryOwnerRequest is the request type for the Query/Owner RPC method * * @generated from message cosmos.nft.v1beta1.QueryOwnerRequest */ export declare class QueryOwnerRequest extends Message { /** * class_id associated with the nft * * @generated from field: string class_id = 1; */ classId: string; /** * id is a unique identifier of the NFT * * @generated from field: string id = 2; */ id: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.nft.v1beta1.QueryOwnerRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryOwnerRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryOwnerRequest; static fromJsonString(jsonString: string, options?: Partial): QueryOwnerRequest; static equals(a: QueryOwnerRequest | PlainMessage | undefined, b: QueryOwnerRequest | PlainMessage | undefined): boolean; } /** * QueryOwnerResponse is the response type for the Query/Owner RPC method * * @generated from message cosmos.nft.v1beta1.QueryOwnerResponse */ export declare class QueryOwnerResponse extends Message { /** * owner is the owner address of the nft * * @generated from field: string owner = 1; */ owner: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.nft.v1beta1.QueryOwnerResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryOwnerResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryOwnerResponse; static fromJsonString(jsonString: string, options?: Partial): QueryOwnerResponse; static equals(a: QueryOwnerResponse | PlainMessage | undefined, b: QueryOwnerResponse | PlainMessage | undefined): boolean; } /** * QuerySupplyRequest is the request type for the Query/Supply RPC method * * @generated from message cosmos.nft.v1beta1.QuerySupplyRequest */ export declare class QuerySupplyRequest extends Message { /** * class_id associated with the nft * * @generated from field: string class_id = 1; */ classId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.nft.v1beta1.QuerySupplyRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySupplyRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySupplyRequest; static fromJsonString(jsonString: string, options?: Partial): QuerySupplyRequest; static equals(a: QuerySupplyRequest | PlainMessage | undefined, b: QuerySupplyRequest | PlainMessage | undefined): boolean; } /** * QuerySupplyResponse is the response type for the Query/Supply RPC method * * @generated from message cosmos.nft.v1beta1.QuerySupplyResponse */ export declare class QuerySupplyResponse extends Message { /** * amount is the number of all NFTs from the given class * * @generated from field: uint64 amount = 1; */ amount: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.nft.v1beta1.QuerySupplyResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QuerySupplyResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QuerySupplyResponse; static fromJsonString(jsonString: string, options?: Partial): QuerySupplyResponse; static equals(a: QuerySupplyResponse | PlainMessage | undefined, b: QuerySupplyResponse | PlainMessage | undefined): boolean; } /** * QueryNFTstRequest is the request type for the Query/NFTs RPC method * * @generated from message cosmos.nft.v1beta1.QueryNFTsRequest */ export declare class QueryNFTsRequest extends Message { /** * class_id associated with the nft * * @generated from field: string class_id = 1; */ classId: string; /** * owner is the owner address of the nft * * @generated from field: string owner = 2; */ owner: string; /** * pagination defines an optional pagination for the request. * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 3; */ pagination?: PageRequest; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.nft.v1beta1.QueryNFTsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryNFTsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryNFTsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryNFTsRequest; static equals(a: QueryNFTsRequest | PlainMessage | undefined, b: QueryNFTsRequest | PlainMessage | undefined): boolean; } /** * QueryNFTsResponse is the response type for the Query/NFTs RPC methods * * @generated from message cosmos.nft.v1beta1.QueryNFTsResponse */ export declare class QueryNFTsResponse extends Message { /** * NFT defines the NFT * * @generated from field: repeated cosmos.nft.v1beta1.NFT nfts = 1; */ nfts: NFT[]; /** * pagination defines the pagination in the response. * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.nft.v1beta1.QueryNFTsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryNFTsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryNFTsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryNFTsResponse; static equals(a: QueryNFTsResponse | PlainMessage | undefined, b: QueryNFTsResponse | PlainMessage | undefined): boolean; } /** * QueryNFTRequest is the request type for the Query/NFT RPC method * * @generated from message cosmos.nft.v1beta1.QueryNFTRequest */ export declare class QueryNFTRequest extends Message { /** * class_id associated with the nft * * @generated from field: string class_id = 1; */ classId: string; /** * id is a unique identifier of the NFT * * @generated from field: string id = 2; */ id: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.nft.v1beta1.QueryNFTRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryNFTRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryNFTRequest; static fromJsonString(jsonString: string, options?: Partial): QueryNFTRequest; static equals(a: QueryNFTRequest | PlainMessage | undefined, b: QueryNFTRequest | PlainMessage | undefined): boolean; } /** * QueryNFTResponse is the response type for the Query/NFT RPC method * * @generated from message cosmos.nft.v1beta1.QueryNFTResponse */ export declare class QueryNFTResponse extends Message { /** * owner is the owner address of the nft * * @generated from field: cosmos.nft.v1beta1.NFT nft = 1; */ nft?: NFT; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.nft.v1beta1.QueryNFTResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryNFTResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryNFTResponse; static fromJsonString(jsonString: string, options?: Partial): QueryNFTResponse; static equals(a: QueryNFTResponse | PlainMessage | undefined, b: QueryNFTResponse | PlainMessage | undefined): boolean; } /** * QueryClassRequest is the request type for the Query/Class RPC method * * @generated from message cosmos.nft.v1beta1.QueryClassRequest */ export declare class QueryClassRequest extends Message { /** * class_id associated with the nft * * @generated from field: string class_id = 1; */ classId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.nft.v1beta1.QueryClassRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClassRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClassRequest; static fromJsonString(jsonString: string, options?: Partial): QueryClassRequest; static equals(a: QueryClassRequest | PlainMessage | undefined, b: QueryClassRequest | PlainMessage | undefined): boolean; } /** * QueryClassResponse is the response type for the Query/Class RPC method * * @generated from message cosmos.nft.v1beta1.QueryClassResponse */ export declare class QueryClassResponse extends Message { /** * class defines the class of the nft type. * * @generated from field: cosmos.nft.v1beta1.Class class = 1; */ class?: Class; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.nft.v1beta1.QueryClassResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClassResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClassResponse; static fromJsonString(jsonString: string, options?: Partial): QueryClassResponse; static equals(a: QueryClassResponse | PlainMessage | undefined, b: QueryClassResponse | PlainMessage | undefined): boolean; } /** * QueryClassesRequest is the request type for the Query/Classes RPC method * * @generated from message cosmos.nft.v1beta1.QueryClassesRequest */ export declare class QueryClassesRequest extends Message { /** * pagination defines an optional pagination for the request. * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 1; */ pagination?: PageRequest; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.nft.v1beta1.QueryClassesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClassesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClassesRequest; static fromJsonString(jsonString: string, options?: Partial): QueryClassesRequest; static equals(a: QueryClassesRequest | PlainMessage | undefined, b: QueryClassesRequest | PlainMessage | undefined): boolean; } /** * QueryClassesResponse is the response type for the Query/Classes RPC method * * @generated from message cosmos.nft.v1beta1.QueryClassesResponse */ export declare class QueryClassesResponse extends Message { /** * class defines the class of the nft type. * * @generated from field: repeated cosmos.nft.v1beta1.Class classes = 1; */ classes: Class[]; /** * pagination defines the pagination in the response. * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cosmos.nft.v1beta1.QueryClassesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClassesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClassesResponse; static fromJsonString(jsonString: string, options?: Partial): QueryClassesResponse; static equals(a: QueryClassesResponse | PlainMessage | undefined, b: QueryClassesResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=query_pb.d.ts.map