/** * Grid3 XML Formatter * * Utilities for formatting XML to match Grid 3's specific requirements. * Grid 3 has strict formatting requirements including line endings, self-closing * tag spacing, and specific tag expansion rules. */ /** * Format XML string to match Grid 3's requirements * * Grid 3 requires specific formatting: * - Windows line endings (\r\n) * - Space before /> in self-closing tags: not * - Plain apostrophes instead of ' * - Specific tags expanded to full opening/closing format * - CDATA for empty/whitespace captions and tags * * @param xml - The XML string to format * @returns Formatted XML string compatible with Grid 3 * * @example * const formatted = formatGrid3Xml(''); * // Returns: '\r\n\r\n' */ export declare function formatGrid3Xml(xml: string): string; /** * Format empty/whitespace captions with CDATA for Grid 3 compatibility * * Grid 3 requires for empty captions, not plain text. * Also handles tags which need CDATA for spaces to prevent stripping. * * @param xml - The XML string to format * @returns XML string with CDATA-wrapped empty content */ export declare function formatEmptyCaptionsWithCdata(xml: string): string; /** * Complete XML formatting for Grid 3 compatibility * Combines all Grid 3 XML formatting requirements * * @param xml - The XML string to format * @returns Fully formatted XML string compatible with Grid 3 */ export declare function formatGrid3XmlComplete(xml: string): string;