///
export declare function resolveEmbeddedGitDir(): string;
/**
* Find the path to the embedded Git environment.
*
* If a custom Git directory path is defined as the `LOCAL_GIT_DIRECTORY` environment variable, then
* returns with it after resolving it as a path.
*/
export declare function resolveGitDir(localGitDir?: string | undefined): string;
/**
* Find the path to the embedded Git binary.
*/
export declare function resolveGitBinary(localGitDir?: string | undefined): string;
/**
* Find the path to the embedded git exec path.
*
* If a custom git exec path is given as the `GIT_EXEC_PATH` environment variable,
* then it returns with it after resolving it as a path.
*/
export declare function resolveGitExecPath(localGitDir?: string | undefined, gitExecPath?: string | undefined): string;
/**
* Setup the process environment before invoking Git.
*
* This method resolves the Git executable and creates the array of key-value
* pairs which should be used as environment variables.
*
* @param additional options to include with the process
*/
export declare function setupEnvironment(environmentVariables: Record, processEnv?: NodeJS.ProcessEnv): {
env: Record;
gitLocation: string;
};