import type { Dayjs } from 'dayjs';
import type { TranslationFunction, TranslationPack } from '../../../i18n';
import type { DateParts } from './DateTimeInput.types';
export declare const getDayOfWeek: (date: Date | Dayjs, calendarType?: string, timeZone?: string) => number;
export declare const getWeekdays: (calendarType: string) => Date[];
export declare function getDayOfWeekNamesMap(localeTag?: string): {
    [k: string]: string;
};
export declare const getWeek: (date: Date, calendarType?: string, timeZone?: string) => number;
export declare const getWeekYear: (date: Date, calendarType?: string, timeZone?: string) => number;
export declare const getCalendarTypeFromLocale: (localeTag?: string) => string;
export declare const getDateOfISOWeek: (week: number, year: number) => Date;
export declare const parseToDate: (value: string | number | Date) => Date;
export type QuarterNumber = 1 | 2 | 3 | 4;
export declare function getQuarter(date: string | number | Date): QuarterNumber;
export declare function getQuarterForDateTimeZone(date: Date, timeZone?: string): QuarterNumber;
export declare const getDateTimeParts: (localeTag: string, options?: Intl.DateTimeFormatOptions | undefined, labelFormat?: boolean) => string[];
export declare const getStartOfWeek: (date: Date, calendarType?: string, timeZone?: string) => Date;
export declare const getEndOfWeek: (date: Date, calendarType?: string, timeZone?: string) => Date;
export declare const convertWeekYearToDate: ({ week, year }: DateParts<string | undefined>) => DateParts<string> | undefined;
export type ClockFormat = 12 | 24;
export declare const is12HClockFormat: (localeTag: string) => boolean;
export declare const getLocalizedMonths: (localeTag?: string) => string[];
export declare const getLocalizedYear: (year: number, localeTag?: string) => string;
export declare const getLocalizedWeekDays: (localeTag?: string) => {
    [key: number]: string;
};
export declare const MS_IN_SECOND = 1000;
export declare const MS_IN_MINUTE: number;
export declare const MS_IN_HOUR: number;
export declare const MS_IN_DAY: number;
export declare const msToTimeFormat: (ms: number) => {
    hour?: number;
    minute?: number;
    second?: number;
};
export declare const timeFormatToMs: ({ hour, minute, second }: {
    hour: number;
    minute: number;
    second: number;
}) => number;
export declare const msToTimeUnit: (ms: number, format: string) => number;
export declare const timeUnitToMs: (count: number, format: string) => number;
export declare const getTimeOptions: (withSeconds: boolean, is12h?: boolean) => {
    readonly hour12: boolean;
    readonly second?: "numeric" | undefined;
    readonly hour: "numeric";
    readonly minute: "numeric";
};
export declare const validateDate: (year: number, month: number, day: number) => boolean;
export declare const validateTime: (hour: number, minute: number, second: number, millisecond: number, is12h: boolean) => boolean;
export declare const validateDateTime: (year: number, month: number, day: number, hour: number, minute: number, second: number, millisecond: number, is12h: boolean) => boolean;
export declare const toUTCDateString: (date: Date, format?: Intl.DateTimeFormat) => string;
export declare const isISODate: (value: string) => boolean;
export declare const isTime: (value: string) => boolean;
export declare const parsePastedTextToDate: (value: string, localeTag: string, currentDate: Date, type?: "date" | "datetime") => Date | undefined;
export declare const getSelectedDateInfoText: (date: Date | undefined, type: "date" | "datetime" | "week", locale: string, translateFn: TranslationFunction<TranslationPack>, is12h?: boolean) => string;
export declare const generatePickerButtonAriaLabel: (date: Date | undefined, type: "date" | "datetime" | "week", locale: string, translateFn: TranslationFunction<TranslationPack>, open: boolean, is12h?: boolean) => string;
export declare const getDateFormat: (t: TranslationFunction<TranslationPack>, localeTag: string, type: "date" | "time" | "time+seconds" | "datetime" | "datetime+seconds") => string;
//# sourceMappingURL=utils.d.ts.map