import type { ResolvedNpmPackage } from "../../../../../types/solidity.js"; import type { Result } from "../../../../../types/utils.js"; import type { TrueCasePathResolver } from "@nomicfoundation/hardhat-utils/fs"; export declare enum PathValidationErrorType { DOES_NOT_EXIST = "DOES_NOT_EXIST", CASING_ERROR = "CASING_ERROR" } export declare function validateFsPath(resolver: TrueCasePathResolver, from: string, relative: string): Promise>; /** * Resolves a subpath for a given package, when it uses package#exports * @param npmPackage The npm package. * @param subpath The supath to resolve. Which must use forward slashes. * @returns The resolved subpath. Which uses forward slashes. */ export declare function resolveSubpathWithPackageExports(npmPackage: Required, subpath: string): Result; //# sourceMappingURL=utils.d.ts.map