import * as 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<ErrorDisplayProps & WithThemeProps> {
    static defaultProps: {
        displayMode: string;
        theme: import("../../../../Common/theming").UpThemeInterface;
    };
    constructor(p: any, c: any);
    render(): JSX.Element;
}
