import type { TSESLint } from '@typescript-eslint/experimental-utils'; export declare const createESLintRule: ({ name, meta, defaultOptions, create, }: Readonly<{ name: string; meta: { docs: { category: "Best Practices" | "Stylistic Issues" | "Variables" | "Possible Errors"; description: string; recommended: false | "error" | "warn"; suggestion?: boolean | undefined; requiresTypeChecking?: boolean | undefined; extendsBaseRule?: string | boolean | undefined; }; } & Omit, "docs">; defaultOptions: Readonly; create: (context: Readonly>, optionsWithDefault: Readonly) => TRuleListener; }>) => TSESLint.RuleModule; interface SourceSpan { start: { line: number; col: any; }; end: { line: number; col: any; }; } interface ParserServices { convertNodeSourceSpanToLoc: (sourceSpan: SourceSpan) => any; convertElementSourceSpanToLoc: (context: TSESLint.RuleContext, node: any) => any; } export declare function getTemplateParserServices(context: any): ParserServices; /** * Utility for rule authors to ensure that their rule is correctly being used with @angular-eslint/template-parser * If @angular-eslint/template-parser is not the configured parser when the function is invoked it will throw */ export declare function ensureTemplateParser(context: TSESLint.RuleContext): void; export {};