char-info
Version:
Unicode character information library.
20 lines • 709 B
TypeScript
/** @external */
import type { Interval } from "node-interval-tree";
import DataIntervalTree from "node-interval-tree";
export interface UnicodeCharGroup {
name: string;
alias?: string;
intervals: Interval[];
displayName: string;
}
export interface UnicodeLookup {
allBlocks: DataIntervalTree<UnicodeCharGroup>;
allCategories: DataIntervalTree<UnicodeCharGroup>;
allScripts: DataIntervalTree<UnicodeCharGroup>;
blocks: Map<string, UnicodeCharGroup>;
categories: Map<string, UnicodeCharGroup>;
scripts: Map<string, UnicodeCharGroup>;
longCategoryToCode: Map<string, string>;
}
export declare const lookup: UnicodeLookup;
//# sourceMappingURL=unicode-lookup.d.ts.map