import { X2jOptions } from 'fast-xml-parser'; import { JsonToToonOptions } from './core.js'; export interface XmlToToonOptions extends JsonToToonOptions { /** * Options passed directly to fast-xml-parser. * Defaults to: * { * ignoreAttributes: false, * attributeNamePrefix: '@_', * parseAttributeValue: true, * ignoreDeclaration: true * } */ xmlOptions?: Partial; } /** * Parses an XML string and converts it directly to TOON format. * * @param xml The XML string to parse. * @param options TOON formatting options plus optional `xmlOptions` for the parser. * @returns The resulting TOON string. */ export declare function xmlToToon(xml: string, options?: XmlToToonOptions): string; export declare function xmlToJson(xml: string, options?: XmlToToonOptions): unknown; //# sourceMappingURL=xml.d.ts.map