export interface CloneInfo { path: string; url: string; } /** * Check if a string looks like a git remote URL. */ export declare function isGitUrl(input: string): boolean; /** * Extract a repo name from a URL for display purposes. * e.g. "https://github.com/org/repo.git" → "repo" */ export declare function repoNameFromUrl(url: string): string; /** * If the input is a URL, clone it to a temp directory and return the path. * Returns null if the input is not a URL (i.e., it's a local path). */ export declare function cloneIfUrl(input: string): Promise; /** * Clean up a temporary clone directory. */ export declare function cleanupClone(path: string): Promise; //# sourceMappingURL=remote.d.ts.map