UNPKG

@nuintun/qrcode

Version:

A pure JavaScript QRCode encode and decode library.

29 lines (28 loc) 568 B
/** * @module Numeric */ import { Mode } from '../../common/Mode.js'; import { BitArray } from '../../common/BitArray.js'; export declare class Numeric { #private; /** * @constructor * @param content The content to encode. */ constructor(content: string); /** * @property mode * @description The mode of the segment. */ get mode(): Mode; /** * @property content * @description The content of the segment. */ get content(): string; /** * @method encode * @description Encode the segment. */ encode(): BitArray; }