import { Translator } from "~/locale/useTranslation"; export declare const isAm: (d: Date) => boolean; export declare const isPm: (x0: Date) => boolean; /** * Format month number to the month title (2 -> February) */ export declare const monthTitle: (t: Translator, month: number) => string; /** * Format month number to the month short title (2 -> Feb) */ export declare const monthShortTitle: (t: Translator, month: number) => string; /** * Returns first 3 letters from a day corresponding to it's index */ export declare const dayTitle: (t: Translator, day: number) => string; /** * Checks if the date is not 'Invalid Date' */ export declare const isValidDate: (d: Date) => boolean; /** * Get Date from string */ export declare const fromStringToDate: (s: string) => Date | undefined;