/** * Parse a raw .aseprite ArrayBuffer into a composited bitmap and an atlas-style * JSON sidecar. Exported for advanced use cases (e.g. runtime-generated sprites) * — the preload path below is the usual entry point. */ export function parseAseprite(buffer: any, imageName?: string): Promise<{ bitmap: any; json: { frames: {}; meta: { app: string; version: string; image: any; format: string; size: { w: number; h: any; }; scale: string; frameTags: any; }; }; }>; /** * preload an .aseprite binary file: fetches the file, parses + composites it, * then stores the resulting bitmap in `imgList` and the JSON sidecar in * `jsonList` under the same asset name — so TextureAtlas, TMXTileset, etc. * can resolve it via the usual getImage() / getJSON() lookups. * @param {loader.Asset} data - asset descriptor * @param {Function} [onload] * @param {Function} [onerror] * @param {Object} [settings] * @returns {number} * @ignore */ export function preloadAseprite(data: loader.Asset, onload?: Function, onerror?: Function, settings?: Object): number; //# sourceMappingURL=aseprite.d.ts.map