import { type ConstraintFactory } from '../utils'; /** * A factory function to create a constraint that ensures specific dependency policies * between Yarn workspaces within a monorepo. This includes managing dependency ranges, * restricting dependencies, and enforcing workspace protocol usage. * * The `createWorkspaceDependenciesConstraint` allows configurations for restricting * specific dependencies by marking them as banned and ensures that workspace dependencies * use the proper workspace protocol. * * @param config - An optional configuration object. * @param config.bannedDependencies - A list of dependencies that are banned across the workspaces. * These dependencies will be removed if present. * Defaults to an empty array if not provided. * @returns A workspace dependencies constraint function that operates on a Yarn project * using provided configurations. The constraint function enforces prohibited * dependencies and ensures that workspace dependencies follow the workspace protocol. */ export declare const createWorkspaceDependenciesConstraint: ConstraintFactory<{ readonly bannedDependencies?: readonly string[]; }>; //# sourceMappingURL=workspace.d.ts.map