/** * 获取包的根路径。 * @param entryPath - 入口路径,默认为当前目录。 * @param excludeCurrent - 是否排除当前目录查找。 * @returns 返回包的根路径字符串,如果未找到则返回 null。 * @throws {InvalidProjectPathError} 当路径无效时抛出错误。 */ declare function getPackageRootPath(entryPath?: string, excludeCurrent?: boolean): string | null; export { getPackageRootPath };