// Automatically generated by GDevelop.js/scripts/generate-types.js
declare class gdSpriteObject extends gdObject {
  constructor(name: string): void;
  addAnimation(animation: gdAnimation): void;
  getAnimation(index: number): gdAnimation;
  getAnimationsCount(): number;
  removeAnimation(index: number): void;
  removeAllAnimations(): void;
  hasNoAnimations(): boolean;
  swapAnimations(first: number, second: number): void;
  moveAnimation(oldIndex: number, newIndex: number): void;
  delete(): void;
  ptr: number;
};