import type { MittwaldAPIV2, MittwaldAPIV2Client } from "@mittwald/api-client"; import { ProcessRenderer } from "../../../rendering/process/process.js"; type AppSystemSoftwareUpdatePolicy = MittwaldAPIV2.Components.Schemas.AppSystemSoftwareUpdatePolicy; type SystemSoftwareUpdate = { systemSoftwareVersion: string; updatePolicy: AppSystemSoftwareUpdatePolicy; }; /** A map of system-software id to the version it should be pinned to. */ export type SystemSoftwareUpdateMap = Record; /** * Resolves a list of `=` specifications into a map of * system-software id to the concrete version it should be pinned to. * * `` is the name of a system software (e.g. `php`) and `` * is a semver constraint (e.g. `~8.3`). For each spec, the matching available * version is resolved. */ export declare function resolveSystemSoftwareUpdates(apiClient: MittwaldAPIV2Client, process: ProcessRenderer, set: string[], updatePolicy: AppSystemSoftwareUpdatePolicy): Promise; /** * Updates the system-software dependencies of an existing app installation by * resolving the given specifications and patching the installation * accordingly. */ export declare function updateAppDependencies(apiClient: MittwaldAPIV2Client, process: ProcessRenderer, appInstallationId: string, set: string[], updatePolicy: AppSystemSoftwareUpdatePolicy): Promise; export {};