import { Option } from "./utils"; /** This spec can be treated like a version of the standard. */ export declare const NFT_METADATA_SPEC = "nft-1.0.0"; /** Metadata for the NFT contract itself. */ export declare class NFTContractMetadata { spec: string; name: string; symbol: string; icon: Option; base_uri: Option; reference: Option; reference_hash: Option; constructor(); init(spec: string, name: string, symbol: string, icon: Option, base_uri: Option, reference: Option, reference_hash: Option): void; assert_valid(): void; static reconstruct(data: NFTContractMetadata): NFTContractMetadata; } /** Metadata on the individual token level. */ export declare class TokenMetadata { title: Option; description: Option; media: Option; media_hash: Option; copies: Option; issued_at: Option; expires_at: Option; starts_at: Option; updated_at: Option; extra: Option; reference: Option; reference_hash: Option; constructor(title: Option, // ex. "Arch Nemesis: Mail Carrier" or "Parcel #5055" description: Option, // free-form description media: Option, // URL to associated media, preferably to decentralized, content-addressed storage media_hash: Option, // Base64-encoded sha256 hash of content referenced by the `media` field. Required if `media` is included. copies: Option, // number of copies of this set of metadata in existence when token was minted. issued_at: Option, // ISO 8601 datetime when token was issued or minted expires_at: Option, // ISO 8601 datetime when token expires starts_at: Option, // ISO 8601 datetime when token starts being valid updated_at: Option, // ISO 8601 datetime when token was last updated extra: Option, // anything extra the NFT wants to store on-chain. Can be stringified JSON. reference: Option, // URL to an off-chain JSON file with more info. reference_hash: Option); assert_valid(): void; static reconstruct(data: TokenMetadata): TokenMetadata; } /** Offers details on the contract-level metadata. */ export interface NonFungibleTokenMetadataProvider { nft_metadata(): NFTContractMetadata; }