/// import { BN, web3 } from '@project-serum/anchor'; export declare const METADATA_REPLACE: RegExp; export declare class Creator { address: web3.PublicKey; verified: boolean; share: number; constructor(args: { address: web3.PublicKey; verified: boolean; share: number; }); } export declare enum MetadataKey { Uninitialized = 0, MetadataV1 = 4, EditionV1 = 1, MasterEditionV1 = 2, MasterEditionV2 = 6, EditionMarker = 7 } export declare class MasterEditionV2 { key: MetadataKey; supply: BN; maxSupply?: BN; constructor(args: { key: MetadataKey; supply: BN; maxSupply?: BN; }); } export declare class EditionMarker { key: MetadataKey; ledger: number[]; constructor(args: { key: MetadataKey; ledger: number[]; }); } export declare class Edition { key: MetadataKey; parent: web3.PublicKey; edition: BN; constructor(args: { key: MetadataKey; parent: web3.PublicKey; edition: BN; }); } export declare class Data { name: string; symbol: string; uri: string; sellerFeeBasisPoints: number; creators: Creator[] | null; constructor(args: { name: string; symbol: string; uri: string; sellerFeeBasisPoints: number; creators: Creator[] | null; }); } export declare class Metadata { key: MetadataKey; updateAuthority: web3.PublicKey; mint: web3.PublicKey; data: Data; primarySaleHappened: boolean; isMutable: boolean; masterEdition?: web3.PublicKey; edition?: web3.PublicKey; constructor(args: { updateAuthority: web3.PublicKey; mint: web3.PublicKey; data: Data; primarySaleHappened: boolean; isMutable: boolean; masterEdition?: web3.PublicKey; }); } export declare const METADATA_SCHEMA: Map; export declare type AssetKey = { mediaExt: string; index: string; }; export declare const parseMasterEditionV2: (buffer: Buffer) => MasterEditionV2; export declare const parseMetadata: (buffer: Buffer) => Metadata; export declare const parseEditionMarker: (buffer: Buffer) => EditionMarker; export declare const parseEdition: (buffer: Buffer) => Edition; //# sourceMappingURL=parseData.d.ts.map