import { TimeFormat } from '../types'; /** * Options for auto-rounding functionality. */ export interface AutoRoundingOptions { /** Whether auto-rounding is enabled. */ autoround: boolean; /** Time increment in minutes. */ step?: number; /** Time format (12 or 24 hour). */ format: TimeFormat; } /** * Gets the next future step for a given time based on the step increment. * * @param time - The current time string * @param step - The step increment in minutes * @param format - The time format (12 or 24 hour) * @returns The next step time string */ export declare function getNextFutureStep(time: string, step: number, format: TimeFormat): string; /** * Handles auto-rounding of time values based on step intervals. * * @param time - The time to potentially auto-round * @param options - Auto-rounding configuration options * @returns The rounded time or the original time if no rounding is needed */ export declare function handleAutoRounding(time: string | null, options: AutoRoundingOptions): string | null; /** * Generates AM/PM variants for 12-hour format auto-rounding when user hasn't specified AM/PM. * * @param currentTime - The current time string * @param step - Step increment in minutes * @param inputValue - Original user input to check for AM/PM specification * @returns Array of time options (AM only, PM only, or both) */ export declare function generateAmPmVariants(currentTime: string, step: number, inputValue: string): string[]; /** * Tries to generate PM interpretation options for ambiguous input. * * @param currentTime - The current time string * @param step - Step increment in minutes * @param inputValue - Original user input * @returns Array of PM time options or empty array */ export declare function generatePmInterpretation(currentTime: string, step: number, inputValue: string): string[]; /** * Gets auto-rounding options for dropdown suggestions when no matches are found. * * @param currentTime - The current parsed time * @param step - Step increment in minutes * @param format - Time format (12 or 24 hour) * @param inputValue - Original user input * @param min - Minimum time constraint * @returns Array of auto-rounded time options */ export declare function getAutoRoundingOptions(currentTime: string | null, step: number, format: TimeFormat, inputValue: string, min?: string): string[];