import { ITree } from '../../Bulldog'; import { Processor } from '../../Processor'; import { IResolutionOptions } from '../images/MipImage'; import { Process } from '../Process'; /** * Process Spine files */ export declare class Spine extends Process { /** * A prefix template for denoting the resolution of the images. * @defaultValue '\@%xx' */ prefixTemplate: string; /** * An object containing the resolutions that the images will be resized to. * @defaultValue \{ high: 2, default: 1, low: 0.5 \} */ resolutionHash: { [x: string]: number; }; /** * If the fixed tag is applied then only this resolution will be generated. * @defaultValue = \{ default: 1 \} */ resolutionFixedHash: { [x: string]: number; }; /** * The largest resolution to be created. */ biggestResolution: number; /** * @param options - Resolution options for processing Spine assets */ constructor(options?: IResolutionOptions); /** * Tests if path is an atlas file * @override * @returns If path is an atlas file */ test(tree: ITree): boolean; /** * Transform spine atlases per resolution * @override */ transform(tree: ITree, processor: Processor): Promise; /** * Re-scale atlas raw string data to given scale * @param raw - Raw atlas data as string * @param scale - The multiplier for position and size values * @param sufix - Resolution sufix, same used for images */ rescaleAtlas(raw: string, scale?: number, sufix?: string): string; } //# sourceMappingURL=Spine.d.ts.map