import _m0 from "protobufjs/minimal"; import { AccountID, NftID } from "./basic_types"; import { QueryHeader } from "./query_header"; import { ResponseHeader } from "./response_header"; import { Timestamp } from "./timestamp"; export declare const protobufPackage = "proto"; /** * Applicable only to tokens of type NON_FUNGIBLE_UNIQUE. Gets info on a NFT for a given TokenID (of * type NON_FUNGIBLE_UNIQUE) and serial number */ export interface TokenGetNftInfoQuery { /** * 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 NFT */ nftID: NftID | undefined; } /** UNDOCUMENTED */ export interface TokenNftInfo { /** The ID of the NFT */ nftID: NftID | undefined; /** The current owner of the NFT */ accountID: AccountID | undefined; /** The effective consensus timestamp at which the NFT was minted */ creationTime: Timestamp | undefined; /** Represents the unique metadata of the NFT */ metadata: Uint8Array; /** The ledger ID the response was returned from; please see HIP-198 for the network-specific IDs. */ ledgerId: Uint8Array; /** If an allowance is granted for the NFT, its corresponding spender account */ spenderId: AccountID | undefined; } /** UNDOCUMENTED */ export interface TokenGetNftInfoResponse { /** * Standard response from node to client, including the requested fields: cost, or state proof, * or both, or neither */ header: ResponseHeader | undefined; /** The information about this NFT */ nft: TokenNftInfo | undefined; } export declare const TokenGetNftInfoQuery: { encode(message: TokenGetNftInfoQuery, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TokenGetNftInfoQuery; fromJSON(object: any): TokenGetNftInfoQuery; toJSON(message: TokenGetNftInfoQuery): unknown; create(base?: DeepPartial): TokenGetNftInfoQuery; fromPartial(object: DeepPartial): TokenGetNftInfoQuery; }; export declare const TokenNftInfo: { encode(message: TokenNftInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TokenNftInfo; fromJSON(object: any): TokenNftInfo; toJSON(message: TokenNftInfo): unknown; create(base?: DeepPartial): TokenNftInfo; fromPartial(object: DeepPartial): TokenNftInfo; }; export declare const TokenGetNftInfoResponse: { encode(message: TokenGetNftInfoResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TokenGetNftInfoResponse; fromJSON(object: any): TokenGetNftInfoResponse; toJSON(message: TokenGetNftInfoResponse): unknown; create(base?: DeepPartial): TokenGetNftInfoResponse; fromPartial(object: DeepPartial): TokenGetNftInfoResponse; }; 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_info.d.ts.map