export type TimeFormat = "24h" | "12h" | "12hNS" | "timestamp" | "iso8601"; export type RoundingMethod = "nearest" | "up" | "down" | "none"; export interface TimeComponents { hours: number; minutes: number; seconds?: number; } export declare function decimalHoursToDate(decimalHours: number, year: number, month: number, day: number): Date; export declare function decimalHoursToTimestamp(decimalHours: number, utcBaseTime: number, longitude: number): number; export declare function roundTime(timestamp: number, rounding: RoundingMethod): number; export declare function formatTime(timestamp: number, format?: TimeFormat, timezone?: string): string; export declare function parseTimeToDecimal(timeString: string): number; export declare function addMinutes(date: Date, minutes: number): Date; export declare function addSeconds(date: Date, seconds: number): Date; export declare function addDays(date: Date, days: number): Date; export declare function isValidDate(date: Date): boolean; export declare const RoundingMode: { readonly Nearest: "nearest"; readonly Up: "up"; readonly None: "none"; }; export type RoundingMode = (typeof RoundingMode)[keyof typeof RoundingMode]; export declare function roundedMinute(date: Date, rounding?: RoundingMode): Date; export declare function getUtcBaseTime(date: Date): number; export declare function timeComponentsToDecimal(components: TimeComponents): number; export declare function decimalToTimeComponents(decimalHours: number): TimeComponents; export declare function timeDifferenceInHours(start: Date, end: Date): number; export declare function normalizeHours(hours: number): number; export declare function getTimezoneOffset(date: Date, timezone: string): number; export declare function formatDuration(hours: number): string; export declare function getCurrentDateInTimezone(timezone: string): Date; export declare function isTimeBetween(time: number, start: number, end: number): boolean; export declare function minutesUntil(current: number, target: number): number; export declare function convertToTimezone(date: Date, timezone: string): Date; export declare function getCurrentTimezone(): string; export declare function decimalHoursToTime(decimalHours: number): string; export declare function timeToDecimalHours(timeString: string): number; export declare function formatPrayerTimes(times: any, format?: TimeFormat, _rounding?: RoundingMethod): any; export declare function timestampToDecimalHours(timestamp: number): number; //# sourceMappingURL=time.d.ts.map