import type { ComponentMain } from '@teambit/component'; import type { ConsumerComponent as LegacyComponent } from '@teambit/legacy.consumer-component'; import type { SerializedComponentDependency } from './component-dependency'; import type { DependencyFactory } from '../dependency-factory'; import { DependencyList } from '../dependency-list'; export declare class ComponentDependencyFactory implements DependencyFactory { private componentAspect; type: string; constructor(componentAspect: ComponentMain); parse(serialized: S): ComponentDependency; fromLegacyComponent(legacyComponent: LegacyComponent): Promise; private transformLegacyComponentDepToSerializedDependency; private transformLegacyComponentExtensionToSerializedDependency; }