import type { LintDiagnostic, RuleContext, RuleDefinition } from '../../types'; /** * AST-based: detect `m.top.fieldName` accesses where `fieldName` is not declared * in the component's XML interface or any ancestor component / SG node. * Requires `lintContext.getMtopFields` — populated in both extension mode * (`diagnosticsProvider.ts`) and CLI mode (`projectIndexer.ts`'s `buildGetMtopFields`). * Returns [] if genuinely absent (a test/mock context, or a file with no companion XML). */ export declare function checkMtopFieldAccessAst(ctx: RuleContext): LintDiagnostic[]; export declare const descriptor: RuleDefinition; //# sourceMappingURL=mtopFieldAccess.d.ts.map