// generated by diplomat-tool import type { DataProvider } from "./DataProvider" import type { DateTime } from "./DateTime" import type { DateTimeFormatterLoadError } from "./DateTimeFormatterLoadError" import type { DateTimeLength } from "./DateTimeLength" import type { IsoDateTime } from "./IsoDateTime" import type { Locale } from "./Locale" import type { Time } from "./Time" import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; /** An ICU4X TimeFormatter object capable of formatting an [`Time`] type (and others) as a string * *See the [Rust documentation for `datetime`](https://docs.rs/icu/latest/icu/datetime/index.html) for more information. */ export class TimeFormatter { get ffiValue(): pointer; static createWithLength(provider: DataProvider, locale: Locale, length: DateTimeLength): TimeFormatter; formatTime(value: Time): string; formatDatetime(value: DateTime): string; formatIsoDatetime(value: IsoDateTime): string; }