/**
* Date utilities for HTML date inputs.
*
* These functions operate on local time by design. HTML <input type="date">
* returns and expects values in "YYYY-MM-DD" format without timezone info.
*
* `parseDateFromInput` appends "T00:00:00" (no "Z") so the date is parsed as
* local midnight rather than UTC midnight. Without this, negative-offset
* timezones (e.g. US timezones) would shift "2024-01-15" to Jan 14 locally.
*
* Consumers providing dates from an API (typically UTC) should handle
* UTC-to-local conversion before passing values to these functions.
*/
export declare function formatDateForInput(date: Date | undefined | null): string;
/** Formats the time portion of a Date as "HH:mm". */
export declare function formatTime(date: Date): string;
export declare function parseDateFromInput(value: string | undefined | null): Date | undefined;
export declare function formatDateForDisplay(date: Date | undefined | null, fallback?: string): string;
/** Formats a Date as "2024-06-15 14:30" — space-separated, parsable, for text input editing. */
export declare function formatDatetimeForInput(date: Date | undefined | null): string;
/**
* Parses space-separated ("2024-06-15 14:30") or T-separated datetime strings.
* Inverse of `formatDatetimeForInput`, which joins date and time with a space
* for readability. Here we replace that space with "T" so `new Date()` parses
* it as a local datetime (e.g. "2024-06-15T14:30").
*/
export declare function parseDatetimeFromInput(value: string | undefined | null): Date | undefined;
/** Returns true if `date` falls within [min, max] (inclusive). */
export declare function isDateInRange(date: Date, min: Date | undefined, max: Date | undefined): boolean;
export declare function parseDateFromISO(value: string | Date | undefined | null): Date | undefined;
/** Parses an "HH:mm" time string into hours and minutes. */
export declare function parseTimeString(timeString: string): {
	hours: number
	minutes: number
};
/** Returns the "HH:mm" time value for a date, defaulting to "00:00" when null. */
export declare function getTimeValue(date: Date | null): string;
