// generated by diplomat-tool import type { DataError } from "./DataError" import type { DataProvider } from "./DataProvider" import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
/** *Seethe[Rustdocumentationfor`DecomposingNormalizer`](https://docs.rs/icu/2.1.1/icu/normalizer/struct.DecomposingNormalizer.html) for more information.
*/
export class DecomposingNormalizer { /** @internal */
get ffiValue(): pointer; /** @internal */
constructor();
/** *ConstructanewDecomposingNormalizerinstanceforNFDusingcompileddata. * *Seethe[Rustdocumentationfor`new_nfd`](https://docs.rs/icu/2.1.1/icu/normalizer/struct.DecomposingNormalizer.html#method.new_nfd) for more information.
*/ static createNfd(): DecomposingNormalizer;
/** *ConstructanewDecomposingNormalizerinstanceforNFDusingaparticulardatasource. * *Seethe[Rustdocumentationfor`new_nfd`](https://docs.rs/icu/2.1.1/icu/normalizer/struct.DecomposingNormalizer.html#method.new_nfd) for more information.
*/ static createNfdWithProvider(provider: DataProvider): DecomposingNormalizer;
/** *ConstructanewDecomposingNormalizerinstanceforNFKDusingcompileddata. * *Seethe[Rustdocumentationfor`new_nfkd`](https://docs.rs/icu/2.1.1/icu/normalizer/struct.DecomposingNormalizer.html#method.new_nfkd) for more information.
*/ static createNfkd(): DecomposingNormalizer;
/** *ConstructanewDecomposingNormalizerinstanceforNFKDusingaparticulardatasource. * *Seethe[Rustdocumentationfor`new_nfkd`](https://docs.rs/icu/2.1.1/icu/normalizer/struct.DecomposingNormalizer.html#method.new_nfkd) for more information.
*/ static createNfkdWithProvider(provider: DataProvider): DecomposingNormalizer;
/** *Normalizeastring * *Ill-formedinputistreatedasiferrorshadbeenreplacedwithREPLACEMENTCHARACTERsaccording *totheWHATWGEncodingStandard. * *Seethe[Rustdocumentationfor`normalize_utf8`](https://docs.rs/icu/2.1.1/icu/normalizer/struct.DecomposingNormalizerBorrowed.html#method.normalize_utf8) for more information.
*/
normalize(s: string): string;
/** *Checkifastringisnormalized * *Ill-formedinputistreatedasiferrorshadbeenreplacedwithREPLACEMENTCHARACTERsaccording *totheWHATWGEncodingStandard. * *Seethe[Rustdocumentationfor`is_normalized_utf16`](https://docs.rs/icu/2.1.1/icu/normalizer/struct.DecomposingNormalizerBorrowed.html#method.is_normalized_utf16) for more information.
*/
isNormalized(s: string): boolean;
/** *Returntheindexasliceofpotentially-invalidUTF-16isnormalizedupto * *Seethe[Rustdocumentationfor`split_normalized_utf16`](https://docs.rs/icu/2.1.1/icu/normalizer/struct.DecomposingNormalizerBorrowed.html#method.split_normalized_utf16) for more information.
*/
isNormalizedUpTo(s: string): number;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.