import { ReactNode } from 'react';
type ErrorType = string | ReactNode | (string | ReactNode)[] | null;
interface ErrorAlertProps {
    error: ErrorType;
    isMd: boolean;
    onCancel?: () => void;
}
export declare function ErrorAlert({ error, isMd, onCancel }: ErrorAlertProps): import("react/jsx-runtime").JSX.Element | null;
export {};
