import { YearMonthDayString, DateString, DateConstructorType } from 'bloko/blocks/calendar/datesHelper'; import { CalendarLanguage, CalendarTranslations, CalendarTranslator } from 'bloko/blocks/calendar/translations'; export declare enum CalendarPickerAndSwitcherKind { Day = "day", Month = "month", Year = "year" } export declare const translator: (language: CalendarLanguage, translations?: CalendarTranslations) => CalendarTranslator; export declare enum CalendarEnrichOptionName { IsHighlighted = "isHighlighted", IsDisabled = "isDisabled", IsWeekend = "isWeekend", IsToday = "isToday", IsBegin = "isBegin", IsEnd = "isEnd" } type EnrichIfPresent = { [key in T]: boolean; } & { date: Date; }; export type EnrichIfPresentWithOptionName = EnrichIfPresent[]; export declare const enrichIfPresent: (calendarDates: { date: Date; }[], dates: Date[], optionName: T) => EnrichIfPresent[]; export type DisabledWeekdays = (0 | 1 | 2 | 3 | 4 | 5 | 6)[]; export declare const calculateDisabledDates: (calendarDates: EnrichIfPresent[], disabledDates: Date[], isDisabledPartMonth: boolean, currentDate: Date, disabledWeekdays: DisabledWeekdays, disableDaysBeforeDate?: DateConstructorType, disableDaysAfterDate?: DateConstructorType) => Date[]; export declare const calculateWeekends: (dates: { date: Date; }[]) => Date[]; export declare const prepareCalendarDates: (date: Date, highlightedDates?: Date[], disabledDates?: DateString[], disabledWeekdays?: DisabledWeekdays, disablePartMonth?: boolean, disableDaysBeforeDate?: DateConstructorType, disableDaysAfterDate?: DateConstructorType, showInterval?: boolean) => EnrichIfPresent[]; export declare const makeHighlightedInterval: ({ startString, endString, }: { startString?: string | undefined; endString?: string | undefined; }) => YearMonthDayString[]; export {};