export declare const pad: (value: number, length?: number) => string; export declare const getFormatter: (locale: string | undefined, options: Intl.DateTimeFormatOptions) => Intl.DateTimeFormat; export declare const formatTwoDigits: (value: number, locale?: string) => string; export declare const numericDateOptions: Intl.DateTimeFormatOptions; /** A moment whose every field differs, to read a locale's format from. */ export declare const PROBE: Date; type Field = 'year' | 'month' | 'day' | 'hour' | 'minute'; /** * A hint like `DD.MM.YYYY` or `hh:mm AM/PM` for a text field's supporting text, written the way the * locale formats with `options`. `dayPeriod` stands in for the locale's AM and PM. */ export declare const getPattern: (locale: string | undefined, options: Intl.DateTimeFormatOptions, dayPeriod?: string) => string; /** * Splits typed text into its numbers and names each by the field the locale writes in its place. * The field order comes from the locale's own format rather than a per-locale regex. Digits typed * without separators, such as 08172025, are cut into the fields when they fill them exactly. Text * with a number too many or too few is not read. */ export declare const readFields: (value: string, locale: string | undefined, options: Intl.DateTimeFormatOptions) => Partial> | undefined; export {};