import type { WizardOptions } from '../../utils/types';
export type JavaBuildTool = 'maven' | 'gradle';
/**
 * Returns true when the directory contains a JVM Java project.
 * Signals: pom.xml (Maven), build.gradle / build.gradle.kts (Gradle),
 * or a src/main/java directory (standard Maven/Gradle layout).
 *
 * Note: Android projects also use build.gradle, but they are detected
 * earlier in the registry and will never reach this detector.
 */
export declare function detectJavaProject(options: Pick<WizardOptions, 'installDir'>): Promise<boolean>;
/**
 * Returns the detected build tool for the Java project.
 */
export declare function detectJavaBuildTool(options: Pick<WizardOptions, 'installDir'>): JavaBuildTool;
