export declare function xmlToJson(xml: string): Promise;