import { Rectangle } from '@fluentui/utilities'; import * as React from 'react'; import type { Point } from '@fluentui/utilities'; export type Target = Element | string | MouseEvent | Point | Rectangle | null | React.RefObject; /** * Hook to calculate and cache the target element specified by the given target attribute, * as well as the target element's (or host element's) parent window * @param target- Target selector passed to the component as a property, describing the element that * the callout should target * @param hostElement- The callout's host element, used for determining the parent window. */ export declare function useTarget(target: Target | undefined, hostElement?: React.RefObject): Readonly<[React.RefObject, Window | undefined]>;