packageDocumentation module import * as React from "react" ; internal export interface WidgetOpacityContextProps { readonly onElementRef : ( elementRef : React . RefObject < Element > ) => void ; readonly proximityScale : number ; } internal export const WidgetOpacityContext = React . createContext < WidgetOpacityContextProps > ( { onElementRef : ( _elementRef ) => void { } , proximityScale : 1.0 } ) ; internal export function useWidgetOpacityContext ( ) { return React . useContext ( WidgetOpacityContext ) ; }