UNPKG

@teambit/harmony

Version:
15 lines (14 loc) 494 B
import { RuntimeDefinition } from './runtime-definition'; import DependencyGraph from '../extension-graph/extension-graph'; export declare class Runtimes { readonly runtimeDefinition: { [key: string]: RuntimeDefinition; }; constructor(runtimeDefinition: { [key: string]: RuntimeDefinition; }); add(runtime: RuntimeDefinition): this; get(name: string): RuntimeDefinition; dispose(): void; static load(graph: DependencyGraph): Promise<Runtimes>; }