// Automatically generated by GDevelop.js/scripts/generate-types.js
declare class gdSerializerElement {
  constructor(): void;
  setBoolValue(value: boolean): void;
  setStringValue(value: string): void;
  setIntValue(value: number): void;
  setDoubleValue(value: number): void;
  getValue(): gdSerializerValue;
  getBoolValue(): boolean;
  getStringValue(): string;
  getIntValue(): number;
  getDoubleValue(): number;
  isValueUndefined(): boolean;
  setBoolAttribute(name: string, value: boolean): gdSerializerElement;
  setStringAttribute(name: string, value: string): gdSerializerElement;
  setIntAttribute(name: string, value: number): gdSerializerElement;
  setDoubleAttribute(name: string, value: number): gdSerializerElement;
  getBoolAttribute(name: string): boolean;
  getStringAttribute(name: string): string;
  getIntAttribute(name: string): number;
  getDoubleAttribute(name: string): number;
  considerAsArray(): void;
  consideredAsArray(): boolean;
  addChild(str: string): gdSerializerElement;
  getChild(str: string): gdSerializerElement;
  setChild(str: string, element: gdSerializerElement): void;
  hasChild(str: string): boolean;
  getAllChildren(): gdVectorPairStringSharedPtrSerializerElement;
  getAllAttributes(): gdMapStringSerializerValue;
  delete(): void;
  ptr: number;
};