1 import { RuleModule } from '../ts-eslint';
2 declare type InferOptionsTypeFromRuleNever<T> = T extends RuleModule<never, infer TOptions> ? TOptions : unknown;
4 * Uses type inference to fetch the TOptions type from the given RuleModule
6 declare type InferOptionsTypeFromRule<T> = T extends RuleModule<string, infer TOptions> ? TOptions : InferOptionsTypeFromRuleNever<T>;
8 * Uses type inference to fetch the TMessageIds type from the given RuleModule
10 declare type InferMessageIdsTypeFromRule<T> = T extends RuleModule<infer TMessageIds, unknown[]> ? TMessageIds : unknown;
11 export { InferOptionsTypeFromRule, InferMessageIdsTypeFromRule };
12 //# sourceMappingURL=InferTypesFromRule.d.ts.map