import { Workspace } from '../workspace'; import { ScopeExtension } from '../scope'; import { BitId as ComponentId } from '../../bit-id'; import { Component } from '../component'; export default class ComponentResolver { readonly scope: ScopeExtension; readonly workspace: Workspace | undefined; constructor(scope: ScopeExtension, workspace: Workspace | undefined); get host(): ScopeExtension | Workspace; getComponent(id: ComponentId): Promise; }