import "hardhat/types/config"; import "hardhat/types/runtime"; import type { ethers } from "ethers"; import { DeploymentsExtension } from "hardhat-deploy/dist/types"; import { CraftformInitializerFormat } from "./core/types"; import { ICraftformHelper } from "./CraftformHelper"; declare module "hardhat/types/config" { interface HardhatUserConfig { craftform?: { dontOverrideCrafts?: boolean; initializer: string | "__$_init" | CraftformInitializerFormat; }; } interface ProjectPathsUserConfig { crafts?: string; logs?: string; } interface ProjectPathsConfig { crafts: string; logs: string; } } declare module "hardhat/types/runtime" { interface HardhatRuntimeEnvironment { ethers: typeof ethers & HardhatEthersHelpers; deployments: DeploymentsExtension; craftform: ICraftformHelper; } }