1<?php
2
3/** @generate-class-entries */
4
5class Normalizer
6{
7    /** @cvalue NORMALIZER_FORM_D */
8    public const int FORM_D = UNKNOWN;
9    /** @cvalue NORMALIZER_NFD */
10    public const int NFD = UNKNOWN;
11    /** @cvalue NORMALIZER_FORM_KD */
12    public const int FORM_KD = UNKNOWN;
13    /** @cvalue NORMALIZER_NFKD */
14    public const int NFKD = UNKNOWN;
15    /** @cvalue NORMALIZER_FORM_C */
16    public const int FORM_C = UNKNOWN;
17    /** @cvalue NORMALIZER_NFC */
18    public const int NFC = UNKNOWN;
19    /** @cvalue NORMALIZER_FORM_KC */
20    public const int FORM_KC = UNKNOWN;
21    /** @cvalue NORMALIZER_NFKC */
22    public const int NFKC = UNKNOWN;
23#if U_ICU_VERSION_MAJOR_NUM >= 56
24    /** @cvalue NORMALIZER_FORM_KC_CF */
25    public const int FORM_KC_CF = UNKNOWN;
26    /** @cvalue NORMALIZER_NFKC_CF */
27    public const int NFKC_CF = UNKNOWN;
28#endif
29
30    /**
31     * @tentative-return-type
32     * @alias normalizer_normalize
33     */
34    public static function normalize(string $string, int $form = Normalizer::FORM_C): string|false {}
35
36    /**
37     * @tentative-return-type
38     * @alias normalizer_is_normalized
39     */
40    public static function isNormalized(string $string, int $form = Normalizer::FORM_C): bool {}
41
42#if U_ICU_VERSION_MAJOR_NUM >= 56
43    /**
44     * @tentative-return-type
45     * @alias normalizer_get_raw_decomposition
46     */
47    public static function getRawDecomposition(string $string, int $form = Normalizer::FORM_C): ?string {}
48#endif
49}
50