import { BitError } from '@teambit/bit-error'; export type UnpublishedSnapDependency = { /** the depended-on component id (without version) */ id: string; /** the snap version (hash) that has no published package */ version: string; /** workspace component ids that depend on it */ dependents: string[]; }; /** * thrown during `bit install` when a checked-out workspace component depends on another component that * isn't checked out and is pinned to a snap that was never published to the registry, so the package * manager can't find it. the usual cause is a build that failed or hasn't completed yet (e.g. a hidden * lane "update-dependent" re-snapped by "snap updates"), but the message stays generic on purpose since * the snap may no longer be tracked as an update-dependent (e.g. after the lane was forked). */ export declare class UnpublishedComponentDependency extends BitError { readonly unpublished: UnpublishedSnapDependency[]; constructor(unpublished: UnpublishedSnapDependency[]); private static formatMessage; }