import type { Catalogs } from 'workspace-tools'; import { type PackageInfos, type PackageJson } from '../types/PackageInfo'; /** * Check for `publishConfig` overrides and `workspace:` or `catalog:` versions, and update the * package.jsons on disk accordingly. */ export declare function performPublishOverrides(packagesToPublish: string[], packageInfos: PackageInfos, catalogs: Catalogs | undefined): void; /** * Apply valid overrides from `packageJson.publishConfig`. * (Exported for testing.) * @returns True if any overrides were applied. */ export declare function _performPublishConfigOverrides(packageJson: PackageJson): boolean; /** * When dependencies are defined using workspace protocol they need to be replaced with a correct version during * publish. If publishing happened using a package manager that supports this protocol (pnpm/yarn) then it could * handle this replacement for us, but as of this time publishing only happens via npm, which can't do this * replacement. * * Additionally, if a dependency version is defined via a catalog, that must be manually substituted. * * (Exported for testing.) * @returns True if any overrides were applied. */ export declare function _performVersionOverrides(packageJson: PackageJson, packageInfos: PackageInfos, catalogs: Catalogs | undefined): boolean; //# sourceMappingURL=performPublishOverrides.d.ts.map