import { BitId } from '../bit-id'; import Remote from './remote'; import ComponentObjects from '../scope/component-objects'; import Scope from '../scope/scope'; import DependencyGraph from '../scope/graph/scope-graph'; export default class Remotes extends Map { constructor(remotes?: [string, Remote][]); validate(): void; resolve(scopeName: string, thisScope?: Scope | null | undefined): Promise; isHub(scope: any): boolean; fetch(ids: BitId[], thisScope: Scope, withoutDeps?: boolean, context?: Record): Promise; latestVersions(ids: BitId[], thisScope: Scope): Promise; scopeGraphs(ids: BitId[], thisScope: Scope): Promise; _groupByScopeName(ids: BitId[]): { [scopeName: string]: BitId[]; }; toPlainObject(): {}; static getScopeRemote(scopeName: string): Promise; static getGlobalRemotes(): Promise; static load(remotes: { [key: string]: string; }): Remotes; }