import type { JSXElement } from '@fluentui/react-utilities'; import { OnVisibleChangeData } from '@fluentui/react-tooltip'; import type { PositioningProps as PositioningProps_2 } from '@fluentui/react-positioning'; import type { PositioningShorthandValue } from '@fluentui/react-positioning'; import type * as React_2 from 'react'; import type { TooltipBaseProps } from '@fluentui/react-tooltip'; import type { TooltipBaseState } from '@fluentui/react-tooltip'; import { TooltipSlots } from '@fluentui/react-tooltip'; import type { TooltipTriggerProps as TooltipTriggerProps_2 } from '@fluentui/react-tooltip'; import type { TriggerProps } from '@fluentui/react-utilities'; export { OnVisibleChangeData } declare type PositioningProps = Pick; declare type PositioningShorthand = PositioningProps | PositioningShorthandValue; /** * Render the final JSX of Tooltip. */ export declare const renderTooltip: (state: TooltipState) => JSXElement; /** * Tooltip renders a non-modal floating label or description anchored to a trigger element. */ export declare const Tooltip: { (props: TooltipProps): JSXElement; displayName: string; }; /** * Props for the Tooltip component. * * Reuses Tooltip base props while omitting `mountNode` for the headless preview API surface. * Positioning is handled by headless usePositioning hook. */ export declare type TooltipProps = Omit & TriggerProps & { positioning?: PositioningShorthand; }; export { TooltipSlots } /** * State used in rendering Tooltip. * * Extends Tooltip base state with headless-specific data attributes used for styling hooks. */ export declare type TooltipState = Omit & { content: { 'data-open'?: string; }; }; export declare type TooltipTriggerProps = TooltipTriggerProps_2 & Pick, 'onPointerUp'>; /** * Create the state required to render Tooltip. * * @param props - props from this instance of Tooltip */ export declare const useTooltip: (props: TooltipProps) => TooltipState; export { }