/**
 * Ambient declaration for `react/compiler-runtime`.
 *
 * React Compiler rewrites every TSX component into a post-compiler form
 * where the memo cache is retrieved via `c()` and indexed for return
 * values. The shipped @types/react's compiler-runtime.d.ts is a
 * deliberate `export {}` (the team doesn't want it autocompleted), so
 * `_c()` resolves to implicit any — and its indexed values become
 * `unknown`, which trips TS2786 on every <JSXElement /> in the
 * repo (~10k cascading errors).
 *
 * Declare the cache as `any[]` so post-compiler return values are
 * inferred as `any` and remain valid JSX.IntrinsicElements consumers.
 * This does NOT affect runtime behavior or emitted code — it is a
 * type-level bridge for `tsc --noEmit`.
 */
declare module 'react/compiler-runtime' {
  export function c(size: number): any[]
}
