import * as React from 'react'; export type ResizeDirection = 'horizontal' | 'vertical'; export declare const useResize: (options: { getInitialSize: (handleElement: TElement) => number; onSizeChange: (newSize: number, handleElement: TElement) => void; direction?: ResizeDirection; }) => { ref: React.RefObject; };