import React from 'react';
import { Rect } from '../_utils/dom';
interface BoundingRectConfig {
    dependencies?: Array<any>;
}
interface Props extends BoundingRectConfig {
    children: React.ReactNode;
}
interface RenderProps extends BoundingRectConfig {
    children: (props: BoundingRectApi) => {};
}
interface BoundingRectApi {
    ref: React.RefObject<any>;
    rect: Rect;
}
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function useBoundingRect({ dependencies, }?: BoundingRectConfig): BoundingRectApi;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function BoundingRect({ children, ...props }: RenderProps): {};
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare const BoundingRectContext: React.Context<BoundingRectApi>;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function BoundingRectProvider({ children, ...props }: Props): JSX.Element;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function useBoundingRectContext(): BoundingRectApi;
export {};
