/** * A custom hook that observes the size of an element using the ResizeObserver API. * * @param options - Configuration options for the resize observer * @param options.onResize - Callback function called when the element resizes * @returns An object containing the ref to attach to the element and its current dimensions */ export declare function useResizeObserver(options?: { onResize?: (size: { width?: number; height?: number; }) => void; }): { ref: import('react').RefObject; width: number; height: number; };