import type { Signer } from '@ethersproject/abstract-signer'; import type Parcel from '@oasislabs/parcel'; declare type DirectoryStorer = (files: File[]) => Promise; export declare class Bundle { readonly manifest: Manifest; private readonly files; private readonly progress; private constructor(); static create(filesList: FileList): Promise; mint(parcel: Parcel, signer: Signer, storeDirectory: DirectoryStorer): Promise<{ address: string; baseUri: string; }>; private deployTreasuryContract; private deployNFTContract; private uploadPublicImages; private createParcelTokens; private uploadMetadatas; private uploadAndTokenizePrivateData; } interface Manifest { /** The title of the NFT collection. */ title: string; /** The ticker symbol of the NFT collection. */ symbol: string; /** The initial base URI of the collection. The default is none. */ initialBaseUri?: string; /** Configuration of mint-time parameters. If empty, public minting will be disabled. */ minting?: MintingOptions; /** Configuration of each item in the collection. */ nfts: NftDescriptor[]; } interface MintingOptions { /** The amount of items a member of the premint list can mint. */ maxPremintCount: number; /** The amount of ROSE paid for one token by premint-listed accounts. */ premintPrice: number; /** The maximum number of tokens mintable by an individual account. */ maxMintCount: number; /** The quantity of ROSE paid for one token by the general public. */ mintPrice: number; } interface NftDescriptor { /** The title of the individual item. */ title?: string; /** The description of the individual item. */ description?: string; /** The name of the selected file that will be the item's public image. */ publicImage: string; /** The name of the selected file that will be the item's private data. */ privateData: string; /** Attribute data dumped directly into the NFT metadata JSON. */ attributes: object[]; } export declare class ValidationErrors { readonly validationErrors: string[]; constructor(validationErrors: string[]); appending(errorOrErrors: string | string[]): ValidationErrors; } export {};