import type { Ref } from "react";
import type { FormFieldProps } from "../FormField";
import type { FocusEvents, HTMLInputBaseProps, KeyboardEvents, MouseEvents, RebuiltInputCommonProps } from "../sharedHelpers/types";
export interface InputTimeProps extends Omit<HTMLInputBaseProps, "maxLength">, FocusEvents<HTMLInputElement>, KeyboardEvents<HTMLInputElement>, MouseEvents<HTMLInputElement>, Omit<RebuiltInputCommonProps, "showMiniLabel">, Pick<InputTimeProps, "value" | "onChange"> {
    /**
     * Maximum numerical or date value.
     */
    readonly max?: number;
    /**
     * Minimum numerical or date value.
     */
    readonly min?: number;
    /**
     * Granularity of the time input, in seconds. Matches the native HTML `step`
     * attribute. Defaults to `60` so the input displays only hours and minutes;
     * set to a value less than `60` (e.g. `1`) to display seconds.
     *
     * @default 60
     */
    readonly step?: number;
    readonly inputRef?: Ref<HTMLInputElement>;
    /**
     * @deprecated Use `onKeyDown` or `onKeyUp` instead.
     */
    readonly onEnter?: FormFieldProps["onEnter"];
    /**
     * Set the component to the given value.
     */
    readonly value?: Date;
    /**
     * Function called when user changes input value.
     */
    onChange?(newValue?: Date): void;
}
