import React from 'react'; import { WithThemeProps } from '../../../../Common/theming'; export declare type ErrorDisplayMode = 'inline' | 'tooltip'; export interface ErrorDisplayProps { error: string; showError: boolean; hasError: boolean; displayMode?: ErrorDisplayMode; } export default class ErrorDisplay extends React.Component { static defaultProps: { displayMode: string; theme: import("../../../../Common/theming").UpThemeInterface; }; constructor(p: any, c: any); render(): JSX.Element; }