import React from "react";
type Position = "top" | "bottom" | "left" | "right";
export type TooltipProps = React.PropsWithChildren<{
    /** An HTML ID attribute that will be attached to the the rendered component. Useful for targeting it from tests */
    id?: string;
    /** React Ref of an HTML Element to position this Tooltip against */
    target: React.RefObject<HTMLElement | SVGSVGElement>;
    /** Position of the tooltip relative to the target. The Tooltip might still be flipped if there isn't enough space. */
    position?: Position;
}>;
export declare function Tooltip({ id, children, target, position, }: TooltipProps): React.ReactElement;
export {};
