import { ComponentProps } from 'react'; import { Control, FieldValues, Path, RegisterOptions } from 'react-hook-form'; import { default as InputSelect } from '../InputSelect/InputSelect'; type InputSelectProps = ComponentProps; /** Which side the unit sits on, so its inner corners join a neighbouring input ("100 | kg"). */ type Place = "left" | "right"; interface Props extends InputSelectProps { place?: Place; } declare function InputSelectUnit({ place, classNames, placeholder, ...props }: Props): import("react").JSX.Element; declare namespace InputSelectUnit { var displayName: string; var WithRHFControl: typeof WithControl; } type WithControlProps = InputSelectProps & { control: Control; name: Path; rules?: RegisterOptions>; place?: Place; }; declare function WithControl(props: WithControlProps): import("react").JSX.Element; export default InputSelectUnit;