import * as React from 'react';
export type BoxRefType = React.MutableRefObject<HTMLDivElement | null>;
export declare const useElementRef: <T extends HTMLElement = HTMLDivElement>() => React.MutableRefObject<T | null>;
export declare const useElementRefState: <T extends HTMLElement = HTMLDivElement>() => {
    element: T | null;
    setElement: React.Dispatch<React.SetStateAction<T | null>>;
};
