import { KeyboardEvent } from 'react'; export type dataStateType = "open" | "closed"; /** * Custom hook for managing tooltip context and interactions. * * Features: * - Manages tooltip trigger and content refs * - Handles mouse and keyboard interactions * - Provides ARIA attributes for accessibility * - Manages controlled and uncontrolled states * - Handles tooltip positioning and visibility * - Provides event handlers for trigger and content * - Manages arrow element positioning * * @returns Object containing tooltip context, refs, and event handlers */ export declare function useTooltipContext(): { invoker: { ref: import('react').RefObject; element: HTMLElement | undefined; onMouseEnter: () => void; onMouseLeave: () => void; onKeyDown: (e: KeyboardEvent) => void; onFocus: () => void; onBlur: () => void; "aria-haspopup": boolean; "aria-details": string; "data-state": dataStateType; "aria-describedby": string; }; tooltip: { ref: import('react').RefObject; element: HTMLElement | undefined; id: string; setId: import('react').Dispatch>; show: () => void; close: (replacementFn?: () => void) => void; style: import('react').CSSProperties | undefined; arrowRef: import('react').RefObject; key: number; }; setOpen: import('react').Dispatch>; open: boolean; controlled: boolean; placement: import('@floating-ui/react-dom').Placement | undefined; disableFlipFallback: boolean | undefined; } | undefined;