import type { PackageJson } from "type-fest";
import type { ModulePathInfo } from "./getModuleInfoFromPath";
/**
 * This function checks if the required file is the main file of the package.
 * It does this by checking the package.json file of the package.
 */
export declare function isMainJsFile(pathInfo: ModulePathInfo, requireId: string, filename: string, packageJson: PackageJson): boolean;
