import { UnitGroupConfig, UnitConfig } from './types'; type DateUnits = 'datetime-iso' | 'datetime-us' | 'datetime-local' | 'date-iso' | 'date-us' | 'date-local' | 'time-local' | 'time-iso' | 'time-us' | 'relative-time' | 'unix-timestamp' | 'unix-timestamp-ms'; export type DateFormatOptions = { unit?: DateUnits; /** * The locale to use for formatting. Defaults to the system's locale. */ locale?: string; /** * The timezone to use for formatting. Defaults to the user's local timezone. */ timeZone?: string; /** * For relative time formatting, the reference time to compare against. * Defaults to current time. */ referenceTime?: number; /** * This property is not used for date formatting, but is included for * compatibility with the FormatControls UI component. */ decimalPlaces?: number; }; export declare const DATE_GROUP_CONFIG: UnitGroupConfig; export declare const DATE_UNIT_CONFIG: Readonly>; export declare function formatDate(value: number, options?: DateFormatOptions): string; export {}; //# sourceMappingURL=date.d.ts.map