import { GoImportWithModule } from '../types/go-import-with-module';
import { ProjectRootMap } from '../types/project-root-map';
/**
 * Gets the project name for the go import by getting the relative path for the import with in the go module system
 * then uses that to calculate the relative path on disk and looks up which project in the workspace the import is a part
 * of.
 *
 * @param projectRootMap map with project roots in the workspace
 * @param import the go import
 * @param module the go module
 */
export declare const getProjectNameForGoImport: (projectRootMap: ProjectRootMap, { import: goImport, module }: GoImportWithModule) => string | null;
