import { AmPm, TimeFormat } from './format-utils'; /** * Generates an array of hours. * If timeFormat is '12h', generates hours from 1 to 12. * Otherwise, generates hours from 0 to 23. * @returns Array of hours */ export declare const generateHours: (timeFormat?: TimeFormat) => number[]; /** * Generates an array of minutes in 5-minute increments * @returns Array of minutes [0, 5, 10, ..., 55] */ export declare const generateMinutes: () => number[]; /** * Formats time components into HH:MM string format * @param hour - Hour value (0-23) * @param minute - Minute value (0-59) * @returns Formatted time string (e.g., "09:05") */ export declare const formatTime: (hour: number, minute: number) => string; /** * Parses a time string in HH:MM or H:MM format * @param timeString - Time string in HH:MM format (e.g., "09:30", "9:30") * @returns Object with hour and minute properties, or null if invalid */ export declare const parseTime: (timeString: string) => { hour: number; minute: number; } | null; /** * Gets AM/PM period from a 24-hour format hour. */ export declare const getAmPmFromHour: (hour: number) => AmPm; /** * Converts a 12-hour format hour and AM/PM period to a 24-hour format hour. */ export declare const convert12HourTo24Hour: (hour: number, ampm: AmPm) => number; /** * Converts a 24-hour format hour to a 12-hour display value (1-12). * Used when displaying time in 12-hour format. * @param hour24 - Hour value (0-23) */ export declare const convert24HourTo12Hour: (hour24: number) => number;