import type { Rule, RuleContext, ParsedFiles, RuleEvalResult } from "../types.js"; import type { PublicExportIndex } from "../loaders/public-exports.js"; interface DocFinding { componentName: string; documented: boolean; line: number; column: number; } /** * Walk a parsed .tsx/.jsx source for exported PascalCase component declarations * (function, arrow/function const, HOC-wrapped const, default function) and * record, per component, whether it carries a leading JSDoc doc-comment. */ declare function scanComponentDocs(source: string): DocFinding[]; declare function evaluateDocComments(files: ParsedFiles, index: PublicExportIndex, ctx: RuleContext): RuleEvalResult; export declare const rule: Rule; export declare const _internal: { scanComponentDocs: typeof scanComponentDocs; evaluateDocComments: typeof evaluateDocComments; COMPONENT_WRAPPERS: Set; }; export {};