/** * The 47 prefecture names, in kanji. * * Overture's `address_levels[0]` holds occasional junk (`東京都1`), which this set excludes. */ export declare const JP_PREFECTURE_NAMES: ReadonlySet; /** * The variant hyphens a keyboard or IME emits, for the robustness fraction. * * U+30FC is the one a Japanese IME produces from the key beside 0 in kana mode. */ export declare const VARIANT_HYPHENS: readonly string[]; /** * A name field (prefecture, municipality or street): NFC, half-width kana folded, * every whitespace character removed. * * Hyphens are kept, because U+30FC is a katakana character in a name, and itaiji are not folded. */ export declare function normalizeJPName(text: string): string; /** * A number field: NFC, half-width kana folded, and every hyphen equivalent folded to `-`. */ export declare function normalizeJPNumber(text: string): string; /** * An Overture `street` value split into its district and its chōme number, * or `null` for the number when it has no trailing 丁目. * * `八島町二丁目` splits to `八島町` and 2, `字崎枝` to itself and `null`, `二丁目` to `""` and 2. * A non-trailing 丁目 stays whole as the district. */ export declare function splitJPStreet(street: string): readonly [district: string, chome: number | null]; //# sourceMappingURL=text.d.ts.map