import * as React from "react"; /** * The duration unit types. */ export type DurationUnitType = "day" | "hour" | "minute" | "second" | "millisecond"; /** * The DurationControlUnitInput component props. */ export type DurationControlUnitInputProps = { /** The unit type. */ type: DurationUnitType; /** The character length of the unit input. */ characterLength: number | undefined; /** The unit value. */ value: number | null; /** The 'onChange' handler. */ onChange: (value: number | null) => void; /** The 'onUpArrowKeyPress' handler. */ onUpArrowKeyPress: () => void; /** The 'onDownArrowKeyPress' handler. */ onDownArrowKeyPress: () => void; /** The 'onFocus' handler. */ onFocus: () => void; /** The 'onBlur' handler. */ onBlur: () => void; /** A flag indicating whether the unit input is disabled. */ disabled: boolean | undefined; }; /** * The DurationControlUnitInput component. */ export declare const DurationControlUnitInput: React.FunctionComponent;