import React from "react"; import type { ReactNode, CSSProperties } from "react"; export type TooltipProps = TooltipProps.WithClickAction | TooltipProps.WithHoverAction; export declare namespace TooltipProps { type Common = { title: ReactNode; id?: string; className?: string; style?: CSSProperties; }; type WithClickAction = Common & { kind: "click"; children?: undefined; }; type WithHoverAction = Common & { kind?: "hover"; children?: ReactNode; }; } /** @see */ export declare const Tooltip: React.MemoExoticComponent>>; declare const addTooltipTranslations: (params: { lang: string; messages: Partial<{ "tooltip-button-text": string; }>; }) => void; export { addTooltipTranslations }; export default Tooltip;