import type { Rule } from "../types.js"; export declare function detectNamedLoadingWithText(source: string, componentName: string): boolean; export declare function detectAiErrorState(source: string, componentName: string): boolean; export declare const _internal: { detectNamedLoadingWithText: typeof detectNamedLoadingWithText; detectAiErrorState: typeof detectAiErrorState; isAllowlisted: (repoRoot: string) => boolean; }; export declare const rule: Rule;