// 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`ComposingNormalizer`](https://docs.rs/icu/2.1.1/icu/normalizer/struct.ComposingNormalizer.html) for more information.
*/
export class ComposingNormalizer { /** @internal */
get ffiValue(): pointer; /** @internal */
constructor();
/** *ConstructanewComposingNormalizerinstanceforNFCusingcompileddata. * *Seethe[Rustdocumentationfor`new_nfc`](https://docs.rs/icu/2.1.1/icu/normalizer/struct.ComposingNormalizer.html#method.new_nfc) for more information.
*/ static createNfc(): ComposingNormalizer;
/** *ConstructanewComposingNormalizerinstanceforNFCusingaparticulardatasource. * *Seethe[Rustdocumentationfor`new_nfc`](https://docs.rs/icu/2.1.1/icu/normalizer/struct.ComposingNormalizer.html#method.new_nfc) for more information.
*/ static createNfcWithProvider(provider: DataProvider): ComposingNormalizer;
/** *ConstructanewComposingNormalizerinstanceforNFKCusingcompileddata. * *Seethe[Rustdocumentationfor`new_nfkc`](https://docs.rs/icu/2.1.1/icu/normalizer/struct.ComposingNormalizer.html#method.new_nfkc) for more information.
*/ static createNfkc(): ComposingNormalizer;
/** *ConstructanewComposingNormalizerinstanceforNFKCusingaparticulardatasource. * *Seethe[Rustdocumentationfor`new_nfkc`](https://docs.rs/icu/2.1.1/icu/normalizer/struct.ComposingNormalizer.html#method.new_nfkc) for more information.
*/ static createNfkcWithProvider(provider: DataProvider): ComposingNormalizer;
/** *Normalizeastring * *Ill-formedinputistreatedasiferrorshadbeenreplacedwithREPLACEMENTCHARACTERsaccording *totheWHATWGEncodingStandard. * *Seethe[Rustdocumentationfor`normalize_utf8`](https://docs.rs/icu/2.1.1/icu/normalizer/struct.ComposingNormalizerBorrowed.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.ComposingNormalizerBorrowed.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.ComposingNormalizerBorrowed.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.