import './styles/useResize.css'; import { HooksProps } from '../types'; /** * * @param {HTMLElement} nodeRef * @param {Object} props * * when calculate nextWidth value, `alignment` param will be a significant factor... * 1. alignment value is left.. Moving to left direction is allowed. * 2. alignment value is right.. Moving to right direction is allowed. * 3. alignment value is center.. Moving to both directions is allowed. */ declare const useResize: ({ nodeRef, props }: HooksProps) => void; export default useResize;