import 'hardhat/types/config'; import type { WarningId } from './error-codes.d.ts'; export type WarningRule = boolean | 'warn' | 'error' | 'off'; export type FileRules = { [e in WarningId]?: WarningRule; } & { default?: WarningRule; }; export type WarningConfig = Record; declare module 'hardhat/types/config' { interface HardhatUserConfig { warnings?: WarningRule | WarningConfig; } interface HardhatConfig { warnings: WarningConfig; } } //# sourceMappingURL=type-extensions.d.ts.map