import type { ParsedLocator, WorkspaceResolverOptions } from "../types.js"; export declare function buildCachePath(homeDir: string, locator: Extract): string; export declare function buildCloneUrl(locator: Extract): string; export declare function cloneOrUpdate(locator: Extract, options: WorkspaceResolverOptions): Promise; export declare function fetchRef(cacheDir: string, ref: string, options: WorkspaceResolverOptions): Promise;