// Automatically generated by GDevelop.js/scripts/generate-types.js declare class gdVariable { static Unknown: 0; static MixedTypes: 1; static String: 2; static Number: 3; static Boolean: 4; static Structure: 5; static Array: 6; constructor(): void; static isPrimitive(type: Variable_Type): boolean; static typeAsString(type: Variable_Type): string; getType(): Variable_Type; castTo(type: string): void; setString(str: string): void; getString(): string; setValue(val: number): void; getValue(): number; setBool(val: boolean): void; getBool(): boolean; hasMixedValues(): boolean; setFolded(val: boolean): void; isFolded(): boolean; getChildrenCount(): number; contains(variableToSearch: gdVariable, recursive: boolean): boolean; hasChild(str: string): boolean; getChild(str: string): gdVariable; removeChild(name: string): void; renameChild(oldName: string, newName: string): boolean; getAllChildrenNames(): gdVectorString; removeRecursively(variableToRemove: gdVariable): void; clearChildren(): void; getAtIndex(index: number): gdVariable; pushNew(): gdVariable; removeAtIndex(index: number): void; getAllChildrenArray(): gdVectorVariable; moveChildInArray(oldIndex: number, newIndex: number): void; insertAtIndex(variable: gdVariable, index: number): boolean; insertChild(name: string, variable: gdVariable): boolean; serializeTo(element: gdSerializerElement): void; unserializeFrom(element: gdSerializerElement): void; resetPersistentUuid(): gdVariable; clearPersistentUuid(): gdVariable; delete(): void; ptr: number; };