// Automatically generated by GDevelop.js/scripts/generate-types.js
declare class gdDirection {
  constructor(): void;
  addSprite(sprite: gdSprite): void;
  getSprite(index: number): gdSprite;
  getSpritesCount(): number;
  hasNoSprites(): boolean;
  removeSprite(index: number): void;
  removeAllSprites(): void;
  isLooping(): boolean;
  setLoop(enable: boolean): void;
  getTimeBetweenFrames(): number;
  setTimeBetweenFrames(time: number): void;
  swapSprites(first: number, second: number): void;
  moveSprite(oldIndex: number, newIndex: number): void;
  setMetadata(metadata: string): void;
  getMetadata(): string;
  delete(): void;
  ptr: number;
};