import type { TooltipConfig, TooltipPropValue } from './types'; /** * Normalizes a host component's `tooltip` prop into `Tooltip` props. * * Lets every component expose one prop that accepts the shorthand string * (`tooltip="Copy"`) or the full config (`tooltip={{ label: 'Copy', position: 'right' }}`) * without each one re-implementing the union. `defaults` carries the host's own * legacy props (e.g. `tooltipPosition`) and always loses to explicit config keys. * * Returns `null` when there is nothing to show, so callers can skip the wrapper. */ export declare function resolveTooltipProps(tooltip: TooltipPropValue | undefined, defaults?: Partial): TooltipConfig | null; /** * Best-effort plain-text form of a tooltip value, for `accessibilityLabel` * fallbacks and screen-reader announcements. Non-string labels yield undefined. */ export declare function getTooltipText(tooltip: TooltipPropValue | undefined): string | undefined;