import { TimeFormat } from '../types'; /** * Maximum hour value for 24-hour format. */ export declare const MAX_HOUR: 23; /** * Maximum minute value. */ export declare const MAX_MINUTE: 59; /** * Converts a time string to total minutes since midnight. * * @param timeStr - Time string in HH:mm format (24-hour) * @returns Total minutes since midnight */ export declare const timeToMinutes: (timeStr: string) => number; /** * Converts a time string between 12-hour and 24-hour formats. * * @param time - Time string to convert * @param targetFormat - Target format (12 or 24) * @returns Converted time string */ export declare function convertTimeFormat(time: string, targetFormat: TimeFormat): string; /** * Parses input value and converts it to a time string with validation. * * @param value - The raw input value (may contain placeholders) * @param format - The time format (12 or 24 hour) * @param removePlaceholder - Function to remove placeholder characters * @param min - Minimum allowed time constraint * @param max - Maximum allowed time constraint * @returns Object containing parsed time string, validation state, and empty state */ export declare function parseInputValue(value: string, format: TimeFormat, removePlaceholder: (value: string) => string, min?: string, max?: string): { time: null; isInputValid: boolean; isInputEmpty: boolean; } | { time: string; isInputValid: boolean; isInputEmpty: boolean; };