• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// generated by diplomat-tool
2import type { DataError } from "./DataError"
3import type { DataProvider } from "./DataProvider"
4import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
5
6
7/** See the [Rust documentation for `DecomposingNormalizer`](https://docs.rs/icu/latest/icu/normalizer/struct.DecomposingNormalizer.html) for more information.
8*/
9
10
11export class DecomposingNormalizer {
12
13    get ffiValue(): pointer;
14
15    static createNfd(): DecomposingNormalizer;
16
17    static createNfdWithProvider(provider: DataProvider): DecomposingNormalizer;
18
19    static createNfkd(): DecomposingNormalizer;
20
21    static createNfkdWithProvider(provider: DataProvider): DecomposingNormalizer;
22
23    normalize(s: string): string;
24
25    isNormalized(s: string): boolean;
26
27    isNormalizedUtf16(s: string): boolean;
28
29    isNormalizedUpTo(s: string): number;
30
31    isNormalizedUtf16UpTo(s: string): number;
32}