export declare function resolveCloneSubmoduleOptions(projectDir: string): {
    args: string[];
    label: string;
    targets: string;
};
export declare function fetchRemoteBranchIntoIsolatedClone(projectDir: string, clonePath: string, branch: string): void;
export declare function fetchRemoteBranchIntoIsolatedCloneAbortable(projectDir: string, clonePath: string, branch: string, abortSignal?: AbortSignal): Promise<void>;
export declare function cloneAndIsolate(projectDir: string, clonePath: string, branch?: string): void;
export declare function runGitCommandAbortable(gitCwd: string, args: string[], abortSignal?: AbortSignal, env?: NodeJS.ProcessEnv): Promise<{
    stdout: string;
    stderr: string;
}>;
export declare function cloneAndIsolateAbortable(projectDir: string, clonePath: string, branch?: string, abortSignal?: AbortSignal): Promise<void>;
//# sourceMappingURL=clone-exec.d.ts.map