import type { ParserServices, ParserServicesWithTypeInformation } from '@typescript-eslint/utils'; import type { RuleWithMetaAndName } from '@typescript-eslint/utils/eslint-utils'; import type { RuleListener, RuleModule } from '@typescript-eslint/utils/ts-eslint'; export interface RuleModuleWithName extends RuleModule { readonly name: string; } export type RuleModuleWithNameDefault = RuleModuleWithName; export type { RuleContext } from '@typescript-eslint/utils/ts-eslint'; export type DocType = { recommended?: 'recommended' | 'strict' | 'stylistic'; requiresTypeChecking?: boolean; }; export declare function createRule({ create, meta, name, }: Readonly>): RuleModuleWithName; export declare function ensureParserWithTypeInformation(parserServices: Partial | undefined): asserts parserServices is ParserServicesWithTypeInformation; //# sourceMappingURL=rule.d.ts.map