UNPKG

@robotical/scratch-to-python-transpiler

Version:
17 lines (16 loc) 523 B
import * as JSZip from "jszip"; import * as sb3 from "./interfaces"; import Project from "../../Project"; interface AssetInfo { type: "costume" | "sound"; name: string; md5: string; ext: string; spriteName: string; } declare type GetAsset = (info: AssetInfo) => Promise<any>; export declare function fromSb3JSON(json: sb3.ProjectJSON, options: { getAsset: GetAsset; }): Promise<Project>; export default function fromSb3(fileData: Parameters<typeof JSZip.loadAsync>[0]): Promise<Project>; export {};