import { useTooltip } from './useTooltip'; type ContextType = ReturnType | null; /** * The context for the Tooltip components. */ export declare const TooltipContext: import('react').Context; /** * Provides the context for the Tooltip components. */ export declare function useTooltipContext(): { arrowRef: import('react').RefObject; placement: import('@floating-ui/utils').Placement; strategy: import('@floating-ui/utils').Strategy; middlewareData: import('@floating-ui/core').MiddlewareData; x: number; y: number; isPositioned: boolean; update: () => void; floatingStyles: React.CSSProperties; refs: { reference: import('react').MutableRefObject; floating: React.MutableRefObject; setReference: (node: import('@floating-ui/react-dom').ReferenceType | null) => void; setFloating: (node: HTMLElement | null) => void; } & import('@floating-ui/react').ExtendedRefs; elements: { reference: import('@floating-ui/react-dom').ReferenceType | null; floating: HTMLElement | null; } & import('@floating-ui/react').ExtendedElements; context: { placement: import('@floating-ui/utils').Placement; strategy: import('@floating-ui/utils').Strategy; x: number; y: number; middlewareData: import('@floating-ui/core').MiddlewareData; isPositioned: boolean; update: () => void; floatingStyles: React.CSSProperties; open: boolean; onOpenChange: (open: boolean, event?: Event, reason?: import('@floating-ui/react').OpenChangeReason) => void; events: import('@floating-ui/react').FloatingEvents; dataRef: React.MutableRefObject; nodeId: string | undefined; floatingId: string | undefined; refs: import('@floating-ui/react').ExtendedRefs; elements: import('@floating-ui/react').ExtendedElements; }; getReferenceProps: (userProps?: React.HTMLProps) => Record; getFloatingProps: (userProps?: React.HTMLProps) => Record; getItemProps: (userProps?: Omit, "selected" | "active"> & { active?: boolean; selected?: boolean; }) => Record; labelId: string | undefined; captionId: string | undefined; caption: string | import("react").JSX.Element | undefined; purpose: "label" | "description"; open: boolean; setOpen: (open: boolean, event?: Event | undefined, reason?: import('@floating-ui/react').OpenChangeReason | undefined) => void; tooltipProps: { "aria-atomic": (boolean | "true" | "false") | undefined; "aria-live": "off" | "assertive" | "polite" | undefined; }; }; export {}; //# sourceMappingURL=TooltipContext.d.ts.map