import { Temporal } from '@js-temporal/polyfill-patched'; import { PickerOptions, PickerOptionsWithResolvedCalendar, SupportedCalendar } from '../types'; import { AnyPlainDate } from './plainDate'; type LocaliseDateLabel = (selectedDate: AnyPlainDate, localeOptions: { calendar: SupportedCalendar; locale: string; }, options?: { dateStyle: 'full' | 'long' | 'medium' | 'short' | undefined; }) => string; export declare const localiseWeekDayLabel: (date: AnyPlainDate, localeOptions: PickerOptionsWithResolvedCalendar) => string; export declare const localiseYear: (date: AnyPlainDate, localeOptions: PickerOptions, format: Intl.DateTimeFormatOptions) => string | number; declare const localisationHelpers: { localiseYear: (date: AnyPlainDate, localeOptions: PickerOptions, format: Intl.DateTimeFormatOptions) => string | number; localiseDateLabel: LocaliseDateLabel; localiseWeekLabel: (date: AnyPlainDate, localeOptions: PickerOptions) => string | number; localiseMonth: (date: AnyPlainDate | Temporal.PlainYearMonth | Temporal.PlainDateLike | { month: number; }, localeOptions: PickerOptions, format: Intl.DateTimeFormatOptions) => string | undefined; localiseWeekDayLabel: (date: AnyPlainDate, localeOptions: PickerOptionsWithResolvedCalendar) => string; }; export default localisationHelpers;