@graphrefly/graphrefly 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/README.md +7 -5
  2. package/dist/chunk-44HD4BTA.js +47 -0
  3. package/dist/chunk-44HD4BTA.js.map +1 -0
  4. package/dist/chunk-7TAQJHQV.js +103 -0
  5. package/dist/chunk-7TAQJHQV.js.map +1 -0
  6. package/dist/chunk-BLD3IFYF.js +6827 -0
  7. package/dist/chunk-BLD3IFYF.js.map +1 -0
  8. package/dist/{chunk-ZTCDY5NQ.js → chunk-EQUZ5NLD.js} +34 -45
  9. package/dist/chunk-EQUZ5NLD.js.map +1 -0
  10. package/dist/{chunk-VOQFK7YN.js → chunk-IR3KMOLX.js} +358 -128
  11. package/dist/chunk-IR3KMOLX.js.map +1 -0
  12. package/dist/{chunk-XWBVAO2R.js → chunk-MQBQOFDS.js} +20 -11
  13. package/dist/chunk-MQBQOFDS.js.map +1 -0
  14. package/dist/chunk-NXC35KC5.js +2417 -0
  15. package/dist/chunk-NXC35KC5.js.map +1 -0
  16. package/dist/chunk-QA3RP5NH.js +2234 -0
  17. package/dist/chunk-QA3RP5NH.js.map +1 -0
  18. package/dist/chunk-RHI3GHZW.js +115 -0
  19. package/dist/chunk-RHI3GHZW.js.map +1 -0
  20. package/dist/{chunk-7IGHIFTT.js → chunk-TH6COGOP.js} +15 -26
  21. package/dist/chunk-TH6COGOP.js.map +1 -0
  22. package/dist/compat/nestjs/index.cjs +3366 -2259
  23. package/dist/compat/nestjs/index.cjs.map +1 -1
  24. package/dist/compat/nestjs/index.d.cts +6 -4
  25. package/dist/compat/nestjs/index.d.ts +6 -4
  26. package/dist/compat/nestjs/index.js +8 -8
  27. package/dist/core/index.cjs +1611 -1218
  28. package/dist/core/index.cjs.map +1 -1
  29. package/dist/core/index.d.cts +3 -2
  30. package/dist/core/index.d.ts +3 -2
  31. package/dist/core/index.js +37 -34
  32. package/dist/extra/index.cjs +7387 -6089
  33. package/dist/extra/index.cjs.map +1 -1
  34. package/dist/extra/index.d.cts +4 -4
  35. package/dist/extra/index.d.ts +4 -4
  36. package/dist/extra/index.js +57 -30
  37. package/dist/graph/index.cjs +3107 -2216
  38. package/dist/graph/index.cjs.map +1 -1
  39. package/dist/graph/index.d.cts +5 -3
  40. package/dist/graph/index.d.ts +5 -3
  41. package/dist/graph/index.js +24 -11
  42. package/dist/graph-DFr0diXB.d.ts +1128 -0
  43. package/dist/graph-ab1yPwIB.d.cts +1128 -0
  44. package/dist/{index-8a605sg9.d.ts → index-BHm3Ba5q.d.ts} +2 -2
  45. package/dist/{index-DuN3bhtm.d.ts → index-BbYZma8G.d.ts} +1697 -586
  46. package/dist/{index-SFzE_KTa.d.cts → index-BvWfZCTt.d.cts} +1697 -586
  47. package/dist/index-C9z6rU9P.d.cts +388 -0
  48. package/dist/{index-BjtlNirP.d.cts → index-D36MAQ3f.d.ts} +4 -4
  49. package/dist/{index-VHA43cGP.d.cts → index-DLE1Sp-L.d.cts} +2 -2
  50. package/dist/{index-CgSiUouz.d.ts → index-DrJq9B1T.d.cts} +4 -4
  51. package/dist/index-DsGxLfwL.d.ts +315 -0
  52. package/dist/index-Dy04P4W3.d.cts +315 -0
  53. package/dist/index-HdJx_BjO.d.ts +388 -0
  54. package/dist/index.cjs +9781 -7878
  55. package/dist/index.cjs.map +1 -1
  56. package/dist/index.d.cts +214 -37
  57. package/dist/index.d.ts +214 -37
  58. package/dist/index.js +905 -638
  59. package/dist/index.js.map +1 -1
  60. package/dist/meta--fr9sxRM.d.cts +41 -0
  61. package/dist/meta-n3FoVWML.d.ts +41 -0
  62. package/dist/node-C5UD5MGq.d.cts +1146 -0
  63. package/dist/node-C5UD5MGq.d.ts +1146 -0
  64. package/dist/{observable-DcBwQY7t.d.ts → observable-CQRBtEbq.d.ts} +1 -1
  65. package/dist/{observable-C8Kx_O6k.d.cts → observable-DWydVy5b.d.cts} +1 -1
  66. package/dist/patterns/reactive-layout/index.cjs +3102 -2132
  67. package/dist/patterns/reactive-layout/index.cjs.map +1 -1
  68. package/dist/patterns/reactive-layout/index.d.cts +5 -3
  69. package/dist/patterns/reactive-layout/index.d.ts +5 -3
  70. package/dist/patterns/reactive-layout/index.js +5 -4
  71. package/dist/storage-Bew05Xy6.d.cts +182 -0
  72. package/dist/storage-C9fZfMfM.d.ts +182 -0
  73. package/package.json +1 -1
  74. package/dist/chunk-2UDLYZHT.js +0 -2117
  75. package/dist/chunk-2UDLYZHT.js.map +0 -1
  76. package/dist/chunk-4MQ2J6IG.js +0 -1631
  77. package/dist/chunk-4MQ2J6IG.js.map +0 -1
  78. package/dist/chunk-7IGHIFTT.js.map +0 -1
  79. package/dist/chunk-DOSLSFKL.js +0 -162
  80. package/dist/chunk-DOSLSFKL.js.map +0 -1
  81. package/dist/chunk-ECN37NVS.js +0 -6227
  82. package/dist/chunk-ECN37NVS.js.map +0 -1
  83. package/dist/chunk-G66H6ZRK.js +0 -111
  84. package/dist/chunk-G66H6ZRK.js.map +0 -1
  85. package/dist/chunk-VOQFK7YN.js.map +0 -1
  86. package/dist/chunk-WZ2Z2CRV.js +0 -32
  87. package/dist/chunk-WZ2Z2CRV.js.map +0 -1
  88. package/dist/chunk-XWBVAO2R.js.map +0 -1
  89. package/dist/chunk-ZTCDY5NQ.js.map +0 -1
  90. package/dist/graph-KsTe57nI.d.cts +0 -750
  91. package/dist/graph-mILUUqW8.d.ts +0 -750
  92. package/dist/index-B2SvPEbc.d.ts +0 -257
  93. package/dist/index-BHfg_Ez3.d.ts +0 -629
  94. package/dist/index-Bc_diYYJ.d.cts +0 -629
  95. package/dist/index-UudxGnzc.d.cts +0 -257
  96. package/dist/meta-BnG7XAaE.d.cts +0 -778
  97. package/dist/meta-BnG7XAaE.d.ts +0 -778
@@ -0,0 +1,388 @@
1
+ import { t as Messages, a as NodeOptions, F as FnCtx, N as Node, b as NodeActions, x as NodeFnCleanup, A as Actor, C as COMPLETE, c as COMPLETE_MSG, d as COMPLETE_ONLY_BATCH, D as DATA, e as DEFAULT_ACTOR, f as DIRTY, g as DIRTY_MSG, h as DIRTY_ONLY_BATCH, i as DepRecord, E as ERROR, G as GlobalInspectorEvent, j as GlobalInspectorHook, k as GraphReFlyConfig, l as GuardAction, m as GuardDenied, n as GuardDeniedDetails, H as HashFn, I as INVALIDATE, o as INVALIDATE_MSG, p as INVALIDATE_ONLY_BATCH, M as Message, q as MessageContext, r as MessageTypeRegistration, s as MessageTypeRegistrationInput, u as NodeCtx, v as NodeDescribeKind, w as NodeFn, y as NodeGuard, z as NodeImpl, B as NodeInspectorHook, J as NodeInspectorHookEvent, K as NodeSink, L as NodeStatus, O as NodeTransportOptions, P as NodeVersionInfo, Q as OnMessageHandler, R as OnSubscribeHandler, S as PAUSE, T as PolicyAllow, U as PolicyDeny, V as PolicyRuleData, W as RESOLVED, X as RESOLVED_MSG, Y as RESOLVED_ONLY_BATCH, Z as RESUME, _ as START, $ as START_MSG, a0 as SubscribeContext, a1 as TEARDOWN, a2 as TEARDOWN_MSG, a3 as TEARDOWN_ONLY_BATCH, a4 as V0, a5 as V1, a6 as VersioningLevel, a7 as VersioningOptions, a8 as accessHintForGuard, a9 as advanceVersion, aa as configure, ab as createVersioning, ac as defaultConfig, ad as defaultHash, ae as isV1, af as node, ag as normalizeActor, ah as policy, ai as policyFromRules, aj as registerBuiltins } from './node-C5UD5MGq.js';
2
+ import { D as DescribeDetail, a as DescribeField, b as DescribeNodeOutput, r as resolveDescribeFields } from './meta-n3FoVWML.js';
3
+
4
+ /**
5
+ * Batch deferral for tier-3+ messages.
6
+ *
7
+ * §1.3.7 — Inside a batch, tier 0–2 signals propagate immediately. Tier 3
8
+ * (DATA/RESOLVED), tier 4 (COMPLETE/ERROR), and tier 5 (TEARDOWN) are queued
9
+ * and drained in ascending phase order after the outermost `batch()` callback
10
+ * returns.
11
+ *
12
+ * **Phase vocabulary:**
13
+ * - Phase 1 = tiers 0–2 — immediate, never queued.
14
+ * - Phase 2 = tier 3 — {@link drainPhase2}. Value settlements.
15
+ * - Phase 3 = tier 4 — {@link drainPhase3}. Terminal signals.
16
+ * - Phase 4 = tier 5 — {@link drainPhase4}. TEARDOWN (unified deferral).
17
+ *
18
+ * Drain rule: lowest non-empty phase first. Re-enqueues during drain bump the
19
+ * loop back to the lowest non-empty phase, preserving "earlier values settle
20
+ * before later terminals/teardown" across callback re-entry.
21
+ *
22
+ * **Pre-sorted input invariant.** `downWithBatch` assumes `messages` is
23
+ * already sorted in ascending tier order (produced by `_frameBatch` in
24
+ * `node.ts`). The walker exploits monotonicity for a single O(n) pass and
25
+ * slices at phase boundaries without re-sorting.
26
+ */
27
+
28
+ /**
29
+ * Returns whether the current call stack is inside a batch scope **or** while
30
+ * a deferred drain is in progress. Nested `downWithBatch` calls during drain
31
+ * still defer (they bump the drain loop).
32
+ */
33
+ declare function isBatching(): boolean;
34
+ /**
35
+ * Runs `fn` inside a batch scope. Nested `batch()` calls share one deferral
36
+ * queue. If `fn` throws, deferred work for the outer frame is discarded
37
+ * (unless a drain is already in progress — cross-language decision A4).
38
+ */
39
+ declare function batch(fn: () => void): void;
40
+ /**
41
+ * Deliver pre-sorted messages through `sink` with tier-based deferral applied.
42
+ *
43
+ * `messages` MUST be in ascending tier order (produced by `_frameBatch` in
44
+ * `node.ts`); the walker exploits that invariant to find phase cuts in one
45
+ * pass without re-sorting.
46
+ *
47
+ * Behavior:
48
+ * - Tier 0–2 — delivered synchronously.
49
+ * - Tier 3 — deferred to {@link drainPhase2} when batching, else synchronous.
50
+ * - Tier 4 — deferred to {@link drainPhase3} when batching, else synchronous.
51
+ * - Tier 5 — deferred to {@link drainPhase4} when batching, else synchronous.
52
+ *
53
+ * Tier-classification uses the caller-supplied `tierOf` so that batch stays
54
+ * decoupled from `GraphReFlyConfig`. NodeImpl passes `config.tierOf` (a
55
+ * pre-bound closure built once in the config constructor) at the emit site;
56
+ * alternate configs can pass their own lookup.
57
+ */
58
+ declare function downWithBatch(sink: (messages: Messages) => void, messages: Messages, tierOf: (t: symbol) => number): void;
59
+
60
+ /**
61
+ * Centralised timestamp utilities.
62
+ *
63
+ * Convention: all graphrefly-ts timestamps use nanoseconds (`_ns` suffix).
64
+ *
65
+ * - {@link monotonicNs} — monotonic clock (ordering, durations, timeline events).
66
+ * - {@link wallClockNs} — wall-clock (mutation attribution, cron emission).
67
+ *
68
+ * **Precision limits (JS platform):**
69
+ *
70
+ * - `monotonicNs`: effective ~microsecond precision. `performance.now()` returns
71
+ * milliseconds with ~5µs resolution; the last 3 digits of the nanosecond value
72
+ * are always zero. Python's `time.monotonic_ns()` gives true nanoseconds.
73
+ *
74
+ * - `wallClockNs`: ~256ns precision loss at current epoch. `Date.now() * 1e6`
75
+ * produces values around 1.8×10¹⁸ which exceed IEEE 754's 2⁵³ safe integer
76
+ * limit. Python's `time.time_ns()` (arbitrary-precision `int`) has no loss.
77
+ * In practice this is irrelevant — JS is single-threaded, so sub-microsecond
78
+ * timestamp collisions cannot occur.
79
+ */
80
+ /** Monotonic nanosecond timestamp via `performance.now()`. */
81
+ declare function monotonicNs(): number;
82
+ /** Wall-clock nanosecond timestamp via `Date.now()`. */
83
+ declare function wallClockNs(): number;
84
+
85
+ /**
86
+ * Sugar constructors over the raw `node()` primitive.
87
+ *
88
+ * Each factory wraps a user-friendly function into the canonical
89
+ * `NodeFn = (data, actions, ctx) => cleanup | void` shape, then calls
90
+ * `node(...)`. This is the only place `actions.emit(...)` is invoked
91
+ * on behalf of the user — if you need finer control (multi-emission,
92
+ * raw `actions.down` / `actions.up`, cleanup return), use the raw
93
+ * `node()` factory from `./node.js` directly.
94
+ *
95
+ * See SESSION-foundation-redesign.md §8.5 + §10.6 for the rewrite.
96
+ */
97
+
98
+ /**
99
+ * Creates a manual source node. Drive it with `state.emit(v)` (framed,
100
+ * diamond-safe) or `state.down([[DATA, v]])` (raw compat path).
101
+ *
102
+ * @param initial - Starting cached value. Pass `undefined` or `null`
103
+ * explicitly to cache that value; omit to leave the node in `"sentinel"`.
104
+ * @param opts - Optional {@link NodeOptions} (excluding `initial`).
105
+ */
106
+ declare function state<T>(initial: T, opts?: Omit<NodeOptions<T>, "initial">): Node<T>;
107
+ /**
108
+ * User-level producer compute: runs once on first-subscriber activation.
109
+ * Receives `actions` for imperative emission and `ctx` for FnCtx (typically
110
+ * only `store` is useful on a producer — no deps means `prevData` and
111
+ * `terminalDeps` are empty).
112
+ */
113
+ type ProducerFn = (actions: NodeActions, ctx: FnCtx) => NodeFnCleanup | void;
114
+ /**
115
+ * Creates a producer node with no deps; `fn` runs once when the first
116
+ * subscriber connects. Return a cleanup function (`() => void`) or
117
+ * `{ deactivation: () => void }` to register teardown.
118
+ *
119
+ * @example
120
+ * ```ts
121
+ * const ticker = producer((actions) => {
122
+ * const id = setInterval(() => actions.emit(Date.now()), 1000);
123
+ * return () => clearInterval(id);
124
+ * });
125
+ * ```
126
+ */
127
+ declare function producer<T = unknown>(fn: ProducerFn, opts?: NodeOptions<T>): Node<T>;
128
+ /**
129
+ * User-level derived compute: receives the latest DATA from each dep and
130
+ * returns the new value. The sugar wraps it with `actions.emit(fn(...))`
131
+ * so the return value flows through the framed emit pipeline.
132
+ *
133
+ * For derived nodes that need to inspect `ctx.prevData` / `ctx.terminalDeps`
134
+ * / `ctx.store`, accept the optional second parameter.
135
+ */
136
+ type DerivedFn<T> = (data: readonly unknown[], ctx: FnCtx) => T | undefined | null;
137
+ /**
138
+ * Creates a derived node that computes **one output per wave** from the latest
139
+ * value of each dependency — **snapshot / combine semantics**.
140
+ *
141
+ * `fn` receives one scalar per dep (the last DATA value seen this wave, or the
142
+ * prior-wave value as fallback). It is called once per settled wave and emits
143
+ * a single value via `actions.emit`. The equals check then suppresses the
144
+ * emission as `RESOLVED` if the output has not changed.
145
+ *
146
+ * **Not for streaming one-to-one transforms.** If each DATA value in a batch
147
+ * must produce a corresponding output (e.g. transforming every item emitted by
148
+ * `fromIter` individually), use {@link map} or raw `node()` with full batch
149
+ * iteration instead. `derived` only sees the *last* value per dep when a batch
150
+ * carries multiple DATAs.
151
+ *
152
+ * @example
153
+ * ```ts
154
+ * const a = state(1);
155
+ * const b = derived([a], ([x]) => (x as number) * 2);
156
+ * ```
157
+ */
158
+ declare function derived<T = unknown>(deps: readonly Node[], fn: DerivedFn<T>, opts?: NodeOptions<T> & {
159
+ partial?: boolean;
160
+ }): Node<T>;
161
+ /**
162
+ * User-level effect compute: fires when deps settle. Return value is NOT
163
+ * auto-emitted — use `actions.emit(v)` / `actions.down(msgs)` explicitly if
164
+ * the effect also wants to produce downstream messages. Return a cleanup
165
+ * function or `{ deactivation }` to register teardown.
166
+ */
167
+ type EffectFn = (data: readonly unknown[], actions: NodeActions, ctx: FnCtx) => NodeFnCleanup | void;
168
+ /**
169
+ * Runs a side-effect when deps settle. Return value is not auto-emitted.
170
+ *
171
+ * @example
172
+ * ```ts
173
+ * effect([source], ([v]) => {
174
+ * console.log(v);
175
+ * });
176
+ * ```
177
+ */
178
+ declare function effect(deps: readonly Node[], fn: EffectFn, opts?: NodeOptions<unknown> & {
179
+ partial?: boolean;
180
+ }): Node<unknown>;
181
+ /**
182
+ * Proxy handed to a {@link DynamicFn}. `track(dep)` returns the dep's
183
+ * latest DATA payload, as delivered through the protocol. Reading from
184
+ * `track` does NOT bypass the message protocol — it reads the internal
185
+ * `DepRecord.prevData` (the stable end-of-previous-wave value) that
186
+ * `_onDepMessage` already populated. If a dep has not yet sent DATA,
187
+ * `track` returns `undefined`.
188
+ */
189
+ type TrackFn = (dep: Node) => unknown;
190
+ /** User-level dynamicNode compute. */
191
+ type DynamicFn<T> = (track: TrackFn, ctx: FnCtx) => T | undefined | null;
192
+ /**
193
+ * Sugar over `derived(...)` that exposes dep values via a `track(dep)`
194
+ * proxy instead of positional `data[i]`. All declared `allDeps` participate
195
+ * in wave tracking, so the first fn run waits for every dep to settle.
196
+ * Unused deps that update just re-run fn; `equals` absorbs unchanged
197
+ * outputs as RESOLVED.
198
+ *
199
+ * P3-compliant: `track(dep)` reads from the framework-managed
200
+ * `DepRecord.prevData` populated by the protocol, never from
201
+ * `dep.cache`.
202
+ *
203
+ * @example
204
+ * ```ts
205
+ * const a = state(1);
206
+ * const b = state(10);
207
+ * const sum = dynamicNode([a, b], (track) => (track(a) as number) + (track(b) as number));
208
+ * ```
209
+ */
210
+ declare function dynamicNode<T = unknown>(allDeps: readonly Node[], fn: DynamicFn<T>, opts?: NodeOptions<T> & {
211
+ partial?: boolean;
212
+ }): Node<T>;
213
+ /**
214
+ * Like {@link dynamicNode} but deps are discovered at runtime via `track()`
215
+ * calls — no upfront `allDeps` array needed. Designed for pull-based compat
216
+ * layers (Jotai atoms, TC39 Signals) where deps are unknown until fn runs.
217
+ *
218
+ * **Two-phase discovery:**
219
+ * 1. fn runs. Each `track(dep)` for an unknown dep: subscribes immediately
220
+ * via `_addDep`, returns `dep.cache` as a stub (P3 boundary exception).
221
+ * Result is discarded (discovery run).
222
+ * 2. New deps settle (DATA from subscribe handshake). Wave machinery
223
+ * re-triggers fn. `track(dep)` now returns protocol-delivered `data[i]`.
224
+ * If MORE unknown deps appear, repeat step 1.
225
+ * 3. Converges when no new deps found → real run → `actions.emit(result)`.
226
+ *
227
+ * P3 violation is limited to discovery runs. Once all deps are known,
228
+ * subsequent waves use protocol-delivered values exclusively.
229
+ *
230
+ * Re-entrance safety: `_addDep` subscribes immediately. If the dep delivers
231
+ * DATA synchronously during fn execution, `_execFn`'s re-entrance guard
232
+ * defers the re-run to after the current fn returns.
233
+ *
234
+ * @param opts - Optional {@link AutoTrackOptions}. Pass `{ partial: true }` to
235
+ * allow fn to run before all known deps have delivered their first value
236
+ * (useful for optional/secondary deps).
237
+ *
238
+ * @example
239
+ * ```ts
240
+ * const a = state(1), b = state(2);
241
+ * const sum = autoTrackNode((track) => track(a) + track(b));
242
+ * // deps [a, b] discovered automatically on first run
243
+ * ```
244
+ */
245
+ /**
246
+ * Options for {@link autoTrackNode}.
247
+ */
248
+ interface AutoTrackOptions<T> extends NodeOptions<T> {
249
+ /**
250
+ * When `true`, fn may run before all known deps have delivered their first
251
+ * DATA. Unknown deps return `undefined` via `track()`, which the fn must
252
+ * handle explicitly. Useful when some deps are "nice-to-have" — e.g. a
253
+ * primary computation should continue while a secondary dep is still
254
+ * initialising.
255
+ *
256
+ * When `false` (default), fn is held until every known dep has delivered at
257
+ * least one DATA value — a RESOLVED is emitted for the wave instead.
258
+ * This matches `derived()` semantics and is the correct default for
259
+ * pull-based compat layers (Signals, Jotai) where all deps must be
260
+ * initialised before the computation is meaningful.
261
+ *
262
+ * @default false
263
+ */
264
+ partial?: boolean;
265
+ }
266
+ declare function autoTrackNode<T = unknown>(fn: (track: TrackFn, ctx: FnCtx) => T | undefined | null, opts?: AutoTrackOptions<T>): Node<T>;
267
+ /** Unary operator used by {@link pipe}. */
268
+ type PipeOperator = (n: Node) => Node;
269
+ /**
270
+ * Composes unary operators left-to-right; returns the final node.
271
+ *
272
+ * @example
273
+ * ```ts
274
+ * const out = pipe(
275
+ * source,
276
+ * (n) => map(n, (x) => x + 1),
277
+ * (n) => filter(n, (x) => x > 0),
278
+ * );
279
+ * ```
280
+ */
281
+ declare function pipe(source: Node, ...ops: PipeOperator[]): Node;
282
+
283
+ /**
284
+ * Core layer: message protocol, node primitive, lifecycle (Phase 0).
285
+ */
286
+
287
+ declare const index_Actor: typeof Actor;
288
+ type index_AutoTrackOptions<T> = AutoTrackOptions<T>;
289
+ declare const index_COMPLETE: typeof COMPLETE;
290
+ declare const index_COMPLETE_MSG: typeof COMPLETE_MSG;
291
+ declare const index_COMPLETE_ONLY_BATCH: typeof COMPLETE_ONLY_BATCH;
292
+ declare const index_DATA: typeof DATA;
293
+ declare const index_DEFAULT_ACTOR: typeof DEFAULT_ACTOR;
294
+ declare const index_DIRTY: typeof DIRTY;
295
+ declare const index_DIRTY_MSG: typeof DIRTY_MSG;
296
+ declare const index_DIRTY_ONLY_BATCH: typeof DIRTY_ONLY_BATCH;
297
+ declare const index_DepRecord: typeof DepRecord;
298
+ type index_DerivedFn<T> = DerivedFn<T>;
299
+ declare const index_DescribeDetail: typeof DescribeDetail;
300
+ declare const index_DescribeField: typeof DescribeField;
301
+ declare const index_DescribeNodeOutput: typeof DescribeNodeOutput;
302
+ type index_DynamicFn<T> = DynamicFn<T>;
303
+ declare const index_ERROR: typeof ERROR;
304
+ type index_EffectFn = EffectFn;
305
+ declare const index_FnCtx: typeof FnCtx;
306
+ declare const index_GlobalInspectorEvent: typeof GlobalInspectorEvent;
307
+ declare const index_GlobalInspectorHook: typeof GlobalInspectorHook;
308
+ declare const index_GraphReFlyConfig: typeof GraphReFlyConfig;
309
+ declare const index_GuardAction: typeof GuardAction;
310
+ declare const index_GuardDenied: typeof GuardDenied;
311
+ declare const index_GuardDeniedDetails: typeof GuardDeniedDetails;
312
+ declare const index_HashFn: typeof HashFn;
313
+ declare const index_INVALIDATE: typeof INVALIDATE;
314
+ declare const index_INVALIDATE_MSG: typeof INVALIDATE_MSG;
315
+ declare const index_INVALIDATE_ONLY_BATCH: typeof INVALIDATE_ONLY_BATCH;
316
+ declare const index_Message: typeof Message;
317
+ declare const index_MessageContext: typeof MessageContext;
318
+ declare const index_MessageTypeRegistration: typeof MessageTypeRegistration;
319
+ declare const index_MessageTypeRegistrationInput: typeof MessageTypeRegistrationInput;
320
+ declare const index_Messages: typeof Messages;
321
+ declare const index_Node: typeof Node;
322
+ declare const index_NodeActions: typeof NodeActions;
323
+ declare const index_NodeCtx: typeof NodeCtx;
324
+ declare const index_NodeDescribeKind: typeof NodeDescribeKind;
325
+ declare const index_NodeFn: typeof NodeFn;
326
+ declare const index_NodeFnCleanup: typeof NodeFnCleanup;
327
+ declare const index_NodeGuard: typeof NodeGuard;
328
+ declare const index_NodeImpl: typeof NodeImpl;
329
+ declare const index_NodeInspectorHook: typeof NodeInspectorHook;
330
+ declare const index_NodeInspectorHookEvent: typeof NodeInspectorHookEvent;
331
+ declare const index_NodeOptions: typeof NodeOptions;
332
+ declare const index_NodeSink: typeof NodeSink;
333
+ declare const index_NodeStatus: typeof NodeStatus;
334
+ declare const index_NodeTransportOptions: typeof NodeTransportOptions;
335
+ declare const index_NodeVersionInfo: typeof NodeVersionInfo;
336
+ declare const index_OnMessageHandler: typeof OnMessageHandler;
337
+ declare const index_OnSubscribeHandler: typeof OnSubscribeHandler;
338
+ declare const index_PAUSE: typeof PAUSE;
339
+ type index_PipeOperator = PipeOperator;
340
+ declare const index_PolicyAllow: typeof PolicyAllow;
341
+ declare const index_PolicyDeny: typeof PolicyDeny;
342
+ declare const index_PolicyRuleData: typeof PolicyRuleData;
343
+ type index_ProducerFn = ProducerFn;
344
+ declare const index_RESOLVED: typeof RESOLVED;
345
+ declare const index_RESOLVED_MSG: typeof RESOLVED_MSG;
346
+ declare const index_RESOLVED_ONLY_BATCH: typeof RESOLVED_ONLY_BATCH;
347
+ declare const index_RESUME: typeof RESUME;
348
+ declare const index_START: typeof START;
349
+ declare const index_START_MSG: typeof START_MSG;
350
+ declare const index_SubscribeContext: typeof SubscribeContext;
351
+ declare const index_TEARDOWN: typeof TEARDOWN;
352
+ declare const index_TEARDOWN_MSG: typeof TEARDOWN_MSG;
353
+ declare const index_TEARDOWN_ONLY_BATCH: typeof TEARDOWN_ONLY_BATCH;
354
+ type index_TrackFn = TrackFn;
355
+ declare const index_V0: typeof V0;
356
+ declare const index_V1: typeof V1;
357
+ declare const index_VersioningLevel: typeof VersioningLevel;
358
+ declare const index_VersioningOptions: typeof VersioningOptions;
359
+ declare const index_accessHintForGuard: typeof accessHintForGuard;
360
+ declare const index_advanceVersion: typeof advanceVersion;
361
+ declare const index_autoTrackNode: typeof autoTrackNode;
362
+ declare const index_batch: typeof batch;
363
+ declare const index_configure: typeof configure;
364
+ declare const index_createVersioning: typeof createVersioning;
365
+ declare const index_defaultConfig: typeof defaultConfig;
366
+ declare const index_defaultHash: typeof defaultHash;
367
+ declare const index_derived: typeof derived;
368
+ declare const index_downWithBatch: typeof downWithBatch;
369
+ declare const index_dynamicNode: typeof dynamicNode;
370
+ declare const index_effect: typeof effect;
371
+ declare const index_isBatching: typeof isBatching;
372
+ declare const index_isV1: typeof isV1;
373
+ declare const index_monotonicNs: typeof monotonicNs;
374
+ declare const index_node: typeof node;
375
+ declare const index_normalizeActor: typeof normalizeActor;
376
+ declare const index_pipe: typeof pipe;
377
+ declare const index_policy: typeof policy;
378
+ declare const index_policyFromRules: typeof policyFromRules;
379
+ declare const index_producer: typeof producer;
380
+ declare const index_registerBuiltins: typeof registerBuiltins;
381
+ declare const index_resolveDescribeFields: typeof resolveDescribeFields;
382
+ declare const index_state: typeof state;
383
+ declare const index_wallClockNs: typeof wallClockNs;
384
+ declare namespace index {
385
+ export { index_Actor as Actor, type index_AutoTrackOptions as AutoTrackOptions, index_COMPLETE as COMPLETE, index_COMPLETE_MSG as COMPLETE_MSG, index_COMPLETE_ONLY_BATCH as COMPLETE_ONLY_BATCH, index_DATA as DATA, index_DEFAULT_ACTOR as DEFAULT_ACTOR, index_DIRTY as DIRTY, index_DIRTY_MSG as DIRTY_MSG, index_DIRTY_ONLY_BATCH as DIRTY_ONLY_BATCH, index_DepRecord as DepRecord, type index_DerivedFn as DerivedFn, index_DescribeDetail as DescribeDetail, index_DescribeField as DescribeField, index_DescribeNodeOutput as DescribeNodeOutput, type index_DynamicFn as DynamicFn, index_ERROR as ERROR, type index_EffectFn as EffectFn, index_FnCtx as FnCtx, index_GlobalInspectorEvent as GlobalInspectorEvent, index_GlobalInspectorHook as GlobalInspectorHook, index_GraphReFlyConfig as GraphReFlyConfig, index_GuardAction as GuardAction, index_GuardDenied as GuardDenied, index_GuardDeniedDetails as GuardDeniedDetails, index_HashFn as HashFn, index_INVALIDATE as INVALIDATE, index_INVALIDATE_MSG as INVALIDATE_MSG, index_INVALIDATE_ONLY_BATCH as INVALIDATE_ONLY_BATCH, index_Message as Message, index_MessageContext as MessageContext, index_MessageTypeRegistration as MessageTypeRegistration, index_MessageTypeRegistrationInput as MessageTypeRegistrationInput, index_Messages as Messages, index_Node as Node, index_NodeActions as NodeActions, index_NodeCtx as NodeCtx, index_NodeDescribeKind as NodeDescribeKind, index_NodeFn as NodeFn, index_NodeFnCleanup as NodeFnCleanup, index_NodeGuard as NodeGuard, index_NodeImpl as NodeImpl, index_NodeInspectorHook as NodeInspectorHook, index_NodeInspectorHookEvent as NodeInspectorHookEvent, index_NodeOptions as NodeOptions, index_NodeSink as NodeSink, index_NodeStatus as NodeStatus, index_NodeTransportOptions as NodeTransportOptions, index_NodeVersionInfo as NodeVersionInfo, index_OnMessageHandler as OnMessageHandler, index_OnSubscribeHandler as OnSubscribeHandler, index_PAUSE as PAUSE, type index_PipeOperator as PipeOperator, index_PolicyAllow as PolicyAllow, index_PolicyDeny as PolicyDeny, index_PolicyRuleData as PolicyRuleData, type index_ProducerFn as ProducerFn, index_RESOLVED as RESOLVED, index_RESOLVED_MSG as RESOLVED_MSG, index_RESOLVED_ONLY_BATCH as RESOLVED_ONLY_BATCH, index_RESUME as RESUME, index_START as START, index_START_MSG as START_MSG, index_SubscribeContext as SubscribeContext, index_TEARDOWN as TEARDOWN, index_TEARDOWN_MSG as TEARDOWN_MSG, index_TEARDOWN_ONLY_BATCH as TEARDOWN_ONLY_BATCH, type index_TrackFn as TrackFn, index_V0 as V0, index_V1 as V1, index_VersioningLevel as VersioningLevel, index_VersioningOptions as VersioningOptions, index_accessHintForGuard as accessHintForGuard, index_advanceVersion as advanceVersion, index_autoTrackNode as autoTrackNode, index_batch as batch, index_configure as configure, index_createVersioning as createVersioning, index_defaultConfig as defaultConfig, index_defaultHash as defaultHash, index_derived as derived, index_downWithBatch as downWithBatch, index_dynamicNode as dynamicNode, index_effect as effect, index_isBatching as isBatching, index_isV1 as isV1, index_monotonicNs as monotonicNs, index_node as node, index_normalizeActor as normalizeActor, index_pipe as pipe, index_policy as policy, index_policyFromRules as policyFromRules, index_producer as producer, index_registerBuiltins as registerBuiltins, index_resolveDescribeFields as resolveDescribeFields, index_state as state, index_wallClockNs as wallClockNs };
386
+ }
387
+
388
+ export { type AutoTrackOptions as A, type DerivedFn as D, type EffectFn as E, type PipeOperator as P, type TrackFn as T, type DynamicFn as a, type ProducerFn as b, autoTrackNode as c, batch as d, derived as e, downWithBatch as f, dynamicNode as g, effect as h, index as i, isBatching as j, producer as k, monotonicNs as m, pipe as p, state as s, wallClockNs as w };