UNPKG

hardhat

Version:

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

47 lines 1.58 kB
export type * from "./internal/core/config.js"; export * from "./internal/core/config.js"; export type { HardhatUserConfig } from "./types/config.js"; import "./internal/builtin-plugins/index.js"; import type { HardhatUserConfig } from "./types/config.js"; /** * Defines a Hardhat user config. * * This function is normally expected to be used in your `hardhat.config.ts` file * like this: * * ```js * import { defineConfig } from "hardhat/config"; * * export default defineConfig({ * // Your config ... * }); * ``` * @note If using `--isolatedDeclarations`, you should import the type * `HardhatUserConfig` from `hardhat/config` instead of relying on the return * type of this function. * * @param config Your config. See {@link https://hardhat.org/config}. * @returns The config. */ export declare function defineConfig(config: HardhatUserConfig): HardhatUserConfig; /** * @deprecated This function is part of the Hardhat 2 plugin API. */ export declare function extendConfig(..._args: any): any; /** * @deprecated This function is part of the Hardhat 2 plugin API. */ export declare function extendEnvironment(..._args: any): any; /** * @deprecated This function is part of the Hardhat 2 plugin API. */ export declare function extendProvider(..._args: any): any; /** * @deprecated This function is part of the Hardhat 2 plugin API. */ export declare function scope(..._args: any): any; /** * @deprecated This function is part of the Hardhat 2 plugin API. */ export declare function subtask(..._args: any): any; //# sourceMappingURL=config.d.ts.map