/// import type { LayoutChangeEvent, LayoutRectangle, View as RNView } from 'react-native'; import { HintProps } from '../types'; type UseHintLayoutProps = Pick; export default function useHintLayout({ onBackgroundPress, targetFrame }: UseHintLayoutProps): { targetLayoutState: LayoutRectangle | undefined; targetLayoutInWindowState: LayoutRectangle | undefined; hintMessageWidth: number | undefined; targetRef: import("react").MutableRefObject; onTargetLayout: ({ nativeEvent: { layout } }: LayoutChangeEvent) => void; setHintLayout: ({ nativeEvent: { layout } }: LayoutChangeEvent) => void; }; export {};