/// <reference types="resize-observer-browser" />
import { MutableRefObject } from 'react';
interface Params<T> {
    targetRef?: MutableRefObject<T>;
    refreshRate?: number;
    observerOptions?: ResizeObserverOptions;
}
export declare const useResizeDetector: <T extends HTMLElement>(params?: Params<T>) => {
    ref: MutableRefObject<T>;
    width: number;
};
export {};
//# sourceMappingURL=use-resize-detector.d.ts.map