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