import _m0 from "protobufjs/minimal"; import { TokenID } from "./basic_types"; import { QueryHeader } from "./query_header"; import { ResponseHeader } from "./response_header"; import { TokenNftInfo } from "./token_get_nft_info"; export declare const protobufPackage = "proto"; /** * Applicable only to tokens of type NON_FUNGIBLE_UNIQUE. Gets info on NFTs N through M on the list * of NFTs associated with a given NON_FUNGIBLE_UNIQUE Token. * Example: If there are 10 NFTs issued, having start=0 and end=5 will query for the first 5 NFTs. * Querying +all 10 NFTs will require start=0 and end=10 * * INVALID_QUERY_RANGE response code will be returned if: * 1) Start > End * 2) Start and End indices are non-positive * 3) Start and End indices are out of boundaries for the retrieved nft list * 4) The range between Start and End is bigger than the global dynamic property for maximum query * range * * NOT_SUPPORTED response code will be returned if the queried token is of type FUNGIBLE_COMMON * * INVALID_TOKEN_ID response code will be returned if the queried token does not exist */ export interface TokenGetNftInfosQuery { /** * Standard info sent from client to node, including the signed payment, and what kind of * response is requested (cost, state proof, both, or neither). */ header: QueryHeader | undefined; /** The ID of the token for which information is requested */ tokenID: TokenID | undefined; /** * Specifies the start index (inclusive) of the range of NFTs to query for. Value must be in the * range [0; ownedNFTs-1] */ start: number; /** * Specifies the end index (exclusive) of the range of NFTs to query for. Value must be in the * range (start; ownedNFTs] */ end: number; } export interface TokenGetNftInfosResponse { /** * Standard response from node to client, including the requested fields: cost, or state proof, * or both, or neither */ header: ResponseHeader | undefined; /** The Token with type NON_FUNGIBLE that this record is for */ tokenID: TokenID | undefined; /** List of NFTs associated to the specified token */ nfts: TokenNftInfo[]; } export declare const TokenGetNftInfosQuery: { encode(message: TokenGetNftInfosQuery, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TokenGetNftInfosQuery; fromJSON(object: any): TokenGetNftInfosQuery; toJSON(message: TokenGetNftInfosQuery): unknown; create(base?: DeepPartial): TokenGetNftInfosQuery; fromPartial(object: DeepPartial): TokenGetNftInfosQuery; }; export declare const TokenGetNftInfosResponse: { encode(message: TokenGetNftInfosResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TokenGetNftInfosResponse; fromJSON(object: any): TokenGetNftInfosResponse; toJSON(message: TokenGetNftInfosResponse): unknown; create(base?: DeepPartial): TokenGetNftInfosResponse; fromPartial(object: DeepPartial): TokenGetNftInfosResponse; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends { $case: string; } ? { [K in keyof Omit]?: DeepPartial; } & { $case: T["$case"]; } : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {}; //# sourceMappingURL=token_get_nft_infos.d.ts.map