text: // 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;
    setUpdateIfNotVisible(updateIfNotVisible: boolean): void;
    getUpdateIfNotVisible(): boolean;
    delete(): void;
    ptr: number;
  };