import { TreeSitterFile } from "../../../ast/TreeSitterFile";
export declare class JavaRelevantLookup {
    tsfile: TreeSitterFile;
    constructor(tsfile: TreeSitterFile);
    /**
     * The `relevantImportToFilePath` method is used to filter out the relevant class from the given imports and return their file paths.
     *
     * @param imports This is an array of strings where each string represents an import statement.
     *
     * @returns This method returns an array of strings where each string is the file path of the relevant import.
     *
     * The method first refines the import types by calling the `refineImportTypes` method on the `imports` parameter. The `refineImportTypes` method is expected to return an array of relevant imports.
     *
     * Then, it maps over the array of relevant imports and for each import, it calls the `pathByPackageName` method. The `pathByPackageName` method is expected to return the file path of the import.
     *
     * The resulting array of file paths is then returned by the `relevantImportToFilePath` method.
     *
     * Note: The `refineImportTypes` and `pathByPackageName` methods are not defined in this snippet. They should be defined elsewhere in the code and should be used as per the requirements.
     */
    relevantImportToFilePath(imports: string[]): string[];
    isJavaFrameworks(imp: string): boolean;
    private refineImportTypes;
    extractCurrentPackageName(): string;
    /**
     * Given a package name, if similar to the current tsfile package, try to look up in the codebase.
     *
     * For example, if the current file package name is `cc.unitmesh.untitled.demo.service`, the relevant package name
     * is `cc.unitmesh.untitled.demo.repository`, then we can be according current filepath to look up a relevant class path;
     */
    pathByPackageName(packageName: string): string;
}
