/** Resolution of declarative adapter paths into real filesystem paths. */ import type { ArtifactIntent, ArtifactKind, DiscoveryResult, InstallRequest, PlatformAdapter, 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 intentLocation(adapter: PlatformAdapter, intent: ArtifactIntent, request: InstallRequest): ResolvedArtifactLocation | undefined; //# sourceMappingURL=locations.d.ts.map