import { FhevmHostContractName } from "@fhevm/mock-utils"; export declare class FhevmEnvironmentPaths { private _root; constructor(root: string); /** * Returns `/path/to/user-package` (eq: hre.config.paths.root) */ get rootDir(): string; /** * Returns `/path/to/user-package/.env` */ get dotEnvFile(): string; /** * Returns `/path/to/user-package/node_modules` */ get nodeModulesDir(): string; /** * Returns `/path/to/user-package/fhevmTemp` */ get cacheDir(): string; /** * Returns `/path/to/user-package/fhevmTemp/precompiled-fhevm-host-contracts-addresses.json` */ get cachePrecompiledFhevmHostContractsAddressesJson(): string; /** * Returns `/path/to/user-package/fhevmTemp/@fhevm/solidity/config` */ get cacheFhevmSolidityConfigDir(): string; /** * Returns: * - Unix: `fhevmTemp/@fhevm/solidity/config` * - Windows: `fhevmTemp\@fhevm\solidity\config` */ get relCacheFhevmSolidityConfigDir(): string; /** * Returns `fhevmTemp/@fhevm/solidity/config` (in Unix format) */ get relCacheFhevmSolidityConfigDirUnix(): string; /** * Returns `/path/to/user-package/fhevmTemp/@fhevm/solidity/config/ZamaConfig.sol` */ get cacheCoprocessorConfigSol(): string; /** * Returns `/path/to/user-package/node_modules/@fhevm/solidity` * This is legit since the user-package must have @fhevm/solidity in its dependencies. */ get fhevmSolidityDir(): string; /** * Returns `/path/to/user-package/node_modules/solidity-coverage` */ get solidityCoverageDir(): string | undefined; /** * Returns `/path/to/user-package/node_modules/mock-utils` */ get mockUtilsDir(): string | undefined; /** * Returns `/path/to/user-package/node_modules/@fhevm/solidity/config` */ get fhevmSolidityConfigDir(): string; /** * Returns `/path/to/user-package/node_modules/@fhevm/solidity/config/ZamaConfig.sol` */ get fhevmSolidityConfigFile(): string; /** * Returns `/path/to/user-package/node_modules/@fhevm/solidity/lib` */ get fhevmSolidityLibDir(): string; /** * If using npm: * - Returns `/path/to/user-package/node_modules/@zama-fhe/relayer-sdk` * If using pnpm (strict no hoist): * - Returns `/path/to/user-package/node_modules/.pnpm/@zama-fhe+relayer-sdk@...@...@.../node_modules/@zama-fhe/relayer-sdk` * If using any other package manager: path to the installed module */ get zamaFheRelayerSdkDir(): string; /** * The returned path can be one of the following: * - `/path/to/user-package/artifacts/@fhevm/host-contracts` * - `@fhevm/host-contracts/artifacts` */ resolveFhevmHostContractsArtifactRootDir(): string; /** * The returned path can be one of the following: * - `/path/to/user-package/artifacts/@fhevm/host-contracts/.sol/.json` * - `@fhevm/host-contracts/artifacts/contracts/.sol/.json` */ resolveFhevmHostContractsArtifactPath(contractName: FhevmHostContractName): string; getFhevmHostContractsArtifact(contractName: FhevmHostContractName): Promise<{ artifact: any; path: string; }>; getMockUtilsVersion(): string | undefined; getBundledMockUtilsVersion(): string | undefined; private _checkMockUtilsVersions; private _resolveFromConsumer; } export declare function resolveFromConsumer(modulePathId: string, basedir: string): string; //# sourceMappingURL=FhevmEnvironmentPaths.d.ts.map