import { DeviceConfigParser, IotizeConfigModel } from '@iotize/tap/config/iotize-studio';
/**
 * Convert XML to Javascript Object
 */
export declare class XMLParser implements DeviceConfigParser {
    /**
     * Parse XML input synchonously
     * @param xml
     */
    parseSync(xml: string): any;
    /**
     * Parse XML input async
     * @param xml
     */
    parse(xml: string): Promise<IotizeConfigModel>;
    /**
     * Cleanify the xml input before parsing
     * @see http://stackoverflow.com/questions/34783452/cannot-parse-xml-error-non-whitespace-before-first-tag-line-0-column-1-cha
     */
    cleanifyXml(xml: string): string;
}
