import { Bundle, Deps } from "../generated/bundle_config_schema"; import { Storage } from "../storage"; import { Fetcher } from "../fetcher"; export declare type BundleType = "ram" | "rom" | "flashdrive" | "raw"; export interface BundleMeta { name: string; version: string; bundleType: BundleType; deps?: Deps; uri?: string; fileName?: string; path: string; } export declare function bundle(config: BundleMeta, storage: Storage): Promise; export declare function install(bundle: Bundle, fetcher: Fetcher, storage: Storage): Promise;