import { RefObject } from 'react'; /** * useResizeObserver * * @author Malik Alimoekhamedov * @category Hooks * @description Observes any element and detects resizing events. Then calls the callback function. * @param {React.RefObject.} ref Reference to the element to observe. * @param {Function} callback Callback function to execute upon resize. * @returns {void} * @summary ResizeObserver API hook. */ declare const useResizeObserver: (ref: RefObject, callback: () => void) => void; export { useResizeObserver };