import { TypeToolProp, TypeToolOptions } from '@asset-toolkit/core'; export interface TypeProps extends TypeToolOptions { format?: string; customFormat?: string; name?: string; height?: number; width?: number; fullpath?: boolean; prefix?: string; trim?: boolean; square?: boolean; powerOfTwo?: boolean; scale?: string; fuzz?: string; algorithm?: string; padding?: number; sort?: string; maxAtlases?: number; gutter?: number; group?: string[]; resizeWidth?: number; resizeHeight?: number; } /** * A tool to create image spritesheets. * https://github.com/Gamefroot/Gamefroot-Texture-Packer * Install ImageMagick if not present: brew install imagemagick * * @param props - { pathIn, pathOut } * @param options - default { * format: "pixi.js", name: "atlas", size: 2048, path: pathOut, trim: false, square: true, padding: 2, width: size, height: size, powerOfTwo: true, } see https://github.com/Gamefroot/Gamefroot-Texture-Packer * @returns { Promise(returns) } */ declare const imageSprite: (_props: TypeToolProp, options?: TypeProps) => Promise; export default imageSprite;