import type { DateTranslations } from '../i18n/date/types'; type FormatType = `iso` | 'iso8601' | 'iso-datetime' | 'iso8601-datetime'; interface DateObject { year: string; year4: string; month: string; month2: string; month3: string; month4: string; day: string; day2: string; weekDay: string; weekDay2: string; weekDay3: string; weekDay4: string; hour: string; hour2: string; minute: string; minute2: string; second: string; second2: string; } export type DateBuilderFunction = (dateObject: DateObject, date: Date) => string; type FormatDateOption = { build?: DateBuilderFunction; format?: unknown; } | { build?: unknown; format?: FormatType; }; export declare function loadDateLocale(translations: DateTranslations): void; export declare function dateToObject(date: Date): DateObject; export declare function formatDate(date: Date, builder: DateBuilderFunction): string; export declare function formatDate(date: Date, format: FormatType): string; export declare function buildDate(options?: FormatDateOption | FormatType): string; export declare function buildDate(date?: string | Date, options?: FormatDateOption | FormatType): string; export {}; //# sourceMappingURL=date.d.ts.map