import * as React from "react";
export declare const useElementBounds: (element: React.RefObject<HTMLElement>) => ClientRect | undefined;
declare const ResizeObserver: React.FunctionComponent<ResizeObserverProps>;
export default ResizeObserver;
export interface ResizeObserverRenderProps {
    htmlRef: React.RefObject<HTMLElement>;
    bounds: ClientRect | undefined;
}
export interface ResizeObserverProps {
    children(props: ResizeObserverRenderProps): React.ReactElement;
    onResize?(rect: ClientRect): void;
}
