import type { HoursType } from "../types/clock/hoursType"; import type { HoursTypeInt } from "../types/clock/hoursTypeInt"; import type { MillisecondsType } from "../types/clock/millisecondsType"; import type { MillisecondsTypeInt } from "../types/clock/millisecondsTypeInt"; import type { MinutesType } from "../types/clock/minutesType"; import type { MinutesTypeInt } from "../types/clock/minutesTypeInt"; import type { SecondsType } from "../types/clock/secondsType"; import type { SecondsTypeInt } from "../types/clock/secondsTypeInt"; import type { DayType } from "../types/date/dayType"; import type { DayTypeInt } from "../types/date/dayTypeInt"; import type { MonTypeInt } from "../types/date/monTypeInt"; import type { MonTypeZero } from "../types/date/monTypeZero"; /** * Create a new Date object from numeric values * @param year - The year * @param mon - The month (1-12) * @param day - The day of the month * @param hours - Hours offset from UTC (defaults to local timezone offset) * @param minutes - Minutes (0-59) * @param seconds - Seconds (0-59) * @param milliseconds - Milliseconds (0-999) * @returns Date object * @example newDateInt(2021, 1, 1); // Creates date for January 1, 2021 */ export declare const newDateInt: (year: number, mon: T, day: DayTypeInt, hours?: HoursTypeInt, minutes?: MinutesTypeInt, seconds?: SecondsTypeInt, milliseconds?: MillisecondsTypeInt) => Date; /** * Create a new Date object from a string date and time components * @param date - Date string in format "YYYY-MM-DD" * @param hours - Hours in "HH" format (00-23) * @param minutes - Minutes in "mm" format (00-59) * @param seconds - Seconds in "ss" format (00-59) * @param milliseconds - Milliseconds in "mmm" format (000-999) * @param timeDifference - Timezone offset in "HH" format (e.g., "09" for UTC+9) * @returns Date object * @example newDateString("2021-01-01"); // Creates date for January 1, 2021 00:00:00 */ export declare const newDateString: (date: `${number}-${T}-${DayType}`, hours?: HoursType, minutes?: MinutesType, seconds?: SecondsType, milliseconds?: MillisecondsType, timeDifference?: HoursType) => Date;