UNPKG

asajs

Version:

Make your Minecraft JsonUI with ScriptingAPI

17 lines (16 loc) 709 B
import { Class } from "../../components/Class"; import { UUID } from "../../types/objects/Manifest"; type ReturnValue = () => any; export declare class Save extends Class { static isSaveCreated: boolean; private static write; private static read; static createFile(path: string, data: ReturnValue, write?: Function, read?: Function): any; static createJson(path: string, data: ReturnValue): any; static updateFile(path: string, data: ReturnValue, write?: Function, read?: Function): any; static updateJson(path: string, data: ReturnValue): any; static uuid(): [UUID, UUID]; static resource(mcVersion?: "stable" | "preview"): any; static getBuildID(): any; } export {};