/// import { TFileSystemPath } from "../helpers/basic-types"; import { TDockerImageHerdDeclaration } from "../deployment-types"; export declare type THerdImagesSpec = { images: { [key: string]: Omit; }; }; export declare type TDeploymentUpgradeParamsFromLoadedHerd = TDeploymentUpgradeParams & { herd: THerdImagesSpec; }; export declare type TDeploymentUpgradeParams = { imageFileName: TFileSystemPath; upstreamImageName: string; upstreamImageTag: string; upstreamHerdKey: string; upstreamHerdDescription: string; }; export declare function upgradeOrAddDeployment({ herd, upstreamHerdKey, upstreamImageTag, upstreamImageName, imageFileName, upstreamHerdDescription, }: TDeploymentUpgradeParamsFromLoadedHerd, logger?: Console): THerdImagesSpec; export declare function upgradeOrAddDeploymentInFile({ imageFileName, upstreamImageName, upstreamImageTag, upstreamHerdKey, upstreamHerdDescription, }: TDeploymentUpgradeParams, logger?: Console): void;