import { MosaicIdDto } from 'twix-catbuffer-typescript'; import { Address } from '../account/Address'; import { Id } from '../Id'; import { MosaicNonce } from '../mosaic/MosaicNonce'; /** * The mosaic id structure describes mosaic id * * @since 1.0 */ export declare class MosaicId { /** * Mosaic id */ readonly id: Id; /** * Create a MosaicId for given `nonce` MosaicNonce and `owner` PublicAccount. * * @param nonce {MosaicNonce} * @param ownerAddress {Address} * @return {MosaicId} */ static createFromNonce(nonce: MosaicNonce, ownerAddress: Address): MosaicId; /** * Create MosaicId from mosaic id in form of array of number (ex: [3646934825, 3576016193]) * or the hexadecimal notation thereof in form of a string. * * @param id */ constructor(id: string | number[]); /** * Get string value of id * @returns {string} */ toHex(): string; /** * Compares mosaicIds for equality. * * @return boolean */ equals(other: any): boolean; /** * Create Builder object. */ toBuilder(): MosaicIdDto; /** * returns that this instance is an alias. */ isNamespaceId(): boolean; /** * returns that the instance is not address */ isAddress(): boolean; /** * returns that the instance is a mosaic id */ isMosaicId(): boolean; }