import { Address } from '../account'; import { UInt64 } from '../UInt64'; import { MosaicFlags } from './MosaicFlags'; import { MosaicId } from './MosaicId'; /** * The mosaic info structure describes a mosaic. */ export declare class MosaicInfo { /** * Version */ readonly version: number; /** * The database record id. */ readonly recordId: string; /** * The mosaic id. */ readonly id: MosaicId; /** * The mosaic supply. */ readonly supply: UInt64; /** * The block height were mosaic was created. */ readonly startHeight: UInt64; /** * The mosaic owner address. */ readonly ownerAddress: Address; /** * The mosaic revision */ readonly revision: number; /** * The mosaic flags. */ readonly flags: MosaicFlags; /** * Mosaic divisibility */ readonly divisibility: number; /** * Mosaic duration */ readonly duration: UInt64; /** * @param version * @param recordId * @param id * @param supply * @param startHeight * @param ownerAddress * @param revision * @param flags * @param divisibility * @param duration */ constructor( /** * Version */ version: number, /** * The database record id. */ recordId: string, /** * The mosaic id. */ id: MosaicId, /** * The mosaic supply. */ supply: UInt64, /** * The block height were mosaic was created. */ startHeight: UInt64, /** * The mosaic owner address. */ ownerAddress: Address, /** * The mosaic revision */ revision: number, /** * The mosaic flags. */ flags: MosaicFlags, /** * Mosaic divisibility */ divisibility: number, /** * Mosaic duration */ duration: UInt64); /** * Is mosaic supply mutable * @returns {boolean} */ isSupplyMutable(): boolean; /** * Is mosaic transferable * @returns {boolean} */ isTransferable(): boolean; /** * Is mosaic restrictable * @returns {boolean} */ isRestrictable(): boolean; /** * Generate buffer * @return {Uint8Array} */ serialize(): Uint8Array; }