import { type TSESTree as es, TSESLint } from "@typescript-eslint/utils"; /** A render-local expression and the identity category it allocates. */ type UnstableValue = Readonly<{ readonly kind: UnstableValueKind; readonly node: Readonly; }>; /** Identity categories conservatively recognized by memoization rules. */ type UnstableValueKind = "array" | "function" | "instance" | "jsx" | "object" | "unknown"; /** Return whether a call resolves to an imported React or Preact memo hook. */ export declare const isMemoHookCall: (sourceCode: Readonly, expression: Readonly) => boolean; /** Collect conservative render-local values whose identities are unstable. */ export declare const collectUnstableValues: (sourceCode: Readonly, expression: Readonly, includeUnknown: boolean, visitedExpressions?: Set>) => readonly UnstableValue[]; export type { UnstableValue, UnstableValueKind }; //# sourceMappingURL=react-memo-stability.d.ts.map