import type { ParseSourceSpan, TmplAstElement } from '@angular-eslint/bundled-angular-compiler'; import type { TSESLint, TSESTree } from '@typescript-eslint/utils'; export interface TemplateParserServices { convertNodeSourceSpanToLoc: (sourceSpan: ParseSourceSpan) => TSESTree.SourceLocation; convertElementSourceSpanToLoc: (context: Readonly>, node: TmplAstElement) => TSESTree.SourceLocation; } export declare function getTemplateParserServices(context: Readonly>): TemplateParserServices; /** * 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: Readonly>): void; //# sourceMappingURL=parser-services.d.ts.map