// Automatically generated by GDevelop.js/scripts/generate-types.js
declare class gdResource {
  constructor(): void;
  clone(): gdResource;
  setName(name: string): void;
  getName(): string;
  setKind(kind: 'image' | 'audio' | 'font' | 'video' | 'json'): void;
  getKind(): 'image' | 'audio' | 'font' | 'video' | 'json';
  isUserAdded(): boolean;
  setUserAdded(yes: boolean): void;
  useFile(): boolean;
  setFile(file: string): void;
  getFile(): string;
  setMetadata(metadata: string): void;
  getMetadata(): string;
  setOrigin(originName: string, originIdentifier: string): void;
  getOriginName(): string;
  getOriginIdentifier(): string;
  getProperties(): gdMapStringPropertyDescriptor;
  updateProperty(name: string, value: string): boolean;
  serializeTo(element: gdSerializerElement): void;
  unserializeFrom(element: gdSerializerElement): void;
  delete(): void;
  ptr: number;
};