/** Planning and application for evidence-gated platform artifacts. */ import type { ApplyResult, ArtifactKind, DiscoveryResult, InstallRequest, MutationRequest, PlatformAdapter, PlatformDoctorReport, PlatformPlan, ResolvedArtifactLocation } from './types.js'; export interface PlatformEnvironment { root?: string; home?: string; discovery?: DiscoveryResult; } export declare function redactUserPath(path: string, home?: string): string; /** The sole conversion from declarative adapter paths into real filesystem paths. */ export declare function resolveArtifactLocation(adapter: PlatformAdapter, kind: ArtifactKind, scope: InstallRequest['scope'], environment?: PlatformEnvironment): ResolvedArtifactLocation | undefined; export declare function planInstall(request: InstallRequest): Promise; export declare function applyPlan(plan: PlatformPlan, request: InstallRequest): Promise; export declare function installPlatform(request: InstallRequest): Promise; export declare function upgradePlatforms(request: MutationRequest): Promise; export declare function uninstallPlatform(request: MutationRequest): Promise; export declare function migrateLegacyInstall(request: MutationRequest): Promise; export declare function runPlatformsDoctor(request: { platform?: PlatformAdapter['id']; path?: string; scope: InstallRequest['scope']; home?: string; }): Promise; //# sourceMappingURL=operations.d.ts.map