// generated by diplomat-tool import type { DataError } from "./DataError" import type { DataProvider } from "./DataProvider" import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; /** A mapper between IANA time zone identifiers and BCP-47 time zone identifiers. * *This mapper supports two-way mapping, but it is optimized for the case of IANA to BCP-47. *It also supports normalizing and canonicalizing the IANA strings. * *See the [Rust documentation for `TimeZoneIdMapper`](https://docs.rs/icu/latest/icu/timezone/struct.TimeZoneIdMapper.html) for more information. */ export class TimeZoneIdMapper { get ffiValue(): pointer; static create(provider: DataProvider): TimeZoneIdMapper; ianaToBcp47(value: string): string; normalizeIana(value: string): string | null; canonicalizeIana(value: string): string | null; findCanonicalIanaFromBcp47(value: string): string | null; }