/// <reference types="react" />
import { InitError } from "../api/common";
/**
 * Error component props
 *
 * @export
 * @interface IErrorProps
 */
export interface IErrorProps {
    error: Error | InitError | string;
    errorRenderer?: (err: Error | InitError) => JSX.Element;
}
/**
 * Returns a normalized stack trace for the given error object
 *
 * @export
 * @param {(Error|InitError)} err
 * @returns {string[]}
 */
export declare function normalizeStack(err: Error | InitError): string[];
/**
 * The Error component displays an error object in a nicely formatted manner
 * @param props
 */
export declare const Error: (props: IErrorProps) => JSX.Element;
