import { Dayjs } from 'dayjs';
import 'dayjs/locale/th';
import { DurationUnitType } from 'dayjs/plugin/duration';
export declare const DATE_TIME_FORMAT_CALENDAR: {
    year: string;
    monthAndYear: string;
    keyboardDate: string;
};
export declare const convertMinuteToArrayNumber: (minutes: number) => number[];
export declare const convertArrayNumberToMinute: (arr: (number | undefined)[]) => number;
export declare const convertMinuteToDuration: (value: number, type: any) => number;
export declare const convertDurationToMinute: (value: number, type: DurationUnitType) => number;
export declare const isExpired: (date: string | Date) => boolean;
export declare const isCardExpired: (expiration: string) => boolean;
export declare const convertTimeToMinutes: (timeString: string) => number;
export declare const convertMinutesToTime: (totalMinutes: number) => string;
export declare const convertMinutesToDayjs: (totalMinutes: number) => Dayjs;
export declare const isTimeBefore: (time1: string, time2: string) => boolean;
export declare const isTimeAfter: (time1: string, time2: string) => boolean;
export declare const isTimeInRange: (start_time: string, end_time: string, current_time: string) => boolean;
export interface TimeRange {
    start_time: string;
    end_time: string;
}
export declare const isTimeRangeOverlapping: (range1: TimeRange, range2: TimeRange) => boolean;
export declare const getDates: (startDate: string, endDate: string, format: "DD/MM/YYYY" | "YYYY-MM-DD") => string[];
export interface TimeRangeDayjs {
    startTime: Dayjs | null;
    endTime: Dayjs | null;
}
export declare const checkOverlappingDayjs: (timeRanges: TimeRangeDayjs[]) => boolean;
export declare const displayTime: (date?: Date) => string;
export declare const displayDate: (date?: Date | string) => string;
export declare const isToday: (date?: Date | string) => boolean;
export declare const displayLongDate: (date?: Date | string) => string;
export declare const displayDateTime: (date?: Date | string) => string;
export declare const setDayjsLocale: (locale: string) => void;
export declare const setDayjsTimeZone: (timezone: string) => void;
export declare const getRemainingDays: (date: string | Date | null) => number;
export declare const formatDate: (date?: Date | string) => string;
