export interface Sprite {
  id: string;
  file: File;
  img: HTMLImageElement;
  url: string;
  width: number;
  height: number;
  x: number;
  y: number;
  rotation: number;
  flipX: boolean;
  flipY: boolean;
}

export interface SpriteFile {
  file: File;
  x: number;
  y: number;
  width: number;
  height: number;
}

export interface Layer {
  id: string;
  name: string;
  sprites: Sprite[];
  visible: boolean;
  locked: boolean;
}
