import { type ServerErrorMessage } from '../../api/websocket';
interface ParsedBackendError {
    description: string;
    time: Date;
    traceback: string;
    tracebackTitle: string;
}
/**
 * Parse server error messages for display
 *
 * @param errors error messages to parse
 */
export declare function parseErrorsForDisplay(errors: ServerErrorMessage['message'][]): ParsedBackendError[];
interface ErrorDisplayProps {
    errorMessage: ParsedBackendError;
}
/**
 * Display a single backend error in an expandable box
 */
declare function ErrorDisplay(props: ErrorDisplayProps): JSX.Element;
export default ErrorDisplay;
//# sourceMappingURL=error-display.d.ts.map