import { RefObject } from 'react'; export declare type Rect = { width: number; height: number; top: number; left: number; }; export declare function getRect(o: any): Rect; declare type UsePositionProps = { ref: RefObject; measureKey?: any; onChange?: ((change: Rect | null) => any) | null; preventMeasure?: boolean; debounce?: number; onlyWhenIntersecting?: boolean; }; export declare function usePosition(props: UsePositionProps, mountArgs?: any[]): Rect; export {}; //# sourceMappingURL=usePosition.d.ts.map