import dayjs, { Dayjs } from "dayjs"; import { TFunction } from "i18next"; import { PastTime, PickerDateRange, RelativeTimeDirection } from "./dateRangePicker.type"; export declare const BASIC_RELATIVE_TIME_CONFIG: PastTime[]; export declare function getTime(year: number, month: number, date: number): Dayjs; export declare function trimTime(time: Dayjs): Dayjs; export declare function isSameDate(first: Dayjs, second: Dayjs): boolean; export declare function getClassNameForDateBlock(range: PickerDateRange, date: Dayjs, mapOfHighlightDay: Map, disabled: boolean): string; export declare function getDiffMonthAndDate(first: Dayjs, second: Dayjs): string[]; export declare function time2stringByUnit(time: string, type: "h" | "m" | "s"): string; export declare function time2string(time: number): string; export declare function normalizeRelativeTime(date: Omit | PastTime, defaultType?: RelativeTimeDirection): PastTime; export declare function getRelativeTimeRange(date: Omit | PastTime, defaultType?: RelativeTimeDirection, nowDate?: Dayjs): PickerDateRange; export declare function getEffectiveAbsoluteTimeBounds(type?: RelativeTimeDirection, minDate?: string | Dayjs | undefined, maxDate?: string | Dayjs | undefined, nowDate?: Dayjs): { minDate: string | dayjs.Dayjs | undefined; maxDate: string | dayjs.Dayjs | undefined; }; export declare function isAbsoluteTimeRangeWithinBounds(range: PickerDateRange, minDate?: string | Dayjs, maxDate?: string | Dayjs): boolean; export declare function hasAbsoluteTimeRangeIntersection(range: PickerDateRange, minDate?: string | Dayjs, maxDate?: string | Dayjs): boolean; export declare function clampAbsoluteTimeRangeToBounds(range: PickerDateRange, minDate?: string | Dayjs, maxDate?: string | Dayjs): PickerDateRange | undefined; export declare function getDateText(date: Omit | PastTime, t: TFunction, defaultType?: RelativeTimeDirection): string; export declare function checkDateNotInRange(date: Dayjs, minDate?: string | Dayjs | undefined, maxDate?: string | Dayjs | undefined): boolean; export declare function copyDay(day: Dayjs): Dayjs;