import ComponentObjects from '../scope/component-objects'; import { BitId, BitIds } from '../bit-id'; import { Network } from '../scope/network/network'; import Component from '../consumer/component/consumer-component'; import { ListScopeResult } from '../consumer/component/components-list'; import { SSHConnectionStrategyName } from '../scope/network/ssh/ssh'; import DependencyGraph from '../scope/graph/scope-graph'; import { ComponentLogs } from '../scope/models/model-component'; export default class Remote { primary: boolean; host: string; name: string; constructor(host: string, name?: string, primary?: boolean); connect(strategiesNames?: SSHConnectionStrategyName[]): Promise; toPlainObject(): { host: string; name: string; }; scope(): Promise<{ name: string; }>; list(namespacesUsingWildcards?: string, strategiesNames?: SSHConnectionStrategyName[]): Promise; search(query: string, reindex: boolean): Promise; show(bitId: BitId, strategiesNames?: SSHConnectionStrategyName[]): Promise; graph(bitId?: BitId, strategiesNames?: SSHConnectionStrategyName[]): Promise; fetch(bitIds: BitIds, withoutDeps: boolean, context?: Record, strategiesNames?: SSHConnectionStrategyName[]): Promise; latestVersions(bitIds: BitId[], strategiesNames?: SSHConnectionStrategyName[]): Promise; validate(): void; push(componentObjects: ComponentObjects): Promise; pushMany(components: ComponentObjects[], context: Record | null | undefined): Promise; deleteMany(ids: string[], force: boolean, context: Record | null | undefined): Promise[]>; deprecateMany(ids: string[], context: Record | null | undefined): Promise[]>; undeprecateMany(ids: string[], context: Record | null | undefined): Promise[]>; log(id: BitId): Promise; static load(name: string, host: string): Remote; }