import { getTagTypeFromLine } from './ejs-parser.js'; type CommentWithTagType = { comment: C; tagType: Exclude, null>; }; type VirtualMarkerComment = { type: 'Line'; value: string; range?: [number, number]; loc?: { start: { line: number; column: number; }; end: { line: number; column: number; }; }; }; /** * Extract virtual marker comments from source text directly. * * We intentionally avoid `sourceCode.getAllComments()` because parser comment * recovery can miss marker lines when templates contain cross-tag block * comments (`/ * ... * /`) that span multiple virtual blocks. */ export declare const getTagTypeComments: (sourceText: string) => CommentWithTagType[]; /** * Narrow a value to a record so its properties can be read. * * ESLint types `context.options` as `any[]`, so reading a rule option is otherwise an * assertion from `any`. A type predicate narrows it without one. The option has already been * validated against the rule's `schema` by the time `create()` runs, so these checks exist to * satisfy the type system rather than to guard against shapes that can actually occur. */ export declare const isRecord: (value: unknown) => value is Record; /** Narrow a value to an array whose elements still need checking individually. */ export declare const isUnknownArray: (value: unknown) => value is readonly unknown[]; export {}; //# sourceMappingURL=utils.d.ts.map