/** @packageDocumentation * @module Utilities */ import * as React from "react"; /** Hook used to store an HTMLElement in state by using ref callback returned from hook. * *Example:* * ``` tsx * const [divElementRef, divElement] = useRefState(); * const ownerDoc = divElement?.ownerDocument ?? document; * * return ( *
* .... *
* ); * ``` * } * @internal */ export declare function useRefState(): [React.Ref, T | undefined]; //# sourceMappingURL=useRefState.d.ts.map