import { X2jOptionsOptional } from "fast-xml-parser"; /** * Parses XML file, performs given callback with parsed data, * and writes the updated XML data back to the file. * @template T * @param {string} path - Path of the XML file to be parsed. * @param {X2jOptionsOptional} options - Options for XML parser. * @param {(xml: T) => void} callback - Callback to be performed with parsed data. * @returns {Promise} Promise that resolves after writing updated XML to the file. */ export declare const withXml: (path: string, options: X2jOptionsOptional, callback: (xml: T) => void) => Promise;