/** * Resolves a repository spec to a Git URL. * Handles github shorthand (org/repo → https://github.com/org/repo.git), * and passes through regular Git URLs after validating the protocol. */ export declare function resolveGitUrl(spec: { url?: string; github?: string; }): string; /** * Converts a URL to a safe directory name for caching. */ export declare function sanitizeDirName(url: string): string; /** * Clones or updates a remote repository in the cache directory. * Returns the local path to the cached clone. */ export declare function cloneOrUpdate(spec: { url?: string; github?: string; ref?: string; name: string; }, cacheDir: string): Promise<{ localPath: string; headSha: string; }>; //# sourceMappingURL=remote.d.ts.map