import type { ProjectManifest, VersioningSettings } from '@pnpm/types'; import { type ProjectRefIndex, type WorkspaceProject } from './projectRefs.js'; export declare const PROPAGATED_DEP_FIELDS: readonly ['dependencies', 'optionalDependencies', 'peerDependencies']; type PropagatedDepField = typeof PROPAGATED_DEP_FIELDS[number]; export interface Participant { name: string; dir: string; rootDir: string; currentVersion: string; manifest: ProjectManifest; /** Workspace-internal production dependencies, by target project dir. */ internalDeps: InternalDep[]; } export interface InternalDep { targetDir: string; targetName: string; fieldName: PropagatedDepField; alias: string; spec: string; } export interface CollectParticipantsOptions { workspaceDir: string; versioning?: VersioningSettings; } export declare function collectParticipants(projects: WorkspaceProject[], refs: ProjectRefIndex, opts: CollectParticipantsOptions): Map; export declare function assertInternalDepsUseWorkspaceProtocol(participants: Map): void; export {};