import { Collector, Responder } from "../../reactor/types.js"; export type Fn = () => void; export type KeySet = Set; export type Recording = Map<{}, KeySet>; export type NormalReaction

= { collector: Collector

; responder: Responder

| void; }; export type LeanReaction = { lean: true; actor: () => void; }; export type Reaction

= NormalReaction

| LeanReaction; export type SymbolMap = Map>; export type KeyMap = Map; export type Tracking = WeakMap<{}, KeyMap>;