declare module 'xmllint' { interface ValidateXMLOptions { xml: string schema: string TOTAL_MEMORY?: number } interface ValidateXMLResult { errors?: string[] } const xmllint: { validateXML(options: ValidateXMLOptions): ValidateXMLResult | undefined } export = xmllint }