interface FlatConfig { name?: string; plugins?: Record; rules?: Record; } interface LegacyConfig { plugins: string[]; rules: Record; } interface ESLintPlugin { rules: Record; configs: { 'base': FlatConfig[]; 'recommended': FlatConfig[]; 'all': FlatConfig[]; 'recommended-legacy': LegacyConfig; }; } type RuleConfig = 'off' | 0 | 'warn' | 1 | 'error' | 2 | [RuleLevel, ...any[]]; type RuleLevel = 'off' | 'warn' | 'error' | 0 | 1 | 2; declare const plugin: ESLintPlugin; export { plugin as default }; //# sourceMappingURL=index.d.cts.map