import type { ArrayFrame } from "./ArrayFrame.ts"; import type { Frame } from "./Frame.ts"; import type { Meta } from "./Meta.ts"; /** Aseprite sprite sheet. This is the root type in an Aseprite JSON file. */ export interface SpriteSheet { /** * Array or map (depending on export settings) with sprite frame definitions. When exported in Hash format * then the keys of this map are the frame filenames. See {@link ArrayFrame["filename"]} for important * information regarding the filename format. */ frames: Record | ArrayFrame[]; /** Sprite sheet meta data. */ meta: Meta; }