import { CSSProperties, ReactNode } from 'react'; import { TooltipPlacement, TooltipProps } from '../Tooltip/Tooltip'; import { Container, Icon } from './InfoIcon.styles'; export type InfoIconProps = { title?: ReactNode; /** Rich content. A string is sanitised and parsed. Takes precedence over `title`. */ html?: ReactNode; position?: TooltipPlacement; noMargin?: boolean; noMarginLeft?: boolean; noMarginRight?: boolean; /** Use `children` as the trigger instead of the info glyph. */ noIcon?: boolean; /** Render the trigger with no tooltip at all. */ disabled?: boolean; fullWidth?: boolean; showArrow?: boolean; arrow?: boolean; arrowColor?: string; /** @deprecated Only 'light' ever existed; the tooltip now ships its own styling. */ theme?: string; /** @deprecated Hover + focus (and tap on touch) are always wired. */ trigger?: 'click' | 'focus'; outline?: boolean; containerStyle?: CSSProperties; /** Escape hatch forwarded to the underlying Tooltip. */ tooltipProps?: Partial; children?: ReactNode; [key: string]: unknown; }; declare const InfoIcon: ({ title, html, position, noMargin, noMarginLeft, noMarginRight, noIcon, disabled, fullWidth, arrow, showArrow, arrowColor, theme, trigger, outline, containerStyle, tooltipProps, children, style, ...rest }: InfoIconProps) => import("react/jsx-runtime").JSX.Element; export { InfoIcon, Container as InfoIconContainer, Icon as InfoIconWrapper }; export default InfoIcon;