import { _ } from 'oss-toolkits'; import { Props, ReactResizeDetectorDimensions } from './ResizeDetector'; export declare type patchResizeHandlerType = ReturnType | ReturnType | ResizeObserverCallback; export declare const patchResizeHandler: (resizeCallback: ResizeObserverCallback, refreshMode: Props['refreshMode'], refreshRate: Props['refreshRate'], refreshOptions: Props['refreshOptions']) => patchResizeHandlerType; export declare const isFunction: (fn: any) => boolean; export declare const isSSR: () => boolean; export declare const isDOMElement: (element: any) => boolean; export declare const createNotifier: (onResize: Props['onResize'], setSize: React.Dispatch>, handleWidth: boolean, handleHeight: boolean) => ({ width, height }: ReactResizeDetectorDimensions) => void;