///
interface UnitProps {
value: any;
unitSymbol?: Record;
defaultVal?: any;
defaultUnit?: string;
onChange?: any;
}
declare const useUnit: (props: UnitProps) => {
handleChangeVal: (key: string, vals: string) => void;
setVal: import("react").Dispatch;
setUnit: import("react").Dispatch>;
val: any;
unit: string;
};
export default useUnit;