UNPKG

@mos-connection/helper

Version:

Helper functions for the MOS-connection library

18 lines 1.11 kB
import * as XMLBuilder from 'xmlbuilder'; import { AnyXMLValue, IMOSDefaultActiveX, IMOSListMachInfo, IMOSString128 } from '@mos-connection/model'; export declare namespace XMLMosIDs { function fromXML(path: string, xml: AnyXMLValue, strict: boolean): IMOSString128[]; } export declare namespace XMLMosListMachInfo { function fromXML(path: string, xml: AnyXMLValue, strict: boolean): IMOSListMachInfo; function toXML(xmlListMachInfo: XMLBuilder.XMLElement, info: IMOSListMachInfo, strict: boolean): void; } export declare namespace XMLSupportedProfiles { function fromXML(path: string, xmlSupportedProfiles: AnyXMLValue, strict: boolean): IMOSListMachInfo['supportedProfiles']; function toXML(xml: XMLBuilder.XMLElement, supportedProfiles: IMOSListMachInfo['supportedProfiles'], strict: boolean): void; } export declare namespace XMLDefaultActiveX { function fromXML(path: string, xml: AnyXMLValue, strict: boolean): IMOSDefaultActiveX[]; function toXML(xml: XMLBuilder.XMLElement, objs: IMOSDefaultActiveX[], strict: boolean): void; } //# sourceMappingURL=xmlConversion.d.ts.map