import { Storage } from "../storage"; import * as machineConfig from "../generated/machine_config_schema"; import * as pkgConfig from "../generated/machine_config_pkg_schema"; import { Fetcher } from "../fetcher"; export * as bundle from "./bundle"; export * from "./machine"; declare type PathMapping = { [p: string]: string; }; export declare function remap(config: machineConfig.MachineConfig, pathMapping: PathMapping): machineConfig.MachineConfig; export declare function pack(config: machineConfig.MachineConfig, storage: Storage): Promise; export declare function createNewMachineConfig(pkg: pkgConfig.CartiPackage, basePath: string): machineConfig.MachineConfig; export declare function install(pkg: pkgConfig.CartiPackage, fetcher: Fetcher, basePath: string, destPath: string): Promise;