import { default as dayjs } from 'dayjs'; import { default as React } from 'react'; export type UnitConfig = { unit: dayjs.UnitType; options: number[]; disabled?: number[]; insertSeperator?: boolean; use12HourClock?: boolean | undefined; }; export type UnitProps = UnitConfig & { value?: Date; onSelect: (value: number) => void; }; declare const Unit: ({ options, disabled, value, unit, onSelect, use12HourClock, }: UnitProps) => React.JSX.Element; export default Unit;