import { Options } from "./utils"; export default class Xml2Js { private expat; private options; private pureJsParser; private currentElement; nativeType(value: string): string | number | boolean; addField(type: string, value: any): void; manipulateAttributes(attributes: Record): Record; onInstruction(instruction: any): void; onStartElement(nameProps: string | Record, attributes: { [x: string]: any; hasOwnProperty?: any; }): void; onText(text: string): void; onComment(comment: string): void; onEndElement(): void; onCdata(cdata: string): void; onDoctype(doctype: any): void; onError(error: { note: any; }): void; toJs(xml: string, userOptions: Options): any; }