// 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 `TimeZoneIdMapperWithFastCanonicalization`](https://docs.rs/icu/latest/icu/timezone/struct.TimeZoneIdMapperWithFastCanonicalization.html) for more information. */ export class TimeZoneIdMapperWithFastCanonicalization { get ffiValue(): pointer; static create(provider: DataProvider): TimeZoneIdMapperWithFastCanonicalization; canonicalizeIana(value: string): string | null; canonicalIanaFromBcp47(value: string): string | null; }