• 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 `ComposingNormalizer`](https://docs.rs/icu/latest/icu/normalizer/struct.ComposingNormalizer.html) for more information.
8*/
9
10
11export class ComposingNormalizer {
12
13    get ffiValue(): pointer;
14
15    static createNfc(): ComposingNormalizer;
16
17    static createNfcWithProvider(provider: DataProvider): ComposingNormalizer;
18
19    static createNfkc(): ComposingNormalizer;
20
21    static createNfkcWithProvider(provider: DataProvider): ComposingNormalizer;
22
23    normalize(s: string): string;
24
25    isNormalized(s: string): boolean;
26
27    isNormalizedUpTo(s: string): number;
28}