import React from "react"; export interface TooltipListProps { label: string; content: string | number | React.ReactElement; } export interface Props { list: Array; /** * If undefined, it will use the first list item as label. * If ReactElement, make sure it is inline-block, to make the tooltip arrow centered. */ children?: string | React.ReactElement; onClick?: () => void; onOpenChange?: (open: boolean) => void; } export declare const WithTooltipList: ({ list, children, onClick, onOpenChange }: Props) => string | React.JSX.Element;