import { ProjectAsync } from "@atomist/automation-client/lib/project/Project";
/**
 * Path expression using the Kotlin grammar for a Java package declaration
 */
export declare const KotlinPackage = "//packageHeader//identifier";
/**
 * Represents Java project structure (nested packages following Java naming conventions)
 * which can be inferred from project contents.
 * Also works for Kotlin.
 */
export declare class JavaProjectStructure {
    readonly applicationPackage: string;
    /**
     * Find root Java or Kotlin package
     * @param {ProjectAsync} p
     * @return {Promise<JavaProjectStructure>}
     */
    static infer(p: ProjectAsync): Promise<JavaProjectStructure>;
    /**
     * @param applicationPackage The first Java package found in the project.
     */
    private constructor();
}
//# sourceMappingURL=JavaProjectStructure.d.ts.map