/** Code point intervals `[lo, hi]`, sorted and apart. */ export type CodePointRanges = readonly (readonly [number, number])[]; /** Whether `bytes` is a TrueType or OpenType file (or a collection of * them), the kind {@link sfntCodePointRanges} reads. */ export declare function isSfnt(bytes: Uint8Array): boolean; /** * The characters a TrueType or OpenType file (the first face of a * collection) maps to a glyph, as sorted intervals: the Unicode subtable a * browser reads (a full-repertoire one, format 12 or 13, else the BMP's * format 4), or, in a symbol font, its private-use codes and the Latin-1 * codes they stand for. Null when the bytes are not such a file or have no * Unicode `cmap` (a WOFF or WOFF2 file, a damaged one). */ export declare function sfntCodePointRanges(bytes: Uint8Array): CodePointRanges | null; /** Whether `ranges` hold `cp` (a binary search). */ export declare function rangesHave(ranges: CodePointRanges, cp: number): boolean; /** The part of `ranges` inside `within` (a slice's `unicode-range`). */ export declare function intersectRanges(ranges: CodePointRanges, within: CodePointRanges): [number, number][]; /** The union of several interval lists. */ export declare function unionRanges(lists: readonly CodePointRanges[]): [number, number][]; //# sourceMappingURL=cmap.d.ts.map