import React from 'react';
import './index.less';
declare const DEVICE_TYPE_MAP: {
    readonly printer: any;
    readonly barcode_scanner: any;
    readonly cds: any;
    readonly kds: any;
    readonly display: any;
    readonly card_reader: any;
    readonly till: any;
    readonly scale: any;
};
export interface ErrorCardData {
    error_level: 0 | 1 | 2 | 3;
    error_message: string;
    error_code: string;
    time: string;
    device: {
        device_type: keyof typeof DEVICE_TYPE_MAP;
        device_name: string;
        device_idfa: string;
    };
}
interface IErrorCardProps {
    data: ErrorCardData;
    onClose?: () => void;
}
declare const ErrorCard: (props: IErrorCardProps) => React.JSX.Element | null;
export default ErrorCard;
