import { ComponentID } from '@teambit/component-id'; import { BitId } from '@teambit/legacy-bit-id'; import { BitObject } from '../objects'; export type SymlinkProp = { scope: string; name: string; realScope: string; }; /** * @deprecated * this is not used since component-schema 2.0.0, where the component-id is always the full id. */ export default class Symlink extends BitObject { scope: string; name: string; realScope: string; constructor(props: SymlinkProp); id(): string; getRealComponentId(): ComponentID; toComponentId(): ComponentID; static parse(contents: Buffer): Symlink; toObject(): { scope: string; name: string; realScope: string; }; toBitId(): BitId; toBuffer(pretty?: boolean): Buffer; static from(props: SymlinkProp): Symlink; }