import type * as React from "react";

/**
 * A 12px label naming an icon-only control. Never put an action or essential copy in one.
 *
 * Portalled to the document in viewport coordinates, so a tooltip opened from
 * inside a scrolling table, sidebar or chart is not clipped by the container. It
 * repositions on scroll and resize, flips when there is no room on the chosen
 * side, and clamps to the viewport. The *trigger* is measured, not the wrapper,
 * so an absolutely-positioned trigger (a chart bar, a pinned badge) anchors
 * where it actually sits.
 */
export interface TooltipProps {
  content?: React.ReactNode;
  side?: "top" | "bottom" | "left" | "right";
  /** Open delay in ms. 200 by default. */
  delay?: number;
  className?: string;
  children?: React.ReactNode;
}
export declare function Tooltip(props: TooltipProps): React.ReactElement;
export declare function TooltipProvider(props: { children?: React.ReactNode }): React.ReactElement;
export declare function TooltipTrigger(props: { children?: React.ReactNode }): React.ReactElement;
export declare function TooltipPopup(props: { children?: React.ReactNode }): React.ReactElement;
