UNPKG

zp-figma-converter

Version:

Convert Figma designs to various code formats

26 lines 800 B
import { XMLBuilder } from 'fast-xml-parser'; import { GameFile } from '../libs/json2csd/types/game-file'; /** * Create and configure XMLBuilder * @returns Configured XMLBuilder */ export declare function createXmlBuilder(): XMLBuilder; /** * Convert GameFile structure data to XML string * @param data GameFile data * @returns XML string */ export declare function buildXml(data: GameFile): string; /** * Convert data type to string * @param value Value to convert * @returns Result string */ export declare function toString(value: any): string; /** * Convert boolean value to 'True' or 'False' string * @param value Boolean value * @returns 'True' or 'False' string */ export declare function boolToString(value: boolean | undefined): string; //# sourceMappingURL=xml-utils.d.ts.map