/** * UseExpr Validation Rules * Enforces use<> expression restrictions based on checkerMode. * * AC-14: use<$varName> and use<(expr)> forms produce errors in strict mode, * warnings in permissive mode. * AC-15: use without :type annotation produces an error in strict mode, * a warning in permissive mode. */ import type { ValidationRule } from '../types.js'; /** * Flags dynamic use<> identifier forms in checkerMode-aware way. * Variable form (use<$name>) and computed form (use<(expr)>) are harder for * static analysis and code review. Strict mode rejects them; permissive warns. * * References: * - AC-14 in use-construct spec * - docs/guide-conventions.md checker modes section */ export declare const USE_DYNAMIC_IDENTIFIER: ValidationRule; /** * Flags static use expressions that lack a :type annotation. * Untyped host references make type flow opaque. Strict mode rejects them; * permissive mode warns. * * References: * - AC-15 in use-construct spec * - docs/guide-conventions.md checker modes section */ export declare const USE_UNTYPED_HOST_REF: ValidationRule;