import { PopperProps } from '../Popper'; import { TagProps } from '../Tag'; import { Placement } from '@floating-ui/react-dom'; export type OverflowTooltipProps = { /** Popper anchor that tells the tooltip which trigger element or DOM node to follow. */ anchor: PopperProps['anchor']; /** Optional root className for integrating custom styles. */ className?: string; /** Fired when a tag's dismiss icon is clicked, returning the removed tag's index for syncing state. */ onTagDismiss: (tagIndex: number) => void; /** Controls whether the tooltip is rendered; true mounts the Popper and computes placement. */ open: boolean; /** * Popper placement, allowing consumers to change the tooltip direction. * @default top-start */ placement?: Placement; /** * Read only state */ readOnly?: boolean; /** List of tag labels to render; each entry becomes a dismissable tag. */ tags: string[]; /** * Size of tags. * @default main */ tagSize?: TagProps['size']; }; /** * The react component for `mezzanine` overflow-tooltip. */ declare const OverflowTooltip: import("react").ForwardRefExoticComponent>; export default OverflowTooltip;