/// export declare type MoveDirection = 'prev' | 'bottom'; interface MovableProps { targetRef?: any; splitterRef?: any; direction?: MoveDirection; movableLayoutRef?: any; nextRef?: any; type?: string; min?: number | string; max?: number | string; clickWidth?: number | string | (() => number | undefined); defaultMax?: boolean; defaultWidth?: number; hidden?: boolean; handleBeforeChange?: (newVal: number) => void; } declare const useMovable: (props: MovableProps) => { resetRef: () => void; hideRef: () => void; onMouseDown: (e: { clientX: any; clientY: any; }) => void; onClickSplitter: (e: any) => void; moving: boolean; width: any; size: string | number; setWidth: import("react").Dispatch; show: boolean; }; export default useMovable;