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