import React from 'react';
import { Props as PopoverProps } from '../../spi/Popover';
/** variants of how the information should be presented */
export type ViewLevel = 'loading' | 'removed' | 'hidden' | 'normal' | 'obscured' | 'ok' | 'warn' | 'error' | 'info';
/** End-user options */
export interface Options {
    className?: string;
    /** popover position override specified by container (not client)? */
    position?: PopoverProps['position'];
}
/** Component-specific Options */
export type Props = Options & React.PropsWithChildren<{
    text: string;
    viewLevel: ViewLevel;
    title?: string;
    iconIsNarrow?: boolean;
    iconOnclick?: string | (() => void);
    textOnclick?: string | (() => void);
    id?: string;
    /** popover properties specified by client */
    popover?: Pick<PopoverProps, 'bodyContent' | 'headerContent'> & Partial<PopoverProps>;
}>;
export default class TextWithIconWidget extends React.PureComponent<Props> {
    /** Render the content (excluding any popover/tooltip wrappers) part */
    private content;
    private readonly _onClick;
    render(): JSX.Element;
}
