import _m0 from "protobufjs/minimal"; import { AccountID } 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 owned by the * specified accountId. * Example: If Account A owns 5 NFTs (might be of different Token Entity), having start=0 and end=5 * will return all of the NFTs * * 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_ACCOUNT_ID response code will be returned if the queried account does not exist * * ACCOUNT_DELETED response code will be returned if the queried account has been deleted */ export interface TokenGetAccountNftInfosQuery { /** * 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 Account for which information is requested */ accountID: AccountID | 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; } /** UNDOCUMENTED */ export interface TokenGetAccountNftInfosResponse { /** * Standard response from node to client, including the requested fields: cost, or state proof, * or both, or neither */ header: ResponseHeader | undefined; /** List of NFTs associated to the account */ nfts: TokenNftInfo[]; } export declare const TokenGetAccountNftInfosQuery: { encode(message: TokenGetAccountNftInfosQuery, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TokenGetAccountNftInfosQuery; fromJSON(object: any): TokenGetAccountNftInfosQuery; toJSON(message: TokenGetAccountNftInfosQuery): unknown; create(base?: DeepPartial): TokenGetAccountNftInfosQuery; fromPartial(object: DeepPartial): TokenGetAccountNftInfosQuery; }; export declare const TokenGetAccountNftInfosResponse: { encode(message: TokenGetAccountNftInfosResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TokenGetAccountNftInfosResponse; fromJSON(object: any): TokenGetAccountNftInfosResponse; toJSON(message: TokenGetAccountNftInfosResponse): unknown; create(base?: DeepPartial): TokenGetAccountNftInfosResponse; fromPartial(object: DeepPartial): TokenGetAccountNftInfosResponse; }; 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_account_nft_infos.d.ts.map