import { PeriodEnum, type FirestoreTimestamp } from "../types/types"; import { type unitOfTime } from "moment"; export declare function getDateWith(yearChange: number): Date; export declare function getDateTime(date: string | Date | any): number; export declare function momentDiff({ startDate, endDate, unit }: { startDate: Date; endDate?: Date; unit: unitOfTime.Diff; }): number; export declare function yearsDiff(startDate: Date, endDate?: Date): number; export declare function monthsDiff(startDate: Date, endDate?: Date): number; export declare function daysDiff(startDate: Date, endDate?: Date): number; export declare function hoursDiff(startDate: Date, endDate?: Date): number; export declare function minutesDiff(startDate: Date, endDate?: Date): number; export declare function getPeriodDates(period: PeriodEnum, currentDate?: Date): { startDate: Date | null; endDate: Date | null; }; export declare function padTo2Digits(num: number): string; export declare function millisToTimeString(milliseconds: number): string; export declare function timestampToMillis(timestamp: any): number | undefined; export declare function timestampToDate(timestamp: FirestoreTimestamp): Date | undefined; export declare function timestampToDateString(timestamp: FirestoreTimestamp): string | undefined; export declare function timestampToAgo(timestamp: FirestoreTimestamp): string | undefined; export declare function dateToTimestamp(date: Date): { seconds: number; nanoseconds: number; }; export declare function dateToAgo(date: Date): string | undefined; export declare function millisToDateString(millis: number): string | undefined; export declare function millisToDate(millis: number): Date | undefined; export declare function dateFormat(date: Date, format?: 'MM-DD-YYYY hh:mm a' | 'MM-DD-YYYY' | 'YYYY-MM-DD' | 'YYYY-MM-DDTHH:MM' | string): string | undefined; export declare function isDateBetween(date: Date, startDate: Date, endDate: Date): boolean; export declare function toDate(value: any): Date | undefined;