import { Linter } from 'eslint'; import plugin from './index.mjs'; type RuleDefinitions = (typeof plugin)["rules"]; type RuleOptions = { [K in keyof RuleDefinitions]: RuleDefinitions[K]["defaultOptions"]; }; type Rules = { [K in keyof RuleOptions]: Linter.RuleEntry; }; export type { RuleOptions, Rules };