import { TooltipCSSPosition, TooltipPosition } from './TooltipTypes'; export declare const MultilineClassName = "neo-tooltip__content--multiline"; export declare const getMultilineClassName: (multiline?: boolean) => "neo-tooltip__content--multiline" | undefined; export declare const translatePositionToCSSName: (passedPosition: Omit) => TooltipCSSPosition; /** * Returns the CSS Position name based on where the container element is inside of the `window` * @param containerDimensions the height and width of the "container" (typically the html document) of the tooltip root element * @param label the passed label, used to determine the length+height of the tooltip * @param rootElement `tooltipContainerRef.current`, a `
` element; or `null` * * @returns the CSS Position name of the ideal (or default) tooltip position * * @example * getIdealTooltipPosition( * { * height: document.lastElementChild?.clientHeight || 0, * width: document.lastElementChild?.clientWidth || 0, * }, * label, * tooltipContainerRef.current * ) */ export declare const getIdealTooltipPosition: (containerDimensions: { height: number; width: number; }, label: string, rootElement: HTMLDivElement | null) => TooltipCSSPosition;