import type { GradleVersionExtract } from './types';
export declare const extraEnv: {
    GRADLE_OPTS: string;
};
export declare function gradleWrapperFileName(): string;
export declare function nullRedirectionCommand(): string;
export declare function prepareGradleCommand(gradlewFile: string): Promise<string | null>;
/**
 * Find compatible java version for gradle.
 * see https://docs.gradle.org/current/userguide/compatibility.html
 * @param gradleVersion current gradle version
 * @returns A Java semver range
 */
export declare function getJavaConstraint(gradleVersion: string | null | undefined): string;
export declare function extractGradleVersion(fileContent: string): GradleVersionExtract | null;
