UNPKG

@bitbybit-dev/core

Version:

Bit By Bit Developers Core CAD API to Program Geometry

10 lines (9 loc) 334 B
/** * This is a manager of assets. */ export declare class AssetManager { getAsset: (fileName: string) => Promise<File>; getLocalAsset: (fileName: string) => Promise<File | File[]>; fetch: (url: string) => Promise<any>; downloadFile: (blob: Blob, fileName: string, extension: string, contentType: string) => void; }