UNPKG

lotus-sdk

Version:

Central repository for several classes of tools for integrating with, and building for, the Lotusia ecosystem

29 lines 931 B
import { Address } from './address.js'; export interface URIParams { address?: string; amount?: number; label?: string; message?: string; [key: string]: string | number | undefined; } export declare class URI { private _address?; private _amount?; private _label?; private _message?; private _otherParams; constructor(data: string | URIParams, knownParams?: string[]); static fromString(data: string): URI; static fromObject(data: URIParams): URI; static isValid(data: string | URIParams, knownParams?: string[]): boolean; private _fromString; private _fromObject; get address(): Address | undefined; get amount(): number | undefined; get label(): string | undefined; get message(): string | undefined; get otherParams(): Record<string, string>; toString(prefix?: string): string; toObject(): URIParams; } //# sourceMappingURL=uri.d.ts.map