import { PureComponent, ReactNode } from 'react'; import { PickDefaultProps } from '../utils-typescript'; export interface TooltipProps { /** * An optional className to render on the tooltip node. */ readonly className?: string; /** * The children to render within the tooltip node. */ readonly children?: ReactNode; /** * If set to true the tooltip won't be positioned absolute but relative and * show up inline */ readonly renderInline?: boolean; /** * An optional css theme to be injected. */ readonly theme?: TooltipTheme; /** * Whether this tooltip should indicate an error or not */ readonly asError?: boolean; /** * Whether this tooltip should indicate a warning or not */ readonly asWarning?: boolean; } interface TooltipTheme { readonly tooltip: string; readonly 'tooltip--asError': string; readonly 'tooltip--asWarning': string; readonly 'tooltip--inline': string; readonly 'tooltip--arrow': string; readonly 'tooltip--inner': string; } export declare const defaultProps: PickDefaultProps; export default class Tooltip extends PureComponent { static defaultProps: Readonly>>; render(): JSX.Element; } export {};