/** * Convert a Tiled blend mode name to a canonical melonJS blend mode. * Tiled uses "add" for additive blending; melonJS renderers accept * "add", "additive", and "lighter" as equivalent. This helper normalizes * the Tiled "add" value to "lighter" for internal consistency. * Returns "normal" when the mode is undefined or explicitly "normal"; * all other values are passed through to the renderer (which will fall * back to "normal" for unsupported modes). * @param {string} [mode] - the Tiled blend mode * @returns {string} the melonJS blend mode name */ export function tiledBlendMode(mode?: string): string; /** * Parse a XML TMX object and returns the corresponding javascript object * @param {Document} xml - XML TMX object * @returns {object} Javascript object */ export function parse(xml: Document): object; /** * Apply TMX Properties to the given object * @param {object} obj - object to apply the properties to * @param {object} data - TMX data object */ export function applyTMXProperties(obj: object, data: object): void; export { decode, setInflateFunction } from "../../utils/decode.ts"; //# sourceMappingURL=TMXUtils.d.ts.map