import { type CSSProperties, type FormEvent, type HTMLAttributes, type InputHTMLAttributes, type Ref } from 'react'; type EditableTimeValue = { hours: number; minutes: number; }; type EditableTimeInputProps = Omit, 'children' | 'className' | 'defaultValue' | 'type' | 'value'>; type EditableTimeProps = { value?: EditableTimeValue; defaultValue?: EditableTimeValue; editing?: boolean; defaultEditing?: boolean; disabled?: boolean; readOnly?: boolean; minHours?: number; maxHours?: number; minMinutes?: number; maxMinutes?: number; hourUnit?: string; minuteUnit?: string; hourInputLabel?: string; minuteInputLabel?: string; editButtonLabel?: string; acceptButtonLabel?: string; editorLabel?: string; selectOnEdit?: boolean; className?: string; displayClassName?: string; editorClassName?: string; segmentClassName?: string; inputClassName?: string; acceptButtonClassName?: string; style?: CSSProperties; ref?: Ref; hourInputProps?: EditableTimeInputProps; minuteInputProps?: EditableTimeInputProps; onValueChange?: (value: EditableTimeValue) => void; onEditingChange?: (editing: boolean) => void; onAccept?: (value: EditableTimeValue, event: FormEvent) => void; onCancel?: (value: EditableTimeValue) => void; } & Omit, 'children' | 'className' | 'defaultValue' | 'onChange' | 'style'>; declare const EditableTime: ({ value, defaultValue, editing, defaultEditing, disabled, readOnly, minHours, maxHours, minMinutes, maxMinutes, hourUnit, minuteUnit, hourInputLabel, minuteInputLabel, editButtonLabel, acceptButtonLabel, editorLabel, selectOnEdit, className, displayClassName, editorClassName, segmentClassName, inputClassName, acceptButtonClassName, style, ref, hourInputProps, minuteInputProps, onValueChange, onEditingChange, onAccept, onCancel, onKeyDown, ...rootProps }: EditableTimeProps) => import("react/jsx-runtime").JSX.Element; export { EditableTime }; export type { EditableTimeProps, EditableTimeValue };