interface Size { width: number; height: number; } export declare function useElementSize(): [ (node: T | null) => void, Size ]; export {};