import { CardScanError } from "../types/types"; export type XMLError = { Message: { _text: string; }; Code: { _text: string; }; }; export declare const XMLErrortoCardScanError: (xmlErrorObj: XMLError, code: number) => CardScanError; export declare const generateError: (message: string, type?: string, code?: number) => CardScanError;