import { MutableRefObject } from 'react'; export type ShapeType = { width: number; height: number; }; export declare const getRealShape: (el: HTMLElement | null) => ShapeType; export type ShapeResult = [ShapeType, () => void]; declare const useRealShape: (ref: MutableRefObject) => ShapeResult; export default useRealShape;