UNPKG

@nuintun/qrcode

Version:

A pure JavaScript QRCode encode and decode library.

29 lines (28 loc) 564 B
/** * @module Kanji */ import { Mode } from '../../common/Mode.js'; import { BitArray } from '../../common/BitArray.js'; export declare class Kanji { #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; }