@elaraai/e3-ui 1.0.103 → 1.0.105

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 (287) hide show
  1. package/dist/src/allocation/functions.d.ts +2 -1
  2. package/dist/src/allocation/functions.d.ts.map +1 -1
  3. package/dist/src/allocation/functions.js +3 -2
  4. package/dist/src/allocation/functions.js.map +1 -1
  5. package/dist/src/allocation/index.d.ts +120 -1
  6. package/dist/src/allocation/index.d.ts.map +1 -1
  7. package/dist/src/allocation/index.js +24 -4
  8. package/dist/src/allocation/index.js.map +1 -1
  9. package/dist/src/bind/data-indexed.d.ts +25 -4
  10. package/dist/src/bind/data-indexed.d.ts.map +1 -1
  11. package/dist/src/bind/data-indexed.js +58 -7
  12. package/dist/src/bind/data-indexed.js.map +1 -1
  13. package/dist/src/bind/data.d.ts +12 -14
  14. package/dist/src/bind/data.d.ts.map +1 -1
  15. package/dist/src/bind/data.js +11 -11
  16. package/dist/src/bind/data.js.map +1 -1
  17. package/dist/src/bind/func.d.ts +7 -2
  18. package/dist/src/bind/func.d.ts.map +1 -1
  19. package/dist/src/bind/func.js +10 -3
  20. package/dist/src/bind/func.js.map +1 -1
  21. package/dist/src/calendar/index.d.ts +148 -1
  22. package/dist/src/calendar/index.d.ts.map +1 -1
  23. package/dist/src/calendar/index.js +55 -5
  24. package/dist/src/calendar/index.js.map +1 -1
  25. package/dist/src/flowchart/canvas.d.ts +32 -14
  26. package/dist/src/flowchart/canvas.d.ts.map +1 -1
  27. package/dist/src/flowchart/canvas.js +21 -6
  28. package/dist/src/flowchart/canvas.js.map +1 -1
  29. package/dist/src/flowchart/details.d.ts +469 -0
  30. package/dist/src/flowchart/details.d.ts.map +1 -0
  31. package/dist/src/flowchart/details.js +1035 -0
  32. package/dist/src/flowchart/details.js.map +1 -0
  33. package/dist/src/flowchart/flowchart.d.ts +16 -72
  34. package/dist/src/flowchart/flowchart.d.ts.map +1 -1
  35. package/dist/src/flowchart/flowchart.js +10 -1
  36. package/dist/src/flowchart/flowchart.js.map +1 -1
  37. package/dist/src/flowchart/index.d.ts +282 -251
  38. package/dist/src/flowchart/index.d.ts.map +1 -1
  39. package/dist/src/flowchart/index.js +234 -220
  40. package/dist/src/flowchart/index.js.map +1 -1
  41. package/dist/src/flowchart/kinds.d.ts +438 -0
  42. package/dist/src/flowchart/kinds.d.ts.map +1 -0
  43. package/dist/src/flowchart/kinds.js +799 -0
  44. package/dist/src/flowchart/kinds.js.map +1 -0
  45. package/dist/src/flowchart/library.d.ts +154 -739
  46. package/dist/src/flowchart/library.d.ts.map +1 -1
  47. package/dist/src/flowchart/library.js +191 -673
  48. package/dist/src/flowchart/library.js.map +1 -1
  49. package/dist/src/flowchart/payload.d.ts +3652 -7843
  50. package/dist/src/flowchart/payload.d.ts.map +1 -1
  51. package/dist/src/flowchart/payload.js +331 -469
  52. package/dist/src/flowchart/payload.js.map +1 -1
  53. package/dist/src/flowchart/templates.d.ts +657 -0
  54. package/dist/src/flowchart/templates.d.ts.map +1 -0
  55. package/dist/src/flowchart/templates.js +658 -0
  56. package/dist/src/flowchart/templates.js.map +1 -0
  57. package/dist/src/flowchart/types.d.ts +2258 -214
  58. package/dist/src/flowchart/types.d.ts.map +1 -1
  59. package/dist/src/flowchart/types.js +374 -124
  60. package/dist/src/flowchart/types.js.map +1 -1
  61. package/dist/src/index.d.ts +13 -15
  62. package/dist/src/index.d.ts.map +1 -1
  63. package/dist/src/index.js +24 -29
  64. package/dist/src/index.js.map +1 -1
  65. package/dist/src/internal.d.ts +5 -7
  66. package/dist/src/internal.d.ts.map +1 -1
  67. package/dist/src/internal.js +12 -19
  68. package/dist/src/internal.js.map +1 -1
  69. package/dist/src/ontology/index.d.ts +44 -15
  70. package/dist/src/ontology/index.d.ts.map +1 -1
  71. package/dist/src/ontology/index.js +19 -11
  72. package/dist/src/ontology/index.js.map +1 -1
  73. package/dist/src/plan/event-rows.d.ts +2 -1
  74. package/dist/src/plan/event-rows.d.ts.map +1 -1
  75. package/dist/src/plan/event-rows.js +6 -4
  76. package/dist/src/plan/event-rows.js.map +1 -1
  77. package/dist/src/plan/ir.d.ts +1 -0
  78. package/dist/src/plan/ir.d.ts.map +1 -1
  79. package/dist/src/plan/plan.d.ts +145 -1
  80. package/dist/src/plan/plan.d.ts.map +1 -1
  81. package/dist/src/plan/plan.js +67 -3
  82. package/dist/src/plan/plan.js.map +1 -1
  83. package/dist/src/plan/types.d.ts +1 -0
  84. package/dist/src/plan/types.d.ts.map +1 -1
  85. package/dist/src/query/builder.d.ts +362 -315
  86. package/dist/src/query/builder.d.ts.map +1 -1
  87. package/dist/src/query/builder.js +12 -1
  88. package/dist/src/query/builder.js.map +1 -1
  89. package/dist/src/query/index.d.ts +5 -1
  90. package/dist/src/query/index.d.ts.map +1 -1
  91. package/dist/src/query/index.js +3 -1
  92. package/dist/src/query/index.js.map +1 -1
  93. package/dist/src/roster/fit.d.ts +5 -2
  94. package/dist/src/roster/fit.d.ts.map +1 -1
  95. package/dist/src/roster/fit.js +5 -3
  96. package/dist/src/roster/fit.js.map +1 -1
  97. package/dist/src/roster/index.d.ts +103 -2
  98. package/dist/src/roster/index.d.ts.map +1 -1
  99. package/dist/src/roster/index.js +45 -6
  100. package/dist/src/roster/index.js.map +1 -1
  101. package/dist/src/runtime/index.d.ts +1 -3
  102. package/dist/src/runtime/index.d.ts.map +1 -1
  103. package/dist/src/runtime/index.js +1 -3
  104. package/dist/src/runtime/index.js.map +1 -1
  105. package/dist/src/schedule/record-window.d.ts +1 -0
  106. package/dist/src/schedule/record-window.d.ts.map +1 -1
  107. package/dist/src/schematic/index.d.ts +1 -1
  108. package/dist/src/schematic/index.d.ts.map +1 -1
  109. package/dist/src/schematic/index.js +1 -1
  110. package/dist/src/schematic/index.js.map +1 -1
  111. package/dist/src/schematic/kinds.d.ts +4 -24
  112. package/dist/src/schematic/kinds.d.ts.map +1 -1
  113. package/dist/src/schematic/kinds.js +8 -212
  114. package/dist/src/schematic/kinds.js.map +1 -1
  115. package/dist/src/schematic/payload.d.ts +140 -1
  116. package/dist/src/schematic/payload.d.ts.map +1 -1
  117. package/dist/src/schematic/payload.js +38 -1
  118. package/dist/src/schematic/payload.js.map +1 -1
  119. package/dist/src/schematic/types.d.ts.map +1 -1
  120. package/dist/src/schematic/types.js +4 -36
  121. package/dist/src/schematic/types.js.map +1 -1
  122. package/dist/src/schematic/window.d.ts +9 -42
  123. package/dist/src/schematic/window.d.ts.map +1 -1
  124. package/dist/src/schematic/window.js +10 -115
  125. package/dist/src/schematic/window.js.map +1 -1
  126. package/dist/src/sheet/actions.d.ts +388 -0
  127. package/dist/src/sheet/actions.d.ts.map +1 -0
  128. package/dist/src/sheet/actions.js +594 -0
  129. package/dist/src/sheet/actions.js.map +1 -0
  130. package/dist/src/sheet/bridge.d.ts +12 -1
  131. package/dist/src/sheet/bridge.d.ts.map +1 -1
  132. package/dist/src/sheet/bridge.js +30 -6
  133. package/dist/src/sheet/bridge.js.map +1 -1
  134. package/dist/src/sheet/columns.d.ts +5 -2
  135. package/dist/src/sheet/columns.d.ts.map +1 -1
  136. package/dist/src/sheet/columns.js.map +1 -1
  137. package/dist/src/sheet/draft-bridge.d.ts +9 -4
  138. package/dist/src/sheet/draft-bridge.d.ts.map +1 -1
  139. package/dist/src/sheet/draft-bridge.js +22 -7
  140. package/dist/src/sheet/draft-bridge.js.map +1 -1
  141. package/dist/src/sheet/fields.d.ts +13 -0
  142. package/dist/src/sheet/fields.d.ts.map +1 -1
  143. package/dist/src/sheet/fields.js +3 -0
  144. package/dist/src/sheet/fields.js.map +1 -1
  145. package/dist/src/sheet/index.d.ts +32 -2
  146. package/dist/src/sheet/index.d.ts.map +1 -1
  147. package/dist/src/sheet/index.js +18 -3
  148. package/dist/src/sheet/index.js.map +1 -1
  149. package/dist/src/sheet/library.d.ts +8 -0
  150. package/dist/src/sheet/library.d.ts.map +1 -1
  151. package/dist/src/sheet/root.d.ts +23 -1
  152. package/dist/src/sheet/root.d.ts.map +1 -1
  153. package/dist/src/sheet/root.js +40 -5
  154. package/dist/src/sheet/root.js.map +1 -1
  155. package/dist/src/sheet/sheet.d.ts +7843 -4132
  156. package/dist/src/sheet/sheet.d.ts.map +1 -1
  157. package/dist/src/sheet/sheet.js +41 -2
  158. package/dist/src/sheet/sheet.js.map +1 -1
  159. package/dist/src/sheet/templates.d.ts +4 -0
  160. package/dist/src/sheet/templates.d.ts.map +1 -1
  161. package/dist/src/sheet/types.d.ts +12449 -5268
  162. package/dist/src/sheet/types.d.ts.map +1 -1
  163. package/dist/src/sheet/types.js +114 -2
  164. package/dist/src/sheet/types.js.map +1 -1
  165. package/dist/src/utils/derive.d.ts +1 -1
  166. package/dist/src/utils/derive.js +1 -1
  167. package/dist/src/utils/record-kind.d.ts +625 -0
  168. package/dist/src/utils/record-kind.d.ts.map +1 -0
  169. package/dist/src/utils/record-kind.js +450 -0
  170. package/dist/src/utils/record-kind.js.map +1 -0
  171. package/dist/src/utils/views.d.ts +55 -0
  172. package/dist/src/utils/views.d.ts.map +1 -0
  173. package/dist/src/utils/views.js +72 -0
  174. package/dist/src/utils/views.js.map +1 -0
  175. package/dist/src/utils/vocabulary.d.ts +48 -0
  176. package/dist/src/utils/vocabulary.d.ts.map +1 -0
  177. package/dist/src/utils/vocabulary.js +47 -0
  178. package/dist/src/utils/vocabulary.js.map +1 -0
  179. package/dist/test/allocation/allocation.examples.d.ts +2 -0
  180. package/dist/test/allocation/allocation.examples.d.ts.map +1 -1
  181. package/dist/test/allocation/allocation.examples.js +81 -2
  182. package/dist/test/allocation/allocation.examples.js.map +1 -1
  183. package/dist/test/bind/func/func.examples.d.ts +19 -1
  184. package/dist/test/bind/func/func.examples.d.ts.map +1 -1
  185. package/dist/test/bind/func/func.examples.js +36 -1
  186. package/dist/test/bind/func/func.examples.js.map +1 -1
  187. package/dist/test/calendar/calendar.examples.d.ts +2 -0
  188. package/dist/test/calendar/calendar.examples.d.ts.map +1 -1
  189. package/dist/test/calendar/calendar.examples.js +80 -2
  190. package/dist/test/calendar/calendar.examples.js.map +1 -1
  191. package/dist/test/decision/queue.examples.d.ts +1 -0
  192. package/dist/test/decision/queue.examples.d.ts.map +1 -1
  193. package/dist/test/decision/queue.examples.js +12 -0
  194. package/dist/test/decision/queue.examples.js.map +1 -1
  195. package/dist/test/examples-package.d.ts.map +1 -1
  196. package/dist/test/examples-package.js +5 -4
  197. package/dist/test/examples-package.js.map +1 -1
  198. package/dist/test/flowchart/flowchart.examples.d.ts +1250 -4605
  199. package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -1
  200. package/dist/test/flowchart/flowchart.examples.js +861 -512
  201. package/dist/test/flowchart/flowchart.examples.js.map +1 -1
  202. package/dist/test/ontology/ontology.examples.d.ts +2 -3
  203. package/dist/test/ontology/ontology.examples.d.ts.map +1 -1
  204. package/dist/test/ontology/ontology.examples.js +32 -21
  205. package/dist/test/ontology/ontology.examples.js.map +1 -1
  206. package/dist/test/plan/plan-events.examples.d.ts +1 -0
  207. package/dist/test/plan/plan-events.examples.d.ts.map +1 -1
  208. package/dist/test/plan/plan-events.examples.js +44 -0
  209. package/dist/test/plan/plan-events.examples.js.map +1 -1
  210. package/dist/test/plan/plan-nested.examples.d.ts +2 -2
  211. package/dist/test/plan/plan-nested.examples.js +5 -5
  212. package/dist/test/plan/plan-nested.examples.js.map +1 -1
  213. package/dist/test/plan/plan-records.examples.d.ts.map +1 -1
  214. package/dist/test/plan/plan-records.examples.js +1 -1
  215. package/dist/test/plan/plan-records.examples.js.map +1 -1
  216. package/dist/test/query/query.examples.d.ts +2 -0
  217. package/dist/test/query/query.examples.d.ts.map +1 -1
  218. package/dist/test/query/query.examples.js +37 -1
  219. package/dist/test/query/query.examples.js.map +1 -1
  220. package/dist/test/roster/roster.examples.d.ts +2 -0
  221. package/dist/test/roster/roster.examples.d.ts.map +1 -1
  222. package/dist/test/roster/roster.examples.js +76 -15
  223. package/dist/test/roster/roster.examples.js.map +1 -1
  224. package/dist/test/schematic/schematic-records.examples.d.ts.map +1 -1
  225. package/dist/test/schematic/schematic-records.examples.js +6 -4
  226. package/dist/test/schematic/schematic-records.examples.js.map +1 -1
  227. package/dist/test/schematic/schematic.examples.d.ts +1 -0
  228. package/dist/test/schematic/schematic.examples.d.ts.map +1 -1
  229. package/dist/test/schematic/schematic.examples.js +144 -0
  230. package/dist/test/schematic/schematic.examples.js.map +1 -1
  231. package/dist/test/sheet/sheet-actions.examples.d.ts +1264 -0
  232. package/dist/test/sheet/sheet-actions.examples.d.ts.map +1 -0
  233. package/dist/test/sheet/sheet-actions.examples.js +394 -0
  234. package/dist/test/sheet/sheet-actions.examples.js.map +1 -0
  235. package/dist/test/sheet/sheet.examples.d.ts +1 -0
  236. package/dist/test/sheet/sheet.examples.d.ts.map +1 -1
  237. package/dist/test/sheet/sheet.examples.js +77 -0
  238. package/dist/test/sheet/sheet.examples.js.map +1 -1
  239. package/dist/test/studio/studio.examples.d.ts +1 -0
  240. package/dist/test/studio/studio.examples.d.ts.map +1 -1
  241. package/dist/test/studio/studio.examples.js +18 -8
  242. package/dist/test/studio/studio.examples.js.map +1 -1
  243. package/package.json +12 -12
  244. package/dist/src/diff/index.d.ts +0 -407
  245. package/dist/src/diff/index.d.ts.map +0 -1
  246. package/dist/src/diff/index.js +0 -203
  247. package/dist/src/diff/index.js.map +0 -1
  248. package/dist/src/experiment/index.d.ts +0 -1033
  249. package/dist/src/experiment/index.d.ts.map +0 -1
  250. package/dist/src/experiment/index.js +0 -197
  251. package/dist/src/experiment/index.js.map +0 -1
  252. package/dist/src/experiment/types.d.ts +0 -1093
  253. package/dist/src/experiment/types.d.ts.map +0 -1
  254. package/dist/src/experiment/types.js +0 -423
  255. package/dist/src/experiment/types.js.map +0 -1
  256. package/dist/src/flowchart/over.d.ts +0 -227
  257. package/dist/src/flowchart/over.d.ts.map +0 -1
  258. package/dist/src/flowchart/over.js +0 -213
  259. package/dist/src/flowchart/over.js.map +0 -1
  260. package/dist/src/flowchart/patch.d.ts +0 -64
  261. package/dist/src/flowchart/patch.d.ts.map +0 -1
  262. package/dist/src/flowchart/patch.js +0 -67
  263. package/dist/src/flowchart/patch.js.map +0 -1
  264. package/dist/src/flowchart/values.d.ts +0 -271
  265. package/dist/src/flowchart/values.d.ts.map +0 -1
  266. package/dist/src/flowchart/values.js +0 -220
  267. package/dist/src/flowchart/values.js.map +0 -1
  268. package/dist/src/flowchart/window.d.ts +0 -306
  269. package/dist/src/flowchart/window.d.ts.map +0 -1
  270. package/dist/src/flowchart/window.js +0 -63
  271. package/dist/src/flowchart/window.js.map +0 -1
  272. package/dist/src/runtime/diff.d.ts +0 -36
  273. package/dist/src/runtime/diff.d.ts.map +0 -1
  274. package/dist/src/runtime/diff.js +0 -34
  275. package/dist/src/runtime/diff.js.map +0 -1
  276. package/dist/src/runtime/experiment.d.ts +0 -48
  277. package/dist/src/runtime/experiment.d.ts.map +0 -1
  278. package/dist/src/runtime/experiment.js +0 -10
  279. package/dist/src/runtime/experiment.js.map +0 -1
  280. package/dist/test/diff/diff.examples.d.ts +0 -313
  281. package/dist/test/diff/diff.examples.d.ts.map +0 -1
  282. package/dist/test/diff/diff.examples.js +0 -452
  283. package/dist/test/diff/diff.examples.js.map +0 -1
  284. package/dist/test/experiment/experiment.examples.d.ts +0 -1512
  285. package/dist/test/experiment/experiment.examples.d.ts.map +0 -1
  286. package/dist/test/experiment/experiment.examples.js +0 -609
  287. package/dist/test/experiment/experiment.examples.js.map +0 -1
@@ -2,7 +2,17 @@
2
2
  * Copyright (c) 2025 Elara AI Pty Ltd
3
3
  * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
4
  */
5
- import { ArrayType, DateTimeType, DictType, FloatType, IntegerType, NullType, OptionType, StringType, StructType, VariantType } from "@elaraai/east";
5
+ /**
6
+ * The Flowchart's East types (#1500, `Flowchart Records Spec.md` §3): the
7
+ * value types its accessors return and its canvas carries (`Flowchart.Types`)
8
+ * — an app's records hold their own types, which the kinds map — and the
9
+ * kinds' wire: each kind closed over the app's record behind East functions
10
+ * over beast2 bytes, as the Schematic's are, so the payload is one type
11
+ * whatever the rows hold.
12
+ *
13
+ * @packageDocumentation
14
+ */
15
+ import { ArrayType, BlobType, BooleanType, DateTimeType, DictType, FloatType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType, VariantType } from "@elaraai/east";
6
16
  /**
7
17
  * Link kind — the transition's provenance class.
8
18
  *
@@ -47,7 +57,8 @@ export declare const FlowchartOrientationType: VariantType<{
47
57
  */
48
58
  export type FlowchartOrientationType = typeof FlowchartOrientationType;
49
59
  /**
50
- * Imported evidence carried by a link — never hand-authored.
60
+ * Imported evidence carried by a transition — never hand-authored: what a
61
+ * transitions kind's `evidence` accessor builds from the app's own fields.
51
62
  *
52
63
  * @remarks
53
64
  * Evidence drives derived marks only: stroke weight scales with `volume`
@@ -75,70 +86,72 @@ export declare const FlowchartEvidenceType: StructType<{
75
86
  */
76
87
  export type FlowchartEvidenceType = typeof FlowchartEvidenceType;
77
88
  /**
78
- * One state — a node in the flowchart.
89
+ * Eyebrow freshness chip content.
79
90
  *
80
- * @remarks
81
- * The short mono `key` is the node identity everywhere (selection events,
82
- * link `from` / `to` refs, trigger queues). A state with `members` set is
83
- * a STATE CLASS — one node standing for N interchangeable members (the
84
- * `×N` badge). In-place transitions (`from == to` links) collapse to the
85
- * `↻ n` badge on the node and never route through handles.
91
+ * @property label - Chip label ("evidence-2026.06")
92
+ * @property date - Optional stamp printed after the label
93
+ */
94
+ export declare const FlowchartFreshnessType: StructType<{
95
+ /** Chip label ("evidence-2026.06") */
96
+ readonly label: StringType;
97
+ /** Optional stamp printed after the label */
98
+ readonly date: OptionType<DateTimeType>;
99
+ }>;
100
+ /**
101
+ * Type representing the freshness chip.
102
+ */
103
+ export type FlowchartFreshnessType = typeof FlowchartFreshnessType;
104
+ /**
105
+ * A state's roles, as its kind reads them from the app's row (R2).
86
106
  *
87
- * @property key - Short mono code — the node identity ("IND")
88
- * @property label - Display label under the code
89
- * @property lane - The lane (ordered phase) this state belongs to
90
- * @property members - State-class member count → the ×N badge
91
- * @property notes - Free-text notes, shown and edited in the inspector
107
+ * @property label - Its card's name: its `label` field, empty for an Option field holding none
108
+ * @property lane - The lane it stands in, by the lane's key: its `lane` field; `none` for a kind with no `lane`
109
+ * @property order - Its place in its lane: its `order` field; `none` for a kind with no `order`, whose states stand by key
110
+ * @property members - A class of interchangeable states: the ×N badge, its `members` accessor's
92
111
  */
93
- export declare const FlowchartStateType: StructType<{
94
- /** Short mono code — the node identity ("IND") */
95
- readonly key: StringType;
96
- /** Display label under the code */
97
- readonly label: OptionType<StringType>;
98
- /** The lane (ordered phase) this state belongs to */
99
- readonly lane: StringType;
100
- /** State-class member count → the ×N badge */
112
+ export declare const FlowchartStateRolesType: StructType<{
113
+ readonly label: StringType;
114
+ readonly lane: OptionType<StringType>;
115
+ readonly order: OptionType<FloatType>;
101
116
  readonly members: OptionType<IntegerType>;
102
- /** Free-text notes, shown and edited in the inspector */
103
- readonly notes: OptionType<StringType>;
104
117
  }>;
118
+ /** Type representing a state's roles. */
119
+ export type FlowchartStateRolesType = typeof FlowchartStateRolesType;
105
120
  /**
106
- * Type representing flowchart states.
121
+ * What a gesture writes into a state's row (R8): each role's field, `none`
122
+ * leaving it as it was — or, for a new row, as a card's values give it, else
123
+ * its type's default.
124
+ *
125
+ * @property label - Its label: a rename; an empty label is `none` in an Option field
126
+ * @property lane - Its lane's key: a move across lanes
127
+ * @property order - Its place in its lane: a move between two cards
107
128
  */
108
- export type FlowchartStateType = typeof FlowchartStateType;
129
+ export declare const FlowchartStateWriteType: StructType<{
130
+ readonly label: OptionType<StringType>;
131
+ readonly lane: OptionType<StringType>;
132
+ readonly order: OptionType<FloatType>;
133
+ }>;
134
+ /** Type representing a state's write. */
135
+ export type FlowchartStateWriteType = typeof FlowchartStateWriteType;
109
136
  /**
110
- * One link — a state transition drawn as an H/V-routed arrow.
137
+ * A transition's roles, as its kind reads them from the app's row (R2).
111
138
  *
112
- * @remarks
113
- * `from` / `to` are state keys; a reference with no state row renders the
114
- * neg-dashed ghost "No state row" node (derived, counted in the footer).
115
- * At most one `trigger` per link — the lettered decision diamond anchored
116
- * to the midpoint of the longest straight run.
117
- *
118
- * @property key - Stable identity (selection / delete events); default derived from endpoints
119
- * @property from - Source state key
120
- * @property to - Target state key
121
- * @property kind - planned (default) | observed
122
- * @property trigger - 0..1 decision trigger key → diamond
123
- * @property evidence - Imported evidence (weight, badges, provenance)
139
+ * @property from - The state it leaves, by key
140
+ * @property to - The state it enters, by key
141
+ * @property decision - The decision that governs it, by key; `none` for none, an empty String field among them
142
+ * @property kind - Planned or observed: its `kind` accessor's, planned unless given
143
+ * @property evidence - The label's evidence line and the stroke's weight: its `evidence` accessor's
124
144
  */
125
- export declare const FlowchartLinkType: StructType<{
126
- /** Stable identity (selection / delete events); default derived from endpoints */
127
- readonly key: OptionType<StringType>;
128
- /** Source state key */
145
+ export declare const FlowchartTransitionRolesType: StructType<{
129
146
  readonly from: StringType;
130
- /** Target state key */
131
147
  readonly to: StringType;
132
- /** planned (default) | observed */
133
- readonly kind: OptionType<VariantType<{
148
+ readonly decision: OptionType<StringType>;
149
+ readonly kind: VariantType<{
134
150
  /** A designed / expected transition (solid stroke) */
135
151
  readonly planned: NullType;
136
152
  /** A transition mined from evidence (dashed stroke) */
137
153
  readonly observed: NullType;
138
- }>>;
139
- /** 0..1 decision trigger key → diamond */
140
- readonly trigger: OptionType<StringType>;
141
- /** Imported evidence (weight, badges, provenance) */
154
+ }>;
142
155
  readonly evidence: OptionType<StructType<{
143
156
  /** Total measured volume behind the arrow */
144
157
  readonly volume: OptionType<FloatType>;
@@ -150,121 +163,105 @@ export declare const FlowchartLinkType: StructType<{
150
163
  readonly unit: OptionType<StringType>;
151
164
  }>>;
152
165
  }>;
166
+ /** Type representing a transition's roles. */
167
+ export type FlowchartTransitionRolesType = typeof FlowchartTransitionRolesType;
153
168
  /**
154
- * Type representing flowchart links.
169
+ * What a gesture writes into a transition's row (R8): its ends — Connect and
170
+ * a retarget — and its decision, each `none` leaving it as it was, or for a
171
+ * new row as a card's values give it, else its type's default.
172
+ *
173
+ * @property from - The state it leaves, by key
174
+ * @property to - The state it enters, by key
175
+ * @property decision - The decision that governs it: `some(none)` clears it — a decision's Del — and `some(some(key))` names one
155
176
  */
156
- export type FlowchartLinkType = typeof FlowchartLinkType;
177
+ export declare const FlowchartTransitionWriteType: StructType<{
178
+ readonly from: OptionType<StringType>;
179
+ readonly to: OptionType<StringType>;
180
+ readonly decision: OptionType<OptionType<StringType>>;
181
+ }>;
182
+ /** Type representing a transition's write. */
183
+ export type FlowchartTransitionWriteType = typeof FlowchartTransitionWriteType;
157
184
  /**
158
- * One lane — an ordered phase band.
185
+ * A lane's roles, as its kind reads them from the app's row (R2).
159
186
  *
160
- * @remarks
161
- * Lane order is array order; every state names its lane by `key`. The
162
- * dashed `+ LANE` affordance renders at the tail of the band row.
163
- *
164
- * @property key - Lane identity referenced by states
165
- * @property label - Band header label (defaults to the key, uppercased)
187
+ * @property label - Its header: its `label` field, empty for an Option field holding none
188
+ * @property order - Its place among the lanes: its `order` field, an Integer one read as a Float; `none` for a kind with no `order`, whose lanes stand by key
166
189
  */
167
- export declare const FlowchartLaneType: StructType<{
168
- /** Lane identity referenced by states */
169
- readonly key: StringType;
170
- /** Band header label (defaults to the key, uppercased) */
171
- readonly label: OptionType<StringType>;
190
+ export declare const FlowchartLaneRolesType: StructType<{
191
+ readonly label: StringType;
192
+ readonly order: OptionType<FloatType>;
172
193
  }>;
194
+ /** Type representing a lane's roles. */
195
+ export type FlowchartLaneRolesType = typeof FlowchartLaneRolesType;
173
196
  /**
174
- * Type representing flowchart lanes.
197
+ * What a gesture writes into a lane's row (R8): + LANE, a rename and a card
198
+ * dropped between two lanes — each role's field, `none` leaving it as it was,
199
+ * or for a new row as a card's values give it, else its type's default. An
200
+ * `order` an Integer field can't hold — between two whole numbers — is refused
201
+ * (`none` from the write), and the renderer moves the lanes after it on.
202
+ *
203
+ * @property label - Its header
204
+ * @property order - Its place among the lanes
175
205
  */
176
- export type FlowchartLaneType = typeof FlowchartLaneType;
206
+ export declare const FlowchartLaneWriteType: StructType<{
207
+ readonly label: OptionType<StringType>;
208
+ readonly order: OptionType<FloatType>;
209
+ }>;
210
+ /** Type representing a lane's write. */
211
+ export type FlowchartLaneWriteType = typeof FlowchartLaneWriteType;
177
212
  /**
178
- * One decision trigger — a governed decision seam referenced by links.
213
+ * A decision's roles, as its kind reads them from the app's row (R2).
179
214
  *
180
- * @remarks
181
- * Triggers render as diamonds (max one per link) carrying a letter per
182
- * TYPE, not per instance. Clicking a diamond highlights every link it
183
- * governs (plus queue and outcome nodes).
184
- *
185
- * @property key - Trigger identity referenced by links
186
- * @property label - Decision name ("route")
187
- * @property letter - Diamond letter (default: first letter of the label)
188
- * @property owner - Owning role / system ("sort-planner")
189
- * @property queue - State keys queued at the decision
190
- * @property outcomes - Outcome summary line ("CH* (×14 chutes)")
215
+ * @property label - Its name: its `label` accessor's
216
+ * @property letter - The diamond's letter: its `letter` accessor's; `none`, the label's first
217
+ * @property owner - Who owns it: its `owner` accessor's
218
+ * @property outcomes - Its outcomes' summary line: its `outcomes` accessor's
219
+ * @property queue - The states queued at it, by key: its `queue` field, a Set's in its order; empty for a kind with no `queue`
191
220
  */
192
- export declare const FlowchartTriggerType: StructType<{
193
- /** Trigger identity referenced by links */
194
- readonly key: StringType;
195
- /** Decision name ("route") */
221
+ export declare const FlowchartDecisionRolesType: StructType<{
196
222
  readonly label: StringType;
197
- /** Diamond letter (default: first letter of the label) */
198
223
  readonly letter: OptionType<StringType>;
199
- /** Owning role / system ("sort-planner") */
200
224
  readonly owner: OptionType<StringType>;
201
- /** State keys queued at the decision */
202
- readonly queue: OptionType<ArrayType<StringType>>;
203
- /** Outcome summary line ("CH* (×14 chutes)") */
204
225
  readonly outcomes: OptionType<StringType>;
226
+ readonly queue: ArrayType<StringType>;
205
227
  }>;
228
+ /** Type representing a decision's roles. */
229
+ export type FlowchartDecisionRolesType = typeof FlowchartDecisionRolesType;
206
230
  /**
207
- * Type representing flowchart triggers.
208
- */
209
- export type FlowchartTriggerType = typeof FlowchartTriggerType;
210
- /**
211
- * One flow — a whole flowchart: its lanes, its states, the transitions
212
- * between them and the decisions that govern them (#1244, `Flowchart Builder
213
- * Spec.md` §5.1).
214
- *
215
- * @remarks
216
- * A record of flows holds one per name ({@link FlowchartFlowsType}), and a
217
- * lone flow is a record of one entry, or the host's `data`. `Flowchart.value`
218
- * writes one from a literal, and `Flowchart.over` builds one from an app's
219
- * own tables. A record's entries are flows, so it is a stored form.
231
+ * One stored row as a kind's `rows` gives it: its roles, read in the pass
232
+ * that reads the row, and the row as bytes at the record's row type — what a
233
+ * write and the editing session take.
220
234
  *
221
- * @property description - One sentence about the flow: the line its card in the Flows tab shows
222
- * @property lanes - Its lanes, in band order
223
- * @property states - Its states, each in one of its lanes
224
- * @property links - Its transitions; one naming a state the flow does not have draws as the unresolved ghost
225
- * @property triggers - Its decisions, each named by the transitions it governs
235
+ * @typeParam R - The roles' type
236
+ * @param roles - The roles' type
237
+ * @returns The entry's type
226
238
  */
227
- export declare const FlowchartFlowType: StructType<{
228
- /** One sentence about the flow: the line its card in the Flows tab shows */
229
- readonly description: OptionType<StringType>;
230
- /** Its lanes, in band order */
231
- readonly lanes: ArrayType<StructType<{
232
- /** Lane identity referenced by states */
233
- readonly key: StringType;
234
- /** Band header label (defaults to the key, uppercased) */
235
- readonly label: OptionType<StringType>;
236
- }>>;
237
- /** Its states, each in one of its lanes */
238
- readonly states: ArrayType<StructType<{
239
- /** Short mono code — the node identity ("IND") */
240
- readonly key: StringType;
241
- /** Display label under the code */
242
- readonly label: OptionType<StringType>;
243
- /** The lane (ordered phase) this state belongs to */
244
- readonly lane: StringType;
245
- /** State-class member count → the ×N badge */
239
+ export declare function FlowchartEntryType<R extends StructType>(roles: R): StructType<{
240
+ readonly roles: R;
241
+ readonly row: BlobType;
242
+ }>;
243
+ /** One stored state: its roles and its row's bytes. */
244
+ export declare const FlowchartStateEntryType: StructType<{
245
+ readonly roles: StructType<{
246
+ readonly label: StringType;
247
+ readonly lane: OptionType<StringType>;
248
+ readonly order: OptionType<FloatType>;
246
249
  readonly members: OptionType<IntegerType>;
247
- /** Free-text notes, shown and edited in the inspector */
248
- readonly notes: OptionType<StringType>;
249
- }>>;
250
- /** Its transitions; one naming a state the flow does not have draws as the unresolved ghost */
251
- readonly links: ArrayType<StructType<{
252
- /** Stable identity (selection / delete events); default derived from endpoints */
253
- readonly key: OptionType<StringType>;
254
- /** Source state key */
250
+ }>;
251
+ readonly row: BlobType;
252
+ }>;
253
+ /** One stored transition: its roles and its row's bytes. */
254
+ export declare const FlowchartTransitionEntryType: StructType<{
255
+ readonly roles: StructType<{
255
256
  readonly from: StringType;
256
- /** Target state key */
257
257
  readonly to: StringType;
258
- /** planned (default) | observed */
259
- readonly kind: OptionType<VariantType<{
258
+ readonly decision: OptionType<StringType>;
259
+ readonly kind: VariantType<{
260
260
  /** A designed / expected transition (solid stroke) */
261
261
  readonly planned: NullType;
262
262
  /** A transition mined from evidence (dashed stroke) */
263
263
  readonly observed: NullType;
264
- }>>;
265
- /** 0..1 decision trigger key → diamond */
266
- readonly trigger: OptionType<StringType>;
267
- /** Imported evidence (weight, badges, provenance) */
264
+ }>;
268
265
  readonly evidence: OptionType<StructType<{
269
266
  /** Total measured volume behind the arrow */
270
267
  readonly volume: OptionType<FloatType>;
@@ -275,74 +272,1269 @@ export declare const FlowchartFlowType: StructType<{
275
272
  /** Volume unit suffix for badges ("parcels") */
276
273
  readonly unit: OptionType<StringType>;
277
274
  }>>;
278
- }>>;
279
- /** Its decisions, each named by the transitions it governs */
280
- readonly triggers: ArrayType<StructType<{
281
- /** Trigger identity referenced by links */
282
- readonly key: StringType;
283
- /** Decision name ("route") */
275
+ }>;
276
+ readonly row: BlobType;
277
+ }>;
278
+ /** One stored lane: its roles and its row's bytes. */
279
+ export declare const FlowchartLaneEntryType: StructType<{
280
+ readonly roles: StructType<{
281
+ readonly label: StringType;
282
+ readonly order: OptionType<FloatType>;
283
+ }>;
284
+ readonly row: BlobType;
285
+ }>;
286
+ /** One stored decision: its roles and its row's bytes. */
287
+ export declare const FlowchartDecisionEntryType: StructType<{
288
+ readonly roles: StructType<{
284
289
  readonly label: StringType;
285
- /** Diamond letter (default: first letter of the label) */
286
290
  readonly letter: OptionType<StringType>;
287
- /** Owning role / system ("sort-planner") */
288
291
  readonly owner: OptionType<StringType>;
289
- /** State keys queued at the decision */
290
- readonly queue: OptionType<ArrayType<StringType>>;
291
- /** Outcome summary line ("CH* (×14 chutes)") */
292
292
  readonly outcomes: OptionType<StringType>;
293
+ readonly queue: ArrayType<StringType>;
294
+ }>;
295
+ readonly row: BlobType;
296
+ }>;
297
+ /**
298
+ * One card a kind's library tab lists, read from a record the app keeps
299
+ * (R14): dropped, it makes a row of its kind from its values.
300
+ *
301
+ * @property key - Its key: its record's key
302
+ * @property name - Its card's name
303
+ * @property group - The tab's group it sits under
304
+ * @property values - Every field of the row but those a drop writes — a state's lane and order, a transition's ends, a lane's order — as bytes
305
+ */
306
+ export declare const FlowchartTemplateType: StructType<{
307
+ readonly key: StringType;
308
+ readonly name: StringType;
309
+ readonly group: OptionType<StringType>;
310
+ readonly values: BlobType;
311
+ }>;
312
+ /** Type representing a card. */
313
+ export type FlowchartTemplateType = typeof FlowchartTemplateType;
314
+ /**
315
+ * A tag's look, as a Tag takes it (R30): east-ui's `ColorSchemeType` and
316
+ * `StyleVariantType`. `Flowchart.Types.TagColor`, for an app that keeps its
317
+ * looks as data — an Array of them, the first ranked first.
318
+ *
319
+ * @property tag - The tag
320
+ * @property colorPalette - Its palette
321
+ * @property variant - Its variant: `subtle`, a 6% wash of its palette on a 1px rule of it, unless the app gives another
322
+ */
323
+ export declare const FlowchartTagColorType: StructType<{
324
+ readonly tag: StringType;
325
+ readonly colorPalette: VariantType<{
326
+ readonly brand: NullType;
327
+ readonly gray: NullType;
328
+ readonly red: NullType;
329
+ readonly orange: NullType;
330
+ readonly yellow: NullType;
331
+ readonly green: NullType;
332
+ readonly teal: NullType;
333
+ readonly blue: NullType;
334
+ readonly cyan: NullType;
335
+ readonly purple: NullType;
336
+ readonly pink: NullType;
337
+ readonly success: NullType;
338
+ readonly warning: NullType;
339
+ readonly danger: NullType;
340
+ readonly info: NullType;
341
+ readonly neutral: NullType;
342
+ }>;
343
+ readonly variant: VariantType<{
344
+ readonly subtle: NullType;
345
+ readonly solid: NullType;
346
+ readonly outline: NullType;
347
+ readonly brand: NullType;
348
+ readonly ok: NullType;
349
+ readonly warn: NullType;
350
+ readonly danger: NullType;
351
+ readonly dashed: NullType;
352
+ readonly plain: NullType;
353
+ readonly count: NullType;
354
+ readonly callout: NullType;
355
+ }>;
356
+ }>;
357
+ /** Type representing a tag's look. */
358
+ export type FlowchartTagColorType = typeof FlowchartTagColorType;
359
+ /**
360
+ * Where a read shows (R21): `all`, the default — on the canvas, a state's
361
+ * card or a transition's label, and in the inspector; `canvas` — there alone;
362
+ * `inspector` — in the inspector alone. A variant, as the Schematic carries
363
+ * its narrowed `show`.
364
+ *
365
+ * @property all - On the canvas and in the inspector
366
+ * @property canvas - On the canvas alone
367
+ * @property inspector - In the inspector alone
368
+ */
369
+ export declare const FlowchartShowType: VariantType<{
370
+ readonly all: NullType;
371
+ readonly canvas: NullType;
372
+ readonly inspector: NullType;
373
+ }>;
374
+ /** Type representing where a read shows. */
375
+ export type FlowchartShowType = typeof FlowchartShowType;
376
+ /**
377
+ * A read, described (R20): what it draws a row's value as, and in which
378
+ * words.
379
+ *
380
+ * @property figure - A number: its label, and its unit
381
+ * @property histogram - Counts by duration: its label, its durations' unit, what is counted, the app's bins — none, every
382
+ * row's edges merged — how the bars space them, and the edges the axis names — none, round durations
383
+ * @property list - Items by name: its label, its unit, and how many lines it draws on the canvas — 2 on a card and 1 on a
384
+ * label unless given, at most 3
385
+ * @property tags - The row's tags: its label, each tag's look, first defined first shown, and whether the canvas's legend lists them
386
+ */
387
+ export declare const FlowchartReadType: VariantType<{
388
+ readonly figure: StructType<{
389
+ readonly label: StringType;
390
+ readonly unit: OptionType<StringType>;
391
+ }>;
392
+ readonly histogram: StructType<{
393
+ readonly label: StringType;
394
+ readonly unit: VariantType<{
395
+ readonly minutes: NullType;
396
+ readonly hours: NullType;
397
+ readonly days: NullType;
398
+ }>;
399
+ readonly counts: OptionType<StringType>;
400
+ readonly bins: OptionType<ArrayType<FloatType>>;
401
+ readonly scale: VariantType<{
402
+ readonly band: NullType;
403
+ readonly linear: NullType;
404
+ }>;
405
+ readonly ticks: OptionType<ArrayType<StructType<{
406
+ readonly at: FloatType;
407
+ readonly label: OptionType<StringType>;
408
+ }>>>;
409
+ }>;
410
+ readonly list: StructType<{
411
+ readonly label: StringType;
412
+ readonly unit: OptionType<StringType>;
413
+ readonly top: IntegerType;
414
+ }>;
415
+ readonly tags: StructType<{
416
+ readonly label: StringType;
417
+ readonly colors: ArrayType<StructType<{
418
+ readonly tag: StringType;
419
+ readonly colorPalette: VariantType<{
420
+ readonly brand: NullType;
421
+ readonly gray: NullType;
422
+ readonly red: NullType;
423
+ readonly orange: NullType;
424
+ readonly yellow: NullType;
425
+ readonly green: NullType;
426
+ readonly teal: NullType;
427
+ readonly blue: NullType;
428
+ readonly cyan: NullType;
429
+ readonly purple: NullType;
430
+ readonly pink: NullType;
431
+ readonly success: NullType;
432
+ readonly warning: NullType;
433
+ readonly danger: NullType;
434
+ readonly info: NullType;
435
+ readonly neutral: NullType;
436
+ }>;
437
+ readonly variant: VariantType<{
438
+ readonly subtle: NullType;
439
+ readonly solid: NullType;
440
+ readonly outline: NullType;
441
+ readonly brand: NullType;
442
+ readonly ok: NullType;
443
+ readonly warn: NullType;
444
+ readonly danger: NullType;
445
+ readonly dashed: NullType;
446
+ readonly plain: NullType;
447
+ readonly count: NullType;
448
+ readonly callout: NullType;
449
+ }>;
450
+ }>>;
451
+ readonly legend: BooleanType;
452
+ }>;
453
+ }>;
454
+ /** Type representing a read, described. */
455
+ export type FlowchartReadType = typeof FlowchartReadType;
456
+ /**
457
+ * What a details row holds (R18): one value a read, in the reads' order.
458
+ *
459
+ * @property figure - The number; `none` where the row holds none
460
+ * @property histogram - Its counts, each at the lower edge of the bin it counts: a Dict's durations as they are, keyed; an
461
+ * Array's counts at their bins' edges, in order — or, for an Array whose length is not its bins', every count at `NaN`,
462
+ * which no bin holds, so the renderer lists the row in Issues and draws its bars absent (R27, R38)
463
+ * @property list - Its items as the row holds them, by name: each its value, and the note its draw gives
464
+ * @property tags - Its tags, in the row's order
465
+ */
466
+ export declare const FlowchartDetailRowType: ArrayType<VariantType<{
467
+ readonly figure: OptionType<FloatType>;
468
+ readonly histogram: ArrayType<StructType<{
469
+ readonly from: FloatType;
470
+ readonly count: FloatType;
471
+ }>>;
472
+ readonly list: ArrayType<StructType<{
473
+ readonly name: StringType;
474
+ readonly value: FloatType;
475
+ readonly note: OptionType<StringType>;
293
476
  }>>;
477
+ readonly tags: ArrayType<StringType>;
478
+ }>>;
479
+ /** Type representing what a details row holds. */
480
+ export type FlowchartDetailRowType = typeof FlowchartDetailRowType;
481
+ /**
482
+ * How the rail's picks weigh a kind's details (#1522, R43–R46): the source
483
+ * whose picks of a Dict field weigh them, and the entries index the field is
484
+ * filed through. A drawn row's picked entries — the picked keys' ranges of the
485
+ * index, by the row's key — are what each read the picks weigh draws, added up
486
+ * by kind; with no pick, every read draws the row's own (`values`).
487
+ *
488
+ * @property source - The rail's source whose picks weigh them: a source of the Flowchart's slice over the details' record
489
+ * @property field - Its Dict field, the one the entries index files entry by entry
490
+ * @property index - The entries index: its lean rows, under `<index>_rows`, are what the drawn rows are read by key through
491
+ * @property reads - Whether the picks weigh each read, in the reads' order: one the entries hold, unless it says
492
+ * `weigh: false`. A row holding none of the picks says *no data* in these, and draws the row's own in the others
493
+ * @property fold - A row's values, from its bytes and its picked entries' bytes, each an entry's value, in the entries'
494
+ * key order: one a read, in the reads' order
495
+ */
496
+ export declare const FlowchartWeighedType: StructType<{
497
+ readonly source: StringType;
498
+ readonly field: StringType;
499
+ readonly index: StringType;
500
+ readonly reads: ArrayType<BooleanType>;
501
+ readonly fold: FunctionType<[BlobType, ArrayType<BlobType>], ArrayType<VariantType<{
502
+ readonly figure: OptionType<FloatType>;
503
+ readonly histogram: ArrayType<StructType<{
504
+ readonly from: FloatType;
505
+ readonly count: FloatType;
506
+ }>>;
507
+ readonly list: ArrayType<StructType<{
508
+ readonly name: StringType;
509
+ readonly value: FloatType;
510
+ readonly note: OptionType<StringType>;
511
+ }>>;
512
+ readonly tags: ArrayType<StringType>;
513
+ }>>>;
294
514
  }>;
515
+ /** Type representing how the rail's picks weigh a kind's details. */
516
+ export type FlowchartWeighedType = typeof FlowchartWeighedType;
295
517
  /**
296
- * Type representing one flow.
518
+ * A kind's details, closed (R18, R19): each read described once, and the
519
+ * rows' values, read as the kind is — whole, or by the drawn rows' keys
520
+ * through the paged read named. The details' row type never reaches the
521
+ * payload: `values` turns a row into one value a read.
522
+ *
523
+ * @property reads - Every read, in the details' order, each where it shows
524
+ * @property rows - The details read whole, beside a kind read whole: `()` → each row's bytes, by key, `none` while the read
525
+ * is in flight; `none` beside a kind read through its source
526
+ * @property paged - The paged read the details are read by key through, beside a kind read through its source: the drawn
527
+ * rows' keys, every key in one request; `none` beside a kind read whole
528
+ * @property values - A row's values, from its bytes: one a read, in the reads' order
529
+ * @property weighed - How the rail's picks weigh them (#1522, R43–R46), for details that name a source; `none` for any
530
+ * other. They are read by key whatever their kind's read, `paged` naming the binding.
297
531
  */
298
- export type FlowchartFlowType = typeof FlowchartFlowType;
532
+ export declare const FlowchartDetailsType: StructType<{
533
+ readonly reads: ArrayType<StructType<{
534
+ readonly show: VariantType<{
535
+ readonly all: NullType;
536
+ readonly canvas: NullType;
537
+ readonly inspector: NullType;
538
+ }>;
539
+ readonly read: VariantType<{
540
+ readonly figure: StructType<{
541
+ readonly label: StringType;
542
+ readonly unit: OptionType<StringType>;
543
+ }>;
544
+ readonly histogram: StructType<{
545
+ readonly label: StringType;
546
+ readonly unit: VariantType<{
547
+ readonly minutes: NullType;
548
+ readonly hours: NullType;
549
+ readonly days: NullType;
550
+ }>;
551
+ readonly counts: OptionType<StringType>;
552
+ readonly bins: OptionType<ArrayType<FloatType>>;
553
+ readonly scale: VariantType<{
554
+ readonly band: NullType;
555
+ readonly linear: NullType;
556
+ }>;
557
+ readonly ticks: OptionType<ArrayType<StructType<{
558
+ readonly at: FloatType;
559
+ readonly label: OptionType<StringType>;
560
+ }>>>;
561
+ }>;
562
+ readonly list: StructType<{
563
+ readonly label: StringType;
564
+ readonly unit: OptionType<StringType>;
565
+ readonly top: IntegerType;
566
+ }>;
567
+ readonly tags: StructType<{
568
+ readonly label: StringType;
569
+ readonly colors: ArrayType<StructType<{
570
+ readonly tag: StringType;
571
+ readonly colorPalette: VariantType<{
572
+ readonly brand: NullType;
573
+ readonly gray: NullType;
574
+ readonly red: NullType;
575
+ readonly orange: NullType;
576
+ readonly yellow: NullType;
577
+ readonly green: NullType;
578
+ readonly teal: NullType;
579
+ readonly blue: NullType;
580
+ readonly cyan: NullType;
581
+ readonly purple: NullType;
582
+ readonly pink: NullType;
583
+ readonly success: NullType;
584
+ readonly warning: NullType;
585
+ readonly danger: NullType;
586
+ readonly info: NullType;
587
+ readonly neutral: NullType;
588
+ }>;
589
+ readonly variant: VariantType<{
590
+ readonly subtle: NullType;
591
+ readonly solid: NullType;
592
+ readonly outline: NullType;
593
+ readonly brand: NullType;
594
+ readonly ok: NullType;
595
+ readonly warn: NullType;
596
+ readonly danger: NullType;
597
+ readonly dashed: NullType;
598
+ readonly plain: NullType;
599
+ readonly count: NullType;
600
+ readonly callout: NullType;
601
+ }>;
602
+ }>>;
603
+ readonly legend: BooleanType;
604
+ }>;
605
+ }>;
606
+ }>>;
607
+ readonly rows: OptionType<FunctionType<[], OptionType<DictType<StringType, BlobType>>>>;
608
+ readonly paged: OptionType<StringType>;
609
+ readonly values: FunctionType<[BlobType], ArrayType<VariantType<{
610
+ readonly figure: OptionType<FloatType>;
611
+ readonly histogram: ArrayType<StructType<{
612
+ readonly from: FloatType;
613
+ readonly count: FloatType;
614
+ }>>;
615
+ readonly list: ArrayType<StructType<{
616
+ readonly name: StringType;
617
+ readonly value: FloatType;
618
+ readonly note: OptionType<StringType>;
619
+ }>>;
620
+ readonly tags: ArrayType<StringType>;
621
+ }>>>;
622
+ readonly weighed: OptionType<StructType<{
623
+ readonly source: StringType;
624
+ readonly field: StringType;
625
+ readonly index: StringType;
626
+ readonly reads: ArrayType<BooleanType>;
627
+ readonly fold: FunctionType<[BlobType, ArrayType<BlobType>], ArrayType<VariantType<{
628
+ readonly figure: OptionType<FloatType>;
629
+ readonly histogram: ArrayType<StructType<{
630
+ readonly from: FloatType;
631
+ readonly count: FloatType;
632
+ }>>;
633
+ readonly list: ArrayType<StructType<{
634
+ readonly name: StringType;
635
+ readonly value: FloatType;
636
+ readonly note: OptionType<StringType>;
637
+ }>>;
638
+ readonly tags: ArrayType<StringType>;
639
+ }>>>;
640
+ }>>;
641
+ }>;
642
+ /** Type representing a kind's details, closed. */
643
+ export type FlowchartDetailsType = typeof FlowchartDetailsType;
299
644
  /**
300
- * A record of flows, by name — the record a flowchart is bound to (#1244,
301
- * `Flowchart Builder Spec.md` §5.1): a record always holds flows by name, e3's
302
- * patch mutation writing only keyed records. A name is the flow's key in the
303
- * record. `Flowchart.values` writes one from literals.
645
+ * The states, closed (§3): a record of the app's, read whole or complete
646
+ * through their source of the slice.
647
+ *
648
+ * @property rows - Its stored states a read holds, by key, each its roles and its row: its record read whole, or its narrowing read complete through its source
649
+ * @property rowsOf - Rows a reader read by key through the states' source of the slice, as beast2 bytes of an `Array` of `{ key, row }`, made its stored states: a hidden end's, and Find's
650
+ * @property read - A drafted row's roles, from its bytes and its key
651
+ * @property write - The row with a gesture's roles written and every other field as it was
652
+ * @property create - A new row from a gesture's roles, every other field a card's values, or its type's default
653
+ * @property laneField - The field naming a state's lane by the lane's key, `none` without lanes: a conflict on it named by the lane's label
654
+ * @property templates - Its cards, the Steps tab's
655
+ * @property templatesSource - The slice's source its cards follow
656
+ * @property details - Its details over the app's rows keyed as the states are, read only, drawn on each card and in the
657
+ * inspector (#1507); `none` for states with none, which keep today's cards
304
658
  */
305
- export declare const FlowchartFlowsType: DictType<StringType, StructType<{
306
- /** One sentence about the flow: the line its card in the Flows tab shows */
307
- readonly description: OptionType<StringType>;
308
- /** Its lanes, in band order */
309
- readonly lanes: ArrayType<StructType<{
310
- /** Lane identity referenced by states */
311
- readonly key: StringType;
312
- /** Band header label (defaults to the key, uppercased) */
313
- readonly label: OptionType<StringType>;
659
+ export declare const FlowchartStateKindType: StructType<{
660
+ readonly editable: BooleanType;
661
+ readonly editing: OptionType<StructType<{
662
+ sourceId: StringType;
663
+ entryType: import("@elaraai/east").RecursiveType<VariantType<{
664
+ readonly Never: NullType;
665
+ readonly Null: NullType;
666
+ readonly Boolean: NullType;
667
+ readonly Integer: NullType;
668
+ readonly Float: NullType;
669
+ readonly String: NullType;
670
+ readonly DateTime: NullType;
671
+ readonly Blob: NullType;
672
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
673
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
674
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
675
+ readonly Dict: StructType<{
676
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
677
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
678
+ }>;
679
+ readonly Struct: ArrayType<StructType<{
680
+ readonly name: StringType;
681
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
682
+ }>>;
683
+ readonly Variant: ArrayType<StructType<{
684
+ readonly name: StringType;
685
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
686
+ }>>;
687
+ readonly Recursive: VariantType<{
688
+ readonly ref: IntegerType;
689
+ readonly wrapper: StructType<{
690
+ readonly id: IntegerType;
691
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
692
+ }>;
693
+ }>;
694
+ readonly Function: StructType<{
695
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
696
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
697
+ }>;
698
+ readonly AsyncFunction: StructType<{
699
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
700
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
701
+ }>;
702
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
703
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
704
+ }>>;
705
+ idField: OptionType<StringType>;
706
+ draftType: import("@elaraai/east").RecursiveType<VariantType<{
707
+ readonly Never: NullType;
708
+ readonly Null: NullType;
709
+ readonly Boolean: NullType;
710
+ readonly Integer: NullType;
711
+ readonly Float: NullType;
712
+ readonly String: NullType;
713
+ readonly DateTime: NullType;
714
+ readonly Blob: NullType;
715
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
716
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
717
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
718
+ readonly Dict: StructType<{
719
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
720
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
721
+ }>;
722
+ readonly Struct: ArrayType<StructType<{
723
+ readonly name: StringType;
724
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
725
+ }>>;
726
+ readonly Variant: ArrayType<StructType<{
727
+ readonly name: StringType;
728
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
729
+ }>>;
730
+ readonly Recursive: VariantType<{
731
+ readonly ref: IntegerType;
732
+ readonly wrapper: StructType<{
733
+ readonly id: IntegerType;
734
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
735
+ }>;
736
+ }>;
737
+ readonly Function: StructType<{
738
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
739
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
740
+ }>;
741
+ readonly AsyncFunction: StructType<{
742
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
743
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
744
+ }>;
745
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
746
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
747
+ }>>;
748
+ children: OptionType<StringType>;
749
+ keyType: OptionType<import("@elaraai/east").RecursiveType<VariantType<{
750
+ readonly Never: NullType;
751
+ readonly Null: NullType;
752
+ readonly Boolean: NullType;
753
+ readonly Integer: NullType;
754
+ readonly Float: NullType;
755
+ readonly String: NullType;
756
+ readonly DateTime: NullType;
757
+ readonly Blob: NullType;
758
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
759
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
760
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
761
+ readonly Dict: StructType<{
762
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
763
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
764
+ }>;
765
+ readonly Struct: ArrayType<StructType<{
766
+ readonly name: StringType;
767
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
768
+ }>>;
769
+ readonly Variant: ArrayType<StructType<{
770
+ readonly name: StringType;
771
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
772
+ }>>;
773
+ readonly Recursive: VariantType<{
774
+ readonly ref: IntegerType;
775
+ readonly wrapper: StructType<{
776
+ readonly id: IntegerType;
777
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
778
+ }>;
779
+ }>;
780
+ readonly Function: StructType<{
781
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
782
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
783
+ }>;
784
+ readonly AsyncFunction: StructType<{
785
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
786
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
787
+ }>;
788
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
789
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
790
+ }>>>;
791
+ snapshot: OptionType<BlobType>;
792
+ readEntry: FunctionType<[StringType, IntegerType], OptionType<BlobType>>;
793
+ onPatch: OptionType<FunctionType<[BlobType], NullType>>;
794
+ onApply: OptionType<VariantType<{
795
+ readonly sync: FunctionType<[BlobType], VariantType<{
796
+ readonly applied: StructType<{
797
+ readonly revision: OptionType<StringType>;
798
+ }>;
799
+ readonly rejected: ArrayType<StructType<{
800
+ readonly entry: StringType;
801
+ readonly row: OptionType<IntegerType>;
802
+ readonly field: OptionType<StringType>;
803
+ readonly message: StringType;
804
+ }>>;
805
+ readonly conflict: ArrayType<StructType<{
806
+ readonly entry: StringType;
807
+ readonly row: OptionType<IntegerType>;
808
+ readonly field: OptionType<StringType>;
809
+ readonly message: StringType;
810
+ }>>;
811
+ }>>;
812
+ readonly async: import("@elaraai/east").AsyncFunctionType<[BlobType], VariantType<{
813
+ readonly applied: StructType<{
814
+ readonly revision: OptionType<StringType>;
815
+ }>;
816
+ readonly rejected: ArrayType<StructType<{
817
+ readonly entry: StringType;
818
+ readonly row: OptionType<IntegerType>;
819
+ readonly field: OptionType<StringType>;
820
+ readonly message: StringType;
821
+ }>>;
822
+ readonly conflict: ArrayType<StructType<{
823
+ readonly entry: StringType;
824
+ readonly row: OptionType<IntegerType>;
825
+ readonly field: OptionType<StringType>;
826
+ readonly message: StringType;
827
+ }>>;
828
+ }>>;
829
+ }>>;
830
+ mode: VariantType<{
831
+ readonly batch: NullType;
832
+ readonly auto: NullType;
833
+ }>;
314
834
  }>>;
315
- /** Its states, each in one of its lanes */
316
- readonly states: ArrayType<StructType<{
317
- /** Short mono code — the node identity ("IND") */
318
- readonly key: StringType;
319
- /** Display label under the code */
320
- readonly label: OptionType<StringType>;
321
- /** The lane (ordered phase) this state belongs to */
322
- readonly lane: StringType;
323
- /** State-class member count → the ×N badge */
835
+ readonly entries: OptionType<StructType<{
836
+ readonly revision: FunctionType<[], OptionType<StringType>>;
837
+ readonly refresh: FunctionType<[OptionType<StringType>], NullType>;
838
+ readonly entry: FunctionType<[StringType], OptionType<OptionType<BlobType>>>;
839
+ readonly last: FunctionType<[], OptionType<OptionType<StringType>>>;
840
+ }>>;
841
+ readonly history: OptionType<FunctionType<[], OptionType<ArrayType<StructType<{
842
+ readonly hash: StringType;
843
+ readonly parent: OptionType<StringType>;
844
+ readonly state: StringType;
845
+ readonly mutation: StringType;
846
+ readonly actor: StringType;
847
+ readonly at: DateTimeType;
848
+ readonly delta: OptionType<StringType>;
849
+ }>>>>>;
850
+ readonly fields: ArrayType<StructType<{
851
+ readonly path: ArrayType<StringType>;
852
+ readonly label: StringType;
853
+ readonly help: OptionType<StringType>;
854
+ readonly group: OptionType<StringType>;
855
+ readonly type: import("@elaraai/east").RecursiveType<VariantType<{
856
+ readonly Never: NullType;
857
+ readonly Null: NullType;
858
+ readonly Boolean: NullType;
859
+ readonly Integer: NullType;
860
+ readonly Float: NullType;
861
+ readonly String: NullType;
862
+ readonly DateTime: NullType;
863
+ readonly Blob: NullType;
864
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
865
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
866
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
867
+ readonly Dict: StructType<{
868
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
869
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
870
+ }>;
871
+ readonly Struct: ArrayType<StructType<{
872
+ readonly name: StringType;
873
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
874
+ }>>;
875
+ readonly Variant: ArrayType<StructType<{
876
+ readonly name: StringType;
877
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
878
+ }>>;
879
+ readonly Recursive: VariantType<{
880
+ readonly ref: IntegerType;
881
+ readonly wrapper: StructType<{
882
+ readonly id: IntegerType;
883
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
884
+ }>;
885
+ }>;
886
+ readonly Function: StructType<{
887
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
888
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
889
+ }>;
890
+ readonly AsyncFunction: StructType<{
891
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
892
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
893
+ }>;
894
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
895
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
896
+ }>>;
897
+ readonly optional: BooleanType;
898
+ readonly editor: VariantType<{
899
+ readonly text: StructType<{
900
+ readonly placeholder: OptionType<StringType>;
901
+ }>;
902
+ readonly number: StructType<{
903
+ readonly unit: OptionType<StringType>;
904
+ readonly step: OptionType<FloatType>;
905
+ readonly min: OptionType<FloatType>;
906
+ readonly max: OptionType<FloatType>;
907
+ }>;
908
+ readonly checkbox: NullType;
909
+ readonly datetime: StructType<{
910
+ readonly precision: OptionType<VariantType<{
911
+ readonly date: NullType;
912
+ readonly time: NullType;
913
+ readonly datetime: NullType;
914
+ }>>;
915
+ }>;
916
+ readonly select: ArrayType<StructType<{
917
+ readonly case: StringType;
918
+ readonly label: StringType;
919
+ }>>;
920
+ readonly tags: StructType<{
921
+ readonly options: ArrayType<StringType>;
922
+ }>;
923
+ readonly checklist: StructType<{
924
+ readonly text: StringType;
925
+ readonly done: StringType;
926
+ }>;
927
+ readonly reference: StructType<{
928
+ readonly of: StringType;
929
+ }>;
930
+ readonly readonly: NullType;
931
+ }>;
932
+ }>>;
933
+ readonly inspector: OptionType<FunctionType<[BlobType, FunctionType<[BlobType], NullType>], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>>;
934
+ readonly ready: OptionType<FunctionType<[ArrayType<StructType<{
935
+ readonly id: StringType;
936
+ readonly entry: BlobType;
937
+ }>>], ArrayType<VariantType<{
938
+ readonly ready: NullType;
939
+ readonly incomplete: ArrayType<StructType<{
940
+ readonly field: StringType;
941
+ readonly message: StringType;
942
+ }>>;
943
+ readonly invalid: ArrayType<StructType<{
944
+ readonly field: StringType;
945
+ readonly message: StringType;
946
+ }>>;
947
+ }>>>>;
948
+ readonly set: FunctionType<[BlobType, ArrayType<StructType<{
949
+ readonly path: ArrayType<StringType>;
950
+ readonly value: BlobType;
951
+ }>>], OptionType<BlobType>>;
952
+ readonly rowType: import("@elaraai/east").RecursiveType<VariantType<{
953
+ readonly Never: NullType;
954
+ readonly Null: NullType;
955
+ readonly Boolean: NullType;
956
+ readonly Integer: NullType;
957
+ readonly Float: NullType;
958
+ readonly String: NullType;
959
+ readonly DateTime: NullType;
960
+ readonly Blob: NullType;
961
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
962
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
963
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
964
+ readonly Dict: StructType<{
965
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
966
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
967
+ }>;
968
+ readonly Struct: ArrayType<StructType<{
969
+ readonly name: StringType;
970
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
971
+ }>>;
972
+ readonly Variant: ArrayType<StructType<{
973
+ readonly name: StringType;
974
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
975
+ }>>;
976
+ readonly Recursive: VariantType<{
977
+ readonly ref: IntegerType;
978
+ readonly wrapper: StructType<{
979
+ readonly id: IntegerType;
980
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
981
+ }>;
982
+ }>;
983
+ readonly Function: StructType<{
984
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
985
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
986
+ }>;
987
+ readonly AsyncFunction: StructType<{
988
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
989
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
990
+ }>;
991
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
992
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
993
+ }>>;
994
+ readonly name: StringType;
995
+ readonly icon: StringType;
996
+ readonly rows: FunctionType<[], OptionType<DictType<StringType, StructType<{
997
+ readonly roles: StructType<{
998
+ readonly label: StringType;
999
+ readonly lane: OptionType<StringType>;
1000
+ readonly order: OptionType<FloatType>;
1001
+ readonly members: OptionType<IntegerType>;
1002
+ }>;
1003
+ readonly row: BlobType;
1004
+ }>>>>;
1005
+ readonly rowsOf: FunctionType<[BlobType], DictType<StringType, StructType<{
1006
+ readonly roles: StructType<{
1007
+ readonly label: StringType;
1008
+ readonly lane: OptionType<StringType>;
1009
+ readonly order: OptionType<FloatType>;
1010
+ readonly members: OptionType<IntegerType>;
1011
+ }>;
1012
+ readonly row: BlobType;
1013
+ }>>>;
1014
+ readonly read: FunctionType<[BlobType, StringType], StructType<{
1015
+ readonly label: StringType;
1016
+ readonly lane: OptionType<StringType>;
1017
+ readonly order: OptionType<FloatType>;
324
1018
  readonly members: OptionType<IntegerType>;
325
- /** Free-text notes, shown and edited in the inspector */
326
- readonly notes: OptionType<StringType>;
327
1019
  }>>;
328
- /** Its transitions; one naming a state the flow does not have draws as the unresolved ghost */
329
- readonly links: ArrayType<StructType<{
330
- /** Stable identity (selection / delete events); default derived from endpoints */
331
- readonly key: OptionType<StringType>;
332
- /** Source state key */
1020
+ readonly write: FunctionType<[BlobType, StructType<{
1021
+ readonly label: OptionType<StringType>;
1022
+ readonly lane: OptionType<StringType>;
1023
+ readonly order: OptionType<FloatType>;
1024
+ }>], OptionType<BlobType>>;
1025
+ readonly create: FunctionType<[StructType<{
1026
+ readonly label: OptionType<StringType>;
1027
+ readonly lane: OptionType<StringType>;
1028
+ readonly order: OptionType<FloatType>;
1029
+ }>, OptionType<BlobType>], OptionType<BlobType>>;
1030
+ readonly laneField: OptionType<StringType>;
1031
+ readonly templates: ArrayType<StructType<{
1032
+ readonly key: StringType;
1033
+ readonly name: StringType;
1034
+ readonly group: OptionType<StringType>;
1035
+ readonly values: BlobType;
1036
+ }>>;
1037
+ readonly templatesSource: OptionType<StringType>;
1038
+ readonly details: OptionType<StructType<{
1039
+ readonly reads: ArrayType<StructType<{
1040
+ readonly show: VariantType<{
1041
+ readonly all: NullType;
1042
+ readonly canvas: NullType;
1043
+ readonly inspector: NullType;
1044
+ }>;
1045
+ readonly read: VariantType<{
1046
+ readonly figure: StructType<{
1047
+ readonly label: StringType;
1048
+ readonly unit: OptionType<StringType>;
1049
+ }>;
1050
+ readonly histogram: StructType<{
1051
+ readonly label: StringType;
1052
+ readonly unit: VariantType<{
1053
+ readonly minutes: NullType;
1054
+ readonly hours: NullType;
1055
+ readonly days: NullType;
1056
+ }>;
1057
+ readonly counts: OptionType<StringType>;
1058
+ readonly bins: OptionType<ArrayType<FloatType>>;
1059
+ readonly scale: VariantType<{
1060
+ readonly band: NullType;
1061
+ readonly linear: NullType;
1062
+ }>;
1063
+ readonly ticks: OptionType<ArrayType<StructType<{
1064
+ readonly at: FloatType;
1065
+ readonly label: OptionType<StringType>;
1066
+ }>>>;
1067
+ }>;
1068
+ readonly list: StructType<{
1069
+ readonly label: StringType;
1070
+ readonly unit: OptionType<StringType>;
1071
+ readonly top: IntegerType;
1072
+ }>;
1073
+ readonly tags: StructType<{
1074
+ readonly label: StringType;
1075
+ readonly colors: ArrayType<StructType<{
1076
+ readonly tag: StringType;
1077
+ readonly colorPalette: VariantType<{
1078
+ readonly brand: NullType;
1079
+ readonly gray: NullType;
1080
+ readonly red: NullType;
1081
+ readonly orange: NullType;
1082
+ readonly yellow: NullType;
1083
+ readonly green: NullType;
1084
+ readonly teal: NullType;
1085
+ readonly blue: NullType;
1086
+ readonly cyan: NullType;
1087
+ readonly purple: NullType;
1088
+ readonly pink: NullType;
1089
+ readonly success: NullType;
1090
+ readonly warning: NullType;
1091
+ readonly danger: NullType;
1092
+ readonly info: NullType;
1093
+ readonly neutral: NullType;
1094
+ }>;
1095
+ readonly variant: VariantType<{
1096
+ readonly subtle: NullType;
1097
+ readonly solid: NullType;
1098
+ readonly outline: NullType;
1099
+ readonly brand: NullType;
1100
+ readonly ok: NullType;
1101
+ readonly warn: NullType;
1102
+ readonly danger: NullType;
1103
+ readonly dashed: NullType;
1104
+ readonly plain: NullType;
1105
+ readonly count: NullType;
1106
+ readonly callout: NullType;
1107
+ }>;
1108
+ }>>;
1109
+ readonly legend: BooleanType;
1110
+ }>;
1111
+ }>;
1112
+ }>>;
1113
+ readonly rows: OptionType<FunctionType<[], OptionType<DictType<StringType, BlobType>>>>;
1114
+ readonly paged: OptionType<StringType>;
1115
+ readonly values: FunctionType<[BlobType], ArrayType<VariantType<{
1116
+ readonly figure: OptionType<FloatType>;
1117
+ readonly histogram: ArrayType<StructType<{
1118
+ readonly from: FloatType;
1119
+ readonly count: FloatType;
1120
+ }>>;
1121
+ readonly list: ArrayType<StructType<{
1122
+ readonly name: StringType;
1123
+ readonly value: FloatType;
1124
+ readonly note: OptionType<StringType>;
1125
+ }>>;
1126
+ readonly tags: ArrayType<StringType>;
1127
+ }>>>;
1128
+ readonly weighed: OptionType<StructType<{
1129
+ readonly source: StringType;
1130
+ readonly field: StringType;
1131
+ readonly index: StringType;
1132
+ readonly reads: ArrayType<BooleanType>;
1133
+ readonly fold: FunctionType<[BlobType, ArrayType<BlobType>], ArrayType<VariantType<{
1134
+ readonly figure: OptionType<FloatType>;
1135
+ readonly histogram: ArrayType<StructType<{
1136
+ readonly from: FloatType;
1137
+ readonly count: FloatType;
1138
+ }>>;
1139
+ readonly list: ArrayType<StructType<{
1140
+ readonly name: StringType;
1141
+ readonly value: FloatType;
1142
+ readonly note: OptionType<StringType>;
1143
+ }>>;
1144
+ readonly tags: ArrayType<StringType>;
1145
+ }>>>;
1146
+ }>>;
1147
+ }>>;
1148
+ }>;
1149
+ /** Type representing the states, closed. */
1150
+ export type FlowchartStateKindType = typeof FlowchartStateKindType;
1151
+ /**
1152
+ * The transitions, closed (§3): a record of the app's, read whole or
1153
+ * complete through their source of the slice.
1154
+ *
1155
+ * @property rows - Its stored transitions a read holds, by key, each its roles and its row
1156
+ * @property read - A drafted row's roles, from its bytes and its key
1157
+ * @property write - The row with its ends and its decision written, each where given, and every other field as it was
1158
+ * @property create - A new transition between two states — Connect — every other field a card's values, or its type's default
1159
+ * @property fromField - The field naming its start by its state's key: a conflict on it named by the state's label
1160
+ * @property toField - The field naming its end by its state's key: a conflict on it named by the state's label
1161
+ * @property decisionField - The field naming its decision by the decision's key, `none` without one: a conflict on it named by the decision's label
1162
+ * @property templates - Its cards, the Transitions tab's: dropped on a transition, one gives it its values, its ends kept
1163
+ * @property templatesSource - The slice's source its cards follow
1164
+ * @property details - Its details over the app's rows keyed as the transitions are, read only, drawn as lines under each
1165
+ * label's evidence and in the inspector (#1507); `none` for transitions with none
1166
+ */
1167
+ export declare const FlowchartTransitionKindType: StructType<{
1168
+ readonly editable: BooleanType;
1169
+ readonly editing: OptionType<StructType<{
1170
+ sourceId: StringType;
1171
+ entryType: import("@elaraai/east").RecursiveType<VariantType<{
1172
+ readonly Never: NullType;
1173
+ readonly Null: NullType;
1174
+ readonly Boolean: NullType;
1175
+ readonly Integer: NullType;
1176
+ readonly Float: NullType;
1177
+ readonly String: NullType;
1178
+ readonly DateTime: NullType;
1179
+ readonly Blob: NullType;
1180
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1181
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1182
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1183
+ readonly Dict: StructType<{
1184
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1185
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
1186
+ }>;
1187
+ readonly Struct: ArrayType<StructType<{
1188
+ readonly name: StringType;
1189
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1190
+ }>>;
1191
+ readonly Variant: ArrayType<StructType<{
1192
+ readonly name: StringType;
1193
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1194
+ }>>;
1195
+ readonly Recursive: VariantType<{
1196
+ readonly ref: IntegerType;
1197
+ readonly wrapper: StructType<{
1198
+ readonly id: IntegerType;
1199
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
1200
+ }>;
1201
+ }>;
1202
+ readonly Function: StructType<{
1203
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1204
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1205
+ }>;
1206
+ readonly AsyncFunction: StructType<{
1207
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1208
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1209
+ }>;
1210
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1211
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1212
+ }>>;
1213
+ idField: OptionType<StringType>;
1214
+ draftType: import("@elaraai/east").RecursiveType<VariantType<{
1215
+ readonly Never: NullType;
1216
+ readonly Null: NullType;
1217
+ readonly Boolean: NullType;
1218
+ readonly Integer: NullType;
1219
+ readonly Float: NullType;
1220
+ readonly String: NullType;
1221
+ readonly DateTime: NullType;
1222
+ readonly Blob: NullType;
1223
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1224
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1225
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1226
+ readonly Dict: StructType<{
1227
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1228
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
1229
+ }>;
1230
+ readonly Struct: ArrayType<StructType<{
1231
+ readonly name: StringType;
1232
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1233
+ }>>;
1234
+ readonly Variant: ArrayType<StructType<{
1235
+ readonly name: StringType;
1236
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1237
+ }>>;
1238
+ readonly Recursive: VariantType<{
1239
+ readonly ref: IntegerType;
1240
+ readonly wrapper: StructType<{
1241
+ readonly id: IntegerType;
1242
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
1243
+ }>;
1244
+ }>;
1245
+ readonly Function: StructType<{
1246
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1247
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1248
+ }>;
1249
+ readonly AsyncFunction: StructType<{
1250
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1251
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1252
+ }>;
1253
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1254
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1255
+ }>>;
1256
+ children: OptionType<StringType>;
1257
+ keyType: OptionType<import("@elaraai/east").RecursiveType<VariantType<{
1258
+ readonly Never: NullType;
1259
+ readonly Null: NullType;
1260
+ readonly Boolean: NullType;
1261
+ readonly Integer: NullType;
1262
+ readonly Float: NullType;
1263
+ readonly String: NullType;
1264
+ readonly DateTime: NullType;
1265
+ readonly Blob: NullType;
1266
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1267
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1268
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1269
+ readonly Dict: StructType<{
1270
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1271
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
1272
+ }>;
1273
+ readonly Struct: ArrayType<StructType<{
1274
+ readonly name: StringType;
1275
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1276
+ }>>;
1277
+ readonly Variant: ArrayType<StructType<{
1278
+ readonly name: StringType;
1279
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1280
+ }>>;
1281
+ readonly Recursive: VariantType<{
1282
+ readonly ref: IntegerType;
1283
+ readonly wrapper: StructType<{
1284
+ readonly id: IntegerType;
1285
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
1286
+ }>;
1287
+ }>;
1288
+ readonly Function: StructType<{
1289
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1290
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1291
+ }>;
1292
+ readonly AsyncFunction: StructType<{
1293
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1294
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1295
+ }>;
1296
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1297
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1298
+ }>>>;
1299
+ snapshot: OptionType<BlobType>;
1300
+ readEntry: FunctionType<[StringType, IntegerType], OptionType<BlobType>>;
1301
+ onPatch: OptionType<FunctionType<[BlobType], NullType>>;
1302
+ onApply: OptionType<VariantType<{
1303
+ readonly sync: FunctionType<[BlobType], VariantType<{
1304
+ readonly applied: StructType<{
1305
+ readonly revision: OptionType<StringType>;
1306
+ }>;
1307
+ readonly rejected: ArrayType<StructType<{
1308
+ readonly entry: StringType;
1309
+ readonly row: OptionType<IntegerType>;
1310
+ readonly field: OptionType<StringType>;
1311
+ readonly message: StringType;
1312
+ }>>;
1313
+ readonly conflict: ArrayType<StructType<{
1314
+ readonly entry: StringType;
1315
+ readonly row: OptionType<IntegerType>;
1316
+ readonly field: OptionType<StringType>;
1317
+ readonly message: StringType;
1318
+ }>>;
1319
+ }>>;
1320
+ readonly async: import("@elaraai/east").AsyncFunctionType<[BlobType], VariantType<{
1321
+ readonly applied: StructType<{
1322
+ readonly revision: OptionType<StringType>;
1323
+ }>;
1324
+ readonly rejected: ArrayType<StructType<{
1325
+ readonly entry: StringType;
1326
+ readonly row: OptionType<IntegerType>;
1327
+ readonly field: OptionType<StringType>;
1328
+ readonly message: StringType;
1329
+ }>>;
1330
+ readonly conflict: ArrayType<StructType<{
1331
+ readonly entry: StringType;
1332
+ readonly row: OptionType<IntegerType>;
1333
+ readonly field: OptionType<StringType>;
1334
+ readonly message: StringType;
1335
+ }>>;
1336
+ }>>;
1337
+ }>>;
1338
+ mode: VariantType<{
1339
+ readonly batch: NullType;
1340
+ readonly auto: NullType;
1341
+ }>;
1342
+ }>>;
1343
+ readonly entries: OptionType<StructType<{
1344
+ readonly revision: FunctionType<[], OptionType<StringType>>;
1345
+ readonly refresh: FunctionType<[OptionType<StringType>], NullType>;
1346
+ readonly entry: FunctionType<[StringType], OptionType<OptionType<BlobType>>>;
1347
+ readonly last: FunctionType<[], OptionType<OptionType<StringType>>>;
1348
+ }>>;
1349
+ readonly history: OptionType<FunctionType<[], OptionType<ArrayType<StructType<{
1350
+ readonly hash: StringType;
1351
+ readonly parent: OptionType<StringType>;
1352
+ readonly state: StringType;
1353
+ readonly mutation: StringType;
1354
+ readonly actor: StringType;
1355
+ readonly at: DateTimeType;
1356
+ readonly delta: OptionType<StringType>;
1357
+ }>>>>>;
1358
+ readonly fields: ArrayType<StructType<{
1359
+ readonly path: ArrayType<StringType>;
1360
+ readonly label: StringType;
1361
+ readonly help: OptionType<StringType>;
1362
+ readonly group: OptionType<StringType>;
1363
+ readonly type: import("@elaraai/east").RecursiveType<VariantType<{
1364
+ readonly Never: NullType;
1365
+ readonly Null: NullType;
1366
+ readonly Boolean: NullType;
1367
+ readonly Integer: NullType;
1368
+ readonly Float: NullType;
1369
+ readonly String: NullType;
1370
+ readonly DateTime: NullType;
1371
+ readonly Blob: NullType;
1372
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1373
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1374
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1375
+ readonly Dict: StructType<{
1376
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1377
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
1378
+ }>;
1379
+ readonly Struct: ArrayType<StructType<{
1380
+ readonly name: StringType;
1381
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1382
+ }>>;
1383
+ readonly Variant: ArrayType<StructType<{
1384
+ readonly name: StringType;
1385
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1386
+ }>>;
1387
+ readonly Recursive: VariantType<{
1388
+ readonly ref: IntegerType;
1389
+ readonly wrapper: StructType<{
1390
+ readonly id: IntegerType;
1391
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
1392
+ }>;
1393
+ }>;
1394
+ readonly Function: StructType<{
1395
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1396
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1397
+ }>;
1398
+ readonly AsyncFunction: StructType<{
1399
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1400
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1401
+ }>;
1402
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1403
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1404
+ }>>;
1405
+ readonly optional: BooleanType;
1406
+ readonly editor: VariantType<{
1407
+ readonly text: StructType<{
1408
+ readonly placeholder: OptionType<StringType>;
1409
+ }>;
1410
+ readonly number: StructType<{
1411
+ readonly unit: OptionType<StringType>;
1412
+ readonly step: OptionType<FloatType>;
1413
+ readonly min: OptionType<FloatType>;
1414
+ readonly max: OptionType<FloatType>;
1415
+ }>;
1416
+ readonly checkbox: NullType;
1417
+ readonly datetime: StructType<{
1418
+ readonly precision: OptionType<VariantType<{
1419
+ readonly date: NullType;
1420
+ readonly time: NullType;
1421
+ readonly datetime: NullType;
1422
+ }>>;
1423
+ }>;
1424
+ readonly select: ArrayType<StructType<{
1425
+ readonly case: StringType;
1426
+ readonly label: StringType;
1427
+ }>>;
1428
+ readonly tags: StructType<{
1429
+ readonly options: ArrayType<StringType>;
1430
+ }>;
1431
+ readonly checklist: StructType<{
1432
+ readonly text: StringType;
1433
+ readonly done: StringType;
1434
+ }>;
1435
+ readonly reference: StructType<{
1436
+ readonly of: StringType;
1437
+ }>;
1438
+ readonly readonly: NullType;
1439
+ }>;
1440
+ }>>;
1441
+ readonly inspector: OptionType<FunctionType<[BlobType, FunctionType<[BlobType], NullType>], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>>;
1442
+ readonly ready: OptionType<FunctionType<[ArrayType<StructType<{
1443
+ readonly id: StringType;
1444
+ readonly entry: BlobType;
1445
+ }>>], ArrayType<VariantType<{
1446
+ readonly ready: NullType;
1447
+ readonly incomplete: ArrayType<StructType<{
1448
+ readonly field: StringType;
1449
+ readonly message: StringType;
1450
+ }>>;
1451
+ readonly invalid: ArrayType<StructType<{
1452
+ readonly field: StringType;
1453
+ readonly message: StringType;
1454
+ }>>;
1455
+ }>>>>;
1456
+ readonly set: FunctionType<[BlobType, ArrayType<StructType<{
1457
+ readonly path: ArrayType<StringType>;
1458
+ readonly value: BlobType;
1459
+ }>>], OptionType<BlobType>>;
1460
+ readonly rowType: import("@elaraai/east").RecursiveType<VariantType<{
1461
+ readonly Never: NullType;
1462
+ readonly Null: NullType;
1463
+ readonly Boolean: NullType;
1464
+ readonly Integer: NullType;
1465
+ readonly Float: NullType;
1466
+ readonly String: NullType;
1467
+ readonly DateTime: NullType;
1468
+ readonly Blob: NullType;
1469
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1470
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1471
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1472
+ readonly Dict: StructType<{
1473
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1474
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
1475
+ }>;
1476
+ readonly Struct: ArrayType<StructType<{
1477
+ readonly name: StringType;
1478
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1479
+ }>>;
1480
+ readonly Variant: ArrayType<StructType<{
1481
+ readonly name: StringType;
1482
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1483
+ }>>;
1484
+ readonly Recursive: VariantType<{
1485
+ readonly ref: IntegerType;
1486
+ readonly wrapper: StructType<{
1487
+ readonly id: IntegerType;
1488
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
1489
+ }>;
1490
+ }>;
1491
+ readonly Function: StructType<{
1492
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1493
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1494
+ }>;
1495
+ readonly AsyncFunction: StructType<{
1496
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1497
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1498
+ }>;
1499
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1500
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1501
+ }>>;
1502
+ readonly name: StringType;
1503
+ readonly icon: StringType;
1504
+ readonly rows: FunctionType<[], OptionType<DictType<StringType, StructType<{
1505
+ readonly roles: StructType<{
1506
+ readonly from: StringType;
1507
+ readonly to: StringType;
1508
+ readonly decision: OptionType<StringType>;
1509
+ readonly kind: VariantType<{
1510
+ /** A designed / expected transition (solid stroke) */
1511
+ readonly planned: NullType;
1512
+ /** A transition mined from evidence (dashed stroke) */
1513
+ readonly observed: NullType;
1514
+ }>;
1515
+ readonly evidence: OptionType<StructType<{
1516
+ /** Total measured volume behind the arrow */
1517
+ readonly volume: OptionType<FloatType>;
1518
+ /** Event count behind the arrow (e.g. cage moves) */
1519
+ readonly count: OptionType<IntegerType>;
1520
+ /** When the evidence was measured */
1521
+ readonly measuredAt: OptionType<DateTimeType>;
1522
+ /** Volume unit suffix for badges ("parcels") */
1523
+ readonly unit: OptionType<StringType>;
1524
+ }>>;
1525
+ }>;
1526
+ readonly row: BlobType;
1527
+ }>>>>;
1528
+ readonly read: FunctionType<[BlobType, StringType], StructType<{
333
1529
  readonly from: StringType;
334
- /** Target state key */
335
1530
  readonly to: StringType;
336
- /** planned (default) | observed */
337
- readonly kind: OptionType<VariantType<{
1531
+ readonly decision: OptionType<StringType>;
1532
+ readonly kind: VariantType<{
338
1533
  /** A designed / expected transition (solid stroke) */
339
1534
  readonly planned: NullType;
340
1535
  /** A transition mined from evidence (dashed stroke) */
341
1536
  readonly observed: NullType;
342
- }>>;
343
- /** 0..1 decision trigger key → diamond */
344
- readonly trigger: OptionType<StringType>;
345
- /** Imported evidence (weight, badges, provenance) */
1537
+ }>;
346
1538
  readonly evidence: OptionType<StructType<{
347
1539
  /** Total measured volume behind the arrow */
348
1540
  readonly volume: OptionType<FloatType>;
@@ -354,40 +1546,892 @@ export declare const FlowchartFlowsType: DictType<StringType, StructType<{
354
1546
  readonly unit: OptionType<StringType>;
355
1547
  }>>;
356
1548
  }>>;
357
- /** Its decisions, each named by the transitions it governs */
358
- readonly triggers: ArrayType<StructType<{
359
- /** Trigger identity referenced by links */
1549
+ readonly write: FunctionType<[BlobType, StructType<{
1550
+ readonly from: OptionType<StringType>;
1551
+ readonly to: OptionType<StringType>;
1552
+ readonly decision: OptionType<OptionType<StringType>>;
1553
+ }>], OptionType<BlobType>>;
1554
+ readonly create: FunctionType<[StructType<{
1555
+ readonly from: OptionType<StringType>;
1556
+ readonly to: OptionType<StringType>;
1557
+ readonly decision: OptionType<OptionType<StringType>>;
1558
+ }>, OptionType<BlobType>], OptionType<BlobType>>;
1559
+ readonly fromField: StringType;
1560
+ readonly toField: StringType;
1561
+ readonly decisionField: OptionType<StringType>;
1562
+ readonly templates: ArrayType<StructType<{
360
1563
  readonly key: StringType;
361
- /** Decision name ("route") */
362
- readonly label: StringType;
363
- /** Diamond letter (default: first letter of the label) */
364
- readonly letter: OptionType<StringType>;
365
- /** Owning role / system ("sort-planner") */
366
- readonly owner: OptionType<StringType>;
367
- /** State keys queued at the decision */
368
- readonly queue: OptionType<ArrayType<StringType>>;
369
- /** Outcome summary line ("CH* (×14 chutes)") */
370
- readonly outcomes: OptionType<StringType>;
1564
+ readonly name: StringType;
1565
+ readonly group: OptionType<StringType>;
1566
+ readonly values: BlobType;
371
1567
  }>>;
372
- }>>;
1568
+ readonly templatesSource: OptionType<StringType>;
1569
+ readonly details: OptionType<StructType<{
1570
+ readonly reads: ArrayType<StructType<{
1571
+ readonly show: VariantType<{
1572
+ readonly all: NullType;
1573
+ readonly canvas: NullType;
1574
+ readonly inspector: NullType;
1575
+ }>;
1576
+ readonly read: VariantType<{
1577
+ readonly figure: StructType<{
1578
+ readonly label: StringType;
1579
+ readonly unit: OptionType<StringType>;
1580
+ }>;
1581
+ readonly histogram: StructType<{
1582
+ readonly label: StringType;
1583
+ readonly unit: VariantType<{
1584
+ readonly minutes: NullType;
1585
+ readonly hours: NullType;
1586
+ readonly days: NullType;
1587
+ }>;
1588
+ readonly counts: OptionType<StringType>;
1589
+ readonly bins: OptionType<ArrayType<FloatType>>;
1590
+ readonly scale: VariantType<{
1591
+ readonly band: NullType;
1592
+ readonly linear: NullType;
1593
+ }>;
1594
+ readonly ticks: OptionType<ArrayType<StructType<{
1595
+ readonly at: FloatType;
1596
+ readonly label: OptionType<StringType>;
1597
+ }>>>;
1598
+ }>;
1599
+ readonly list: StructType<{
1600
+ readonly label: StringType;
1601
+ readonly unit: OptionType<StringType>;
1602
+ readonly top: IntegerType;
1603
+ }>;
1604
+ readonly tags: StructType<{
1605
+ readonly label: StringType;
1606
+ readonly colors: ArrayType<StructType<{
1607
+ readonly tag: StringType;
1608
+ readonly colorPalette: VariantType<{
1609
+ readonly brand: NullType;
1610
+ readonly gray: NullType;
1611
+ readonly red: NullType;
1612
+ readonly orange: NullType;
1613
+ readonly yellow: NullType;
1614
+ readonly green: NullType;
1615
+ readonly teal: NullType;
1616
+ readonly blue: NullType;
1617
+ readonly cyan: NullType;
1618
+ readonly purple: NullType;
1619
+ readonly pink: NullType;
1620
+ readonly success: NullType;
1621
+ readonly warning: NullType;
1622
+ readonly danger: NullType;
1623
+ readonly info: NullType;
1624
+ readonly neutral: NullType;
1625
+ }>;
1626
+ readonly variant: VariantType<{
1627
+ readonly subtle: NullType;
1628
+ readonly solid: NullType;
1629
+ readonly outline: NullType;
1630
+ readonly brand: NullType;
1631
+ readonly ok: NullType;
1632
+ readonly warn: NullType;
1633
+ readonly danger: NullType;
1634
+ readonly dashed: NullType;
1635
+ readonly plain: NullType;
1636
+ readonly count: NullType;
1637
+ readonly callout: NullType;
1638
+ }>;
1639
+ }>>;
1640
+ readonly legend: BooleanType;
1641
+ }>;
1642
+ }>;
1643
+ }>>;
1644
+ readonly rows: OptionType<FunctionType<[], OptionType<DictType<StringType, BlobType>>>>;
1645
+ readonly paged: OptionType<StringType>;
1646
+ readonly values: FunctionType<[BlobType], ArrayType<VariantType<{
1647
+ readonly figure: OptionType<FloatType>;
1648
+ readonly histogram: ArrayType<StructType<{
1649
+ readonly from: FloatType;
1650
+ readonly count: FloatType;
1651
+ }>>;
1652
+ readonly list: ArrayType<StructType<{
1653
+ readonly name: StringType;
1654
+ readonly value: FloatType;
1655
+ readonly note: OptionType<StringType>;
1656
+ }>>;
1657
+ readonly tags: ArrayType<StringType>;
1658
+ }>>>;
1659
+ readonly weighed: OptionType<StructType<{
1660
+ readonly source: StringType;
1661
+ readonly field: StringType;
1662
+ readonly index: StringType;
1663
+ readonly reads: ArrayType<BooleanType>;
1664
+ readonly fold: FunctionType<[BlobType, ArrayType<BlobType>], ArrayType<VariantType<{
1665
+ readonly figure: OptionType<FloatType>;
1666
+ readonly histogram: ArrayType<StructType<{
1667
+ readonly from: FloatType;
1668
+ readonly count: FloatType;
1669
+ }>>;
1670
+ readonly list: ArrayType<StructType<{
1671
+ readonly name: StringType;
1672
+ readonly value: FloatType;
1673
+ readonly note: OptionType<StringType>;
1674
+ }>>;
1675
+ readonly tags: ArrayType<StringType>;
1676
+ }>>>;
1677
+ }>>;
1678
+ }>>;
1679
+ }>;
1680
+ /** Type representing the transitions, closed. */
1681
+ export type FlowchartTransitionKindType = typeof FlowchartTransitionKindType;
373
1682
  /**
374
- * Type representing a record of flows.
1683
+ * The lanes, closed (§3): a small record of the app's, read whole.
1684
+ *
1685
+ * @property rows - Its lanes, by key, each its roles and its row; `none` while the read is in flight
1686
+ * @property read - A drafted row's roles, from its bytes and its key
1687
+ * @property write - The row with its label and its order written, each where given, and every other field as it was; `none` for an order an Integer field can't hold
1688
+ * @property create - A new lane from its label and its order, every other field a card's values, or its type's default; `none` as `write` refuses
1689
+ * @property templates - Its cards, the Lanes tab's
1690
+ * @property templatesSource - The slice's source its cards follow
375
1691
  */
376
- export type FlowchartFlowsType = typeof FlowchartFlowsType;
1692
+ export declare const FlowchartLaneKindType: StructType<{
1693
+ readonly editable: BooleanType;
1694
+ readonly editing: OptionType<StructType<{
1695
+ sourceId: StringType;
1696
+ entryType: import("@elaraai/east").RecursiveType<VariantType<{
1697
+ readonly Never: NullType;
1698
+ readonly Null: NullType;
1699
+ readonly Boolean: NullType;
1700
+ readonly Integer: NullType;
1701
+ readonly Float: NullType;
1702
+ readonly String: NullType;
1703
+ readonly DateTime: NullType;
1704
+ readonly Blob: NullType;
1705
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1706
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1707
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1708
+ readonly Dict: StructType<{
1709
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1710
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
1711
+ }>;
1712
+ readonly Struct: ArrayType<StructType<{
1713
+ readonly name: StringType;
1714
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1715
+ }>>;
1716
+ readonly Variant: ArrayType<StructType<{
1717
+ readonly name: StringType;
1718
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1719
+ }>>;
1720
+ readonly Recursive: VariantType<{
1721
+ readonly ref: IntegerType;
1722
+ readonly wrapper: StructType<{
1723
+ readonly id: IntegerType;
1724
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
1725
+ }>;
1726
+ }>;
1727
+ readonly Function: StructType<{
1728
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1729
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1730
+ }>;
1731
+ readonly AsyncFunction: StructType<{
1732
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1733
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1734
+ }>;
1735
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1736
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1737
+ }>>;
1738
+ idField: OptionType<StringType>;
1739
+ draftType: import("@elaraai/east").RecursiveType<VariantType<{
1740
+ readonly Never: NullType;
1741
+ readonly Null: NullType;
1742
+ readonly Boolean: NullType;
1743
+ readonly Integer: NullType;
1744
+ readonly Float: NullType;
1745
+ readonly String: NullType;
1746
+ readonly DateTime: NullType;
1747
+ readonly Blob: NullType;
1748
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1749
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1750
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1751
+ readonly Dict: StructType<{
1752
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1753
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
1754
+ }>;
1755
+ readonly Struct: ArrayType<StructType<{
1756
+ readonly name: StringType;
1757
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1758
+ }>>;
1759
+ readonly Variant: ArrayType<StructType<{
1760
+ readonly name: StringType;
1761
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1762
+ }>>;
1763
+ readonly Recursive: VariantType<{
1764
+ readonly ref: IntegerType;
1765
+ readonly wrapper: StructType<{
1766
+ readonly id: IntegerType;
1767
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
1768
+ }>;
1769
+ }>;
1770
+ readonly Function: StructType<{
1771
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1772
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1773
+ }>;
1774
+ readonly AsyncFunction: StructType<{
1775
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1776
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1777
+ }>;
1778
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1779
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1780
+ }>>;
1781
+ children: OptionType<StringType>;
1782
+ keyType: OptionType<import("@elaraai/east").RecursiveType<VariantType<{
1783
+ readonly Never: NullType;
1784
+ readonly Null: NullType;
1785
+ readonly Boolean: NullType;
1786
+ readonly Integer: NullType;
1787
+ readonly Float: NullType;
1788
+ readonly String: NullType;
1789
+ readonly DateTime: NullType;
1790
+ readonly Blob: NullType;
1791
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1792
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1793
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1794
+ readonly Dict: StructType<{
1795
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1796
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
1797
+ }>;
1798
+ readonly Struct: ArrayType<StructType<{
1799
+ readonly name: StringType;
1800
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1801
+ }>>;
1802
+ readonly Variant: ArrayType<StructType<{
1803
+ readonly name: StringType;
1804
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1805
+ }>>;
1806
+ readonly Recursive: VariantType<{
1807
+ readonly ref: IntegerType;
1808
+ readonly wrapper: StructType<{
1809
+ readonly id: IntegerType;
1810
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
1811
+ }>;
1812
+ }>;
1813
+ readonly Function: StructType<{
1814
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1815
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1816
+ }>;
1817
+ readonly AsyncFunction: StructType<{
1818
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1819
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1820
+ }>;
1821
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1822
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1823
+ }>>>;
1824
+ snapshot: OptionType<BlobType>;
1825
+ readEntry: FunctionType<[StringType, IntegerType], OptionType<BlobType>>;
1826
+ onPatch: OptionType<FunctionType<[BlobType], NullType>>;
1827
+ onApply: OptionType<VariantType<{
1828
+ readonly sync: FunctionType<[BlobType], VariantType<{
1829
+ readonly applied: StructType<{
1830
+ readonly revision: OptionType<StringType>;
1831
+ }>;
1832
+ readonly rejected: ArrayType<StructType<{
1833
+ readonly entry: StringType;
1834
+ readonly row: OptionType<IntegerType>;
1835
+ readonly field: OptionType<StringType>;
1836
+ readonly message: StringType;
1837
+ }>>;
1838
+ readonly conflict: ArrayType<StructType<{
1839
+ readonly entry: StringType;
1840
+ readonly row: OptionType<IntegerType>;
1841
+ readonly field: OptionType<StringType>;
1842
+ readonly message: StringType;
1843
+ }>>;
1844
+ }>>;
1845
+ readonly async: import("@elaraai/east").AsyncFunctionType<[BlobType], VariantType<{
1846
+ readonly applied: StructType<{
1847
+ readonly revision: OptionType<StringType>;
1848
+ }>;
1849
+ readonly rejected: ArrayType<StructType<{
1850
+ readonly entry: StringType;
1851
+ readonly row: OptionType<IntegerType>;
1852
+ readonly field: OptionType<StringType>;
1853
+ readonly message: StringType;
1854
+ }>>;
1855
+ readonly conflict: ArrayType<StructType<{
1856
+ readonly entry: StringType;
1857
+ readonly row: OptionType<IntegerType>;
1858
+ readonly field: OptionType<StringType>;
1859
+ readonly message: StringType;
1860
+ }>>;
1861
+ }>>;
1862
+ }>>;
1863
+ mode: VariantType<{
1864
+ readonly batch: NullType;
1865
+ readonly auto: NullType;
1866
+ }>;
1867
+ }>>;
1868
+ readonly entries: OptionType<StructType<{
1869
+ readonly revision: FunctionType<[], OptionType<StringType>>;
1870
+ readonly refresh: FunctionType<[OptionType<StringType>], NullType>;
1871
+ readonly entry: FunctionType<[StringType], OptionType<OptionType<BlobType>>>;
1872
+ readonly last: FunctionType<[], OptionType<OptionType<StringType>>>;
1873
+ }>>;
1874
+ readonly history: OptionType<FunctionType<[], OptionType<ArrayType<StructType<{
1875
+ readonly hash: StringType;
1876
+ readonly parent: OptionType<StringType>;
1877
+ readonly state: StringType;
1878
+ readonly mutation: StringType;
1879
+ readonly actor: StringType;
1880
+ readonly at: DateTimeType;
1881
+ readonly delta: OptionType<StringType>;
1882
+ }>>>>>;
1883
+ readonly fields: ArrayType<StructType<{
1884
+ readonly path: ArrayType<StringType>;
1885
+ readonly label: StringType;
1886
+ readonly help: OptionType<StringType>;
1887
+ readonly group: OptionType<StringType>;
1888
+ readonly type: import("@elaraai/east").RecursiveType<VariantType<{
1889
+ readonly Never: NullType;
1890
+ readonly Null: NullType;
1891
+ readonly Boolean: NullType;
1892
+ readonly Integer: NullType;
1893
+ readonly Float: NullType;
1894
+ readonly String: NullType;
1895
+ readonly DateTime: NullType;
1896
+ readonly Blob: NullType;
1897
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1898
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1899
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1900
+ readonly Dict: StructType<{
1901
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1902
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
1903
+ }>;
1904
+ readonly Struct: ArrayType<StructType<{
1905
+ readonly name: StringType;
1906
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1907
+ }>>;
1908
+ readonly Variant: ArrayType<StructType<{
1909
+ readonly name: StringType;
1910
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1911
+ }>>;
1912
+ readonly Recursive: VariantType<{
1913
+ readonly ref: IntegerType;
1914
+ readonly wrapper: StructType<{
1915
+ readonly id: IntegerType;
1916
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
1917
+ }>;
1918
+ }>;
1919
+ readonly Function: StructType<{
1920
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1921
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1922
+ }>;
1923
+ readonly AsyncFunction: StructType<{
1924
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1925
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1926
+ }>;
1927
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1928
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1929
+ }>>;
1930
+ readonly optional: BooleanType;
1931
+ readonly editor: VariantType<{
1932
+ readonly text: StructType<{
1933
+ readonly placeholder: OptionType<StringType>;
1934
+ }>;
1935
+ readonly number: StructType<{
1936
+ readonly unit: OptionType<StringType>;
1937
+ readonly step: OptionType<FloatType>;
1938
+ readonly min: OptionType<FloatType>;
1939
+ readonly max: OptionType<FloatType>;
1940
+ }>;
1941
+ readonly checkbox: NullType;
1942
+ readonly datetime: StructType<{
1943
+ readonly precision: OptionType<VariantType<{
1944
+ readonly date: NullType;
1945
+ readonly time: NullType;
1946
+ readonly datetime: NullType;
1947
+ }>>;
1948
+ }>;
1949
+ readonly select: ArrayType<StructType<{
1950
+ readonly case: StringType;
1951
+ readonly label: StringType;
1952
+ }>>;
1953
+ readonly tags: StructType<{
1954
+ readonly options: ArrayType<StringType>;
1955
+ }>;
1956
+ readonly checklist: StructType<{
1957
+ readonly text: StringType;
1958
+ readonly done: StringType;
1959
+ }>;
1960
+ readonly reference: StructType<{
1961
+ readonly of: StringType;
1962
+ }>;
1963
+ readonly readonly: NullType;
1964
+ }>;
1965
+ }>>;
1966
+ readonly inspector: OptionType<FunctionType<[BlobType, FunctionType<[BlobType], NullType>], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>>;
1967
+ readonly ready: OptionType<FunctionType<[ArrayType<StructType<{
1968
+ readonly id: StringType;
1969
+ readonly entry: BlobType;
1970
+ }>>], ArrayType<VariantType<{
1971
+ readonly ready: NullType;
1972
+ readonly incomplete: ArrayType<StructType<{
1973
+ readonly field: StringType;
1974
+ readonly message: StringType;
1975
+ }>>;
1976
+ readonly invalid: ArrayType<StructType<{
1977
+ readonly field: StringType;
1978
+ readonly message: StringType;
1979
+ }>>;
1980
+ }>>>>;
1981
+ readonly set: FunctionType<[BlobType, ArrayType<StructType<{
1982
+ readonly path: ArrayType<StringType>;
1983
+ readonly value: BlobType;
1984
+ }>>], OptionType<BlobType>>;
1985
+ readonly rowType: import("@elaraai/east").RecursiveType<VariantType<{
1986
+ readonly Never: NullType;
1987
+ readonly Null: NullType;
1988
+ readonly Boolean: NullType;
1989
+ readonly Integer: NullType;
1990
+ readonly Float: NullType;
1991
+ readonly String: NullType;
1992
+ readonly DateTime: NullType;
1993
+ readonly Blob: NullType;
1994
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1995
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1996
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1997
+ readonly Dict: StructType<{
1998
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1999
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
2000
+ }>;
2001
+ readonly Struct: ArrayType<StructType<{
2002
+ readonly name: StringType;
2003
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
2004
+ }>>;
2005
+ readonly Variant: ArrayType<StructType<{
2006
+ readonly name: StringType;
2007
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
2008
+ }>>;
2009
+ readonly Recursive: VariantType<{
2010
+ readonly ref: IntegerType;
2011
+ readonly wrapper: StructType<{
2012
+ readonly id: IntegerType;
2013
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
2014
+ }>;
2015
+ }>;
2016
+ readonly Function: StructType<{
2017
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
2018
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
2019
+ }>;
2020
+ readonly AsyncFunction: StructType<{
2021
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
2022
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
2023
+ }>;
2024
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
2025
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
2026
+ }>>;
2027
+ readonly name: StringType;
2028
+ readonly icon: StringType;
2029
+ readonly rows: FunctionType<[], OptionType<DictType<StringType, StructType<{
2030
+ readonly roles: StructType<{
2031
+ readonly label: StringType;
2032
+ readonly order: OptionType<FloatType>;
2033
+ }>;
2034
+ readonly row: BlobType;
2035
+ }>>>>;
2036
+ readonly read: FunctionType<[BlobType, StringType], StructType<{
2037
+ readonly label: StringType;
2038
+ readonly order: OptionType<FloatType>;
2039
+ }>>;
2040
+ readonly write: FunctionType<[BlobType, StructType<{
2041
+ readonly label: OptionType<StringType>;
2042
+ readonly order: OptionType<FloatType>;
2043
+ }>], OptionType<BlobType>>;
2044
+ readonly create: FunctionType<[StructType<{
2045
+ readonly label: OptionType<StringType>;
2046
+ readonly order: OptionType<FloatType>;
2047
+ }>, OptionType<BlobType>], OptionType<BlobType>>;
2048
+ readonly templates: ArrayType<StructType<{
2049
+ readonly key: StringType;
2050
+ readonly name: StringType;
2051
+ readonly group: OptionType<StringType>;
2052
+ readonly values: BlobType;
2053
+ }>>;
2054
+ readonly templatesSource: OptionType<StringType>;
2055
+ }>;
2056
+ /** Type representing the lanes, closed. */
2057
+ export type FlowchartLaneKindType = typeof FlowchartLaneKindType;
377
2058
  /**
378
- * Eyebrow freshness chip content.
2059
+ * The decisions, closed (§3): a small record of the app's, read whole.
379
2060
  *
380
- * @property label - Chip label ("evidence-2026.06")
381
- * @property date - Optional stamp printed after the label
2061
+ * @property rows - Its decisions, by key, each its roles and its row; `none` while the read is in flight
2062
+ * @property read - A drafted row's roles, from its bytes and its key
2063
+ * @property unqueue - The row with a state's key taken out of its queue — a state's Del; `none` for a kind with no `queue`
382
2064
  */
383
- export declare const FlowchartFreshnessType: StructType<{
384
- /** Chip label ("evidence-2026.06") */
385
- readonly label: StringType;
386
- /** Optional stamp printed after the label */
387
- readonly date: OptionType<DateTimeType>;
2065
+ export declare const FlowchartDecisionKindType: StructType<{
2066
+ readonly editable: BooleanType;
2067
+ readonly editing: OptionType<StructType<{
2068
+ sourceId: StringType;
2069
+ entryType: import("@elaraai/east").RecursiveType<VariantType<{
2070
+ readonly Never: NullType;
2071
+ readonly Null: NullType;
2072
+ readonly Boolean: NullType;
2073
+ readonly Integer: NullType;
2074
+ readonly Float: NullType;
2075
+ readonly String: NullType;
2076
+ readonly DateTime: NullType;
2077
+ readonly Blob: NullType;
2078
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
2079
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
2080
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
2081
+ readonly Dict: StructType<{
2082
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
2083
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
2084
+ }>;
2085
+ readonly Struct: ArrayType<StructType<{
2086
+ readonly name: StringType;
2087
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
2088
+ }>>;
2089
+ readonly Variant: ArrayType<StructType<{
2090
+ readonly name: StringType;
2091
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
2092
+ }>>;
2093
+ readonly Recursive: VariantType<{
2094
+ readonly ref: IntegerType;
2095
+ readonly wrapper: StructType<{
2096
+ readonly id: IntegerType;
2097
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
2098
+ }>;
2099
+ }>;
2100
+ readonly Function: StructType<{
2101
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
2102
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
2103
+ }>;
2104
+ readonly AsyncFunction: StructType<{
2105
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
2106
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
2107
+ }>;
2108
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
2109
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
2110
+ }>>;
2111
+ idField: OptionType<StringType>;
2112
+ draftType: import("@elaraai/east").RecursiveType<VariantType<{
2113
+ readonly Never: NullType;
2114
+ readonly Null: NullType;
2115
+ readonly Boolean: NullType;
2116
+ readonly Integer: NullType;
2117
+ readonly Float: NullType;
2118
+ readonly String: NullType;
2119
+ readonly DateTime: NullType;
2120
+ readonly Blob: NullType;
2121
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
2122
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
2123
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
2124
+ readonly Dict: StructType<{
2125
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
2126
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
2127
+ }>;
2128
+ readonly Struct: ArrayType<StructType<{
2129
+ readonly name: StringType;
2130
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
2131
+ }>>;
2132
+ readonly Variant: ArrayType<StructType<{
2133
+ readonly name: StringType;
2134
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
2135
+ }>>;
2136
+ readonly Recursive: VariantType<{
2137
+ readonly ref: IntegerType;
2138
+ readonly wrapper: StructType<{
2139
+ readonly id: IntegerType;
2140
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
2141
+ }>;
2142
+ }>;
2143
+ readonly Function: StructType<{
2144
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
2145
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
2146
+ }>;
2147
+ readonly AsyncFunction: StructType<{
2148
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
2149
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
2150
+ }>;
2151
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
2152
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
2153
+ }>>;
2154
+ children: OptionType<StringType>;
2155
+ keyType: OptionType<import("@elaraai/east").RecursiveType<VariantType<{
2156
+ readonly Never: NullType;
2157
+ readonly Null: NullType;
2158
+ readonly Boolean: NullType;
2159
+ readonly Integer: NullType;
2160
+ readonly Float: NullType;
2161
+ readonly String: NullType;
2162
+ readonly DateTime: NullType;
2163
+ readonly Blob: NullType;
2164
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
2165
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
2166
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
2167
+ readonly Dict: StructType<{
2168
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
2169
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
2170
+ }>;
2171
+ readonly Struct: ArrayType<StructType<{
2172
+ readonly name: StringType;
2173
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
2174
+ }>>;
2175
+ readonly Variant: ArrayType<StructType<{
2176
+ readonly name: StringType;
2177
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
2178
+ }>>;
2179
+ readonly Recursive: VariantType<{
2180
+ readonly ref: IntegerType;
2181
+ readonly wrapper: StructType<{
2182
+ readonly id: IntegerType;
2183
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
2184
+ }>;
2185
+ }>;
2186
+ readonly Function: StructType<{
2187
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
2188
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
2189
+ }>;
2190
+ readonly AsyncFunction: StructType<{
2191
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
2192
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
2193
+ }>;
2194
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
2195
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
2196
+ }>>>;
2197
+ snapshot: OptionType<BlobType>;
2198
+ readEntry: FunctionType<[StringType, IntegerType], OptionType<BlobType>>;
2199
+ onPatch: OptionType<FunctionType<[BlobType], NullType>>;
2200
+ onApply: OptionType<VariantType<{
2201
+ readonly sync: FunctionType<[BlobType], VariantType<{
2202
+ readonly applied: StructType<{
2203
+ readonly revision: OptionType<StringType>;
2204
+ }>;
2205
+ readonly rejected: ArrayType<StructType<{
2206
+ readonly entry: StringType;
2207
+ readonly row: OptionType<IntegerType>;
2208
+ readonly field: OptionType<StringType>;
2209
+ readonly message: StringType;
2210
+ }>>;
2211
+ readonly conflict: ArrayType<StructType<{
2212
+ readonly entry: StringType;
2213
+ readonly row: OptionType<IntegerType>;
2214
+ readonly field: OptionType<StringType>;
2215
+ readonly message: StringType;
2216
+ }>>;
2217
+ }>>;
2218
+ readonly async: import("@elaraai/east").AsyncFunctionType<[BlobType], VariantType<{
2219
+ readonly applied: StructType<{
2220
+ readonly revision: OptionType<StringType>;
2221
+ }>;
2222
+ readonly rejected: ArrayType<StructType<{
2223
+ readonly entry: StringType;
2224
+ readonly row: OptionType<IntegerType>;
2225
+ readonly field: OptionType<StringType>;
2226
+ readonly message: StringType;
2227
+ }>>;
2228
+ readonly conflict: ArrayType<StructType<{
2229
+ readonly entry: StringType;
2230
+ readonly row: OptionType<IntegerType>;
2231
+ readonly field: OptionType<StringType>;
2232
+ readonly message: StringType;
2233
+ }>>;
2234
+ }>>;
2235
+ }>>;
2236
+ mode: VariantType<{
2237
+ readonly batch: NullType;
2238
+ readonly auto: NullType;
2239
+ }>;
2240
+ }>>;
2241
+ readonly entries: OptionType<StructType<{
2242
+ readonly revision: FunctionType<[], OptionType<StringType>>;
2243
+ readonly refresh: FunctionType<[OptionType<StringType>], NullType>;
2244
+ readonly entry: FunctionType<[StringType], OptionType<OptionType<BlobType>>>;
2245
+ readonly last: FunctionType<[], OptionType<OptionType<StringType>>>;
2246
+ }>>;
2247
+ readonly history: OptionType<FunctionType<[], OptionType<ArrayType<StructType<{
2248
+ readonly hash: StringType;
2249
+ readonly parent: OptionType<StringType>;
2250
+ readonly state: StringType;
2251
+ readonly mutation: StringType;
2252
+ readonly actor: StringType;
2253
+ readonly at: DateTimeType;
2254
+ readonly delta: OptionType<StringType>;
2255
+ }>>>>>;
2256
+ readonly fields: ArrayType<StructType<{
2257
+ readonly path: ArrayType<StringType>;
2258
+ readonly label: StringType;
2259
+ readonly help: OptionType<StringType>;
2260
+ readonly group: OptionType<StringType>;
2261
+ readonly type: import("@elaraai/east").RecursiveType<VariantType<{
2262
+ readonly Never: NullType;
2263
+ readonly Null: NullType;
2264
+ readonly Boolean: NullType;
2265
+ readonly Integer: NullType;
2266
+ readonly Float: NullType;
2267
+ readonly String: NullType;
2268
+ readonly DateTime: NullType;
2269
+ readonly Blob: NullType;
2270
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
2271
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
2272
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
2273
+ readonly Dict: StructType<{
2274
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
2275
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
2276
+ }>;
2277
+ readonly Struct: ArrayType<StructType<{
2278
+ readonly name: StringType;
2279
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
2280
+ }>>;
2281
+ readonly Variant: ArrayType<StructType<{
2282
+ readonly name: StringType;
2283
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
2284
+ }>>;
2285
+ readonly Recursive: VariantType<{
2286
+ readonly ref: IntegerType;
2287
+ readonly wrapper: StructType<{
2288
+ readonly id: IntegerType;
2289
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
2290
+ }>;
2291
+ }>;
2292
+ readonly Function: StructType<{
2293
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
2294
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
2295
+ }>;
2296
+ readonly AsyncFunction: StructType<{
2297
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
2298
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
2299
+ }>;
2300
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
2301
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
2302
+ }>>;
2303
+ readonly optional: BooleanType;
2304
+ readonly editor: VariantType<{
2305
+ readonly text: StructType<{
2306
+ readonly placeholder: OptionType<StringType>;
2307
+ }>;
2308
+ readonly number: StructType<{
2309
+ readonly unit: OptionType<StringType>;
2310
+ readonly step: OptionType<FloatType>;
2311
+ readonly min: OptionType<FloatType>;
2312
+ readonly max: OptionType<FloatType>;
2313
+ }>;
2314
+ readonly checkbox: NullType;
2315
+ readonly datetime: StructType<{
2316
+ readonly precision: OptionType<VariantType<{
2317
+ readonly date: NullType;
2318
+ readonly time: NullType;
2319
+ readonly datetime: NullType;
2320
+ }>>;
2321
+ }>;
2322
+ readonly select: ArrayType<StructType<{
2323
+ readonly case: StringType;
2324
+ readonly label: StringType;
2325
+ }>>;
2326
+ readonly tags: StructType<{
2327
+ readonly options: ArrayType<StringType>;
2328
+ }>;
2329
+ readonly checklist: StructType<{
2330
+ readonly text: StringType;
2331
+ readonly done: StringType;
2332
+ }>;
2333
+ readonly reference: StructType<{
2334
+ readonly of: StringType;
2335
+ }>;
2336
+ readonly readonly: NullType;
2337
+ }>;
2338
+ }>>;
2339
+ readonly inspector: OptionType<FunctionType<[BlobType, FunctionType<[BlobType], NullType>], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>>;
2340
+ readonly ready: OptionType<FunctionType<[ArrayType<StructType<{
2341
+ readonly id: StringType;
2342
+ readonly entry: BlobType;
2343
+ }>>], ArrayType<VariantType<{
2344
+ readonly ready: NullType;
2345
+ readonly incomplete: ArrayType<StructType<{
2346
+ readonly field: StringType;
2347
+ readonly message: StringType;
2348
+ }>>;
2349
+ readonly invalid: ArrayType<StructType<{
2350
+ readonly field: StringType;
2351
+ readonly message: StringType;
2352
+ }>>;
2353
+ }>>>>;
2354
+ readonly set: FunctionType<[BlobType, ArrayType<StructType<{
2355
+ readonly path: ArrayType<StringType>;
2356
+ readonly value: BlobType;
2357
+ }>>], OptionType<BlobType>>;
2358
+ readonly rowType: import("@elaraai/east").RecursiveType<VariantType<{
2359
+ readonly Never: NullType;
2360
+ readonly Null: NullType;
2361
+ readonly Boolean: NullType;
2362
+ readonly Integer: NullType;
2363
+ readonly Float: NullType;
2364
+ readonly String: NullType;
2365
+ readonly DateTime: NullType;
2366
+ readonly Blob: NullType;
2367
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
2368
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
2369
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
2370
+ readonly Dict: StructType<{
2371
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
2372
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
2373
+ }>;
2374
+ readonly Struct: ArrayType<StructType<{
2375
+ readonly name: StringType;
2376
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
2377
+ }>>;
2378
+ readonly Variant: ArrayType<StructType<{
2379
+ readonly name: StringType;
2380
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
2381
+ }>>;
2382
+ readonly Recursive: VariantType<{
2383
+ readonly ref: IntegerType;
2384
+ readonly wrapper: StructType<{
2385
+ readonly id: IntegerType;
2386
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
2387
+ }>;
2388
+ }>;
2389
+ readonly Function: StructType<{
2390
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
2391
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
2392
+ }>;
2393
+ readonly AsyncFunction: StructType<{
2394
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
2395
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
2396
+ }>;
2397
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
2398
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
2399
+ }>>;
2400
+ readonly name: StringType;
2401
+ readonly icon: StringType;
2402
+ readonly rows: FunctionType<[], OptionType<DictType<StringType, StructType<{
2403
+ readonly roles: StructType<{
2404
+ readonly label: StringType;
2405
+ readonly letter: OptionType<StringType>;
2406
+ readonly owner: OptionType<StringType>;
2407
+ readonly outcomes: OptionType<StringType>;
2408
+ readonly queue: ArrayType<StringType>;
2409
+ }>;
2410
+ readonly row: BlobType;
2411
+ }>>>>;
2412
+ readonly read: FunctionType<[BlobType, StringType], StructType<{
2413
+ readonly label: StringType;
2414
+ readonly letter: OptionType<StringType>;
2415
+ readonly owner: OptionType<StringType>;
2416
+ readonly outcomes: OptionType<StringType>;
2417
+ readonly queue: ArrayType<StringType>;
2418
+ }>>;
2419
+ readonly unqueue: OptionType<FunctionType<[BlobType, StringType], OptionType<BlobType>>>;
388
2420
  }>;
2421
+ /** Type representing the decisions, closed. */
2422
+ export type FlowchartDecisionKindType = typeof FlowchartDecisionKindType;
389
2423
  /**
390
- * Type representing the freshness chip.
2424
+ * What a narrowing does (R6): `hide`, the default — a row it leaves out is
2425
+ * never read — or `dim` — every row is read, and those it leaves out are
2426
+ * drawn as context, selected by no path.
2427
+ *
2428
+ * @property hide - A row the narrowing leaves out is never read
2429
+ * @property dim - Every row is read, those left out drawn faded
391
2430
  */
392
- export type FlowchartFreshnessType = typeof FlowchartFreshnessType;
2431
+ export declare const FlowchartNarrowedType: VariantType<{
2432
+ readonly hide: NullType;
2433
+ readonly dim: NullType;
2434
+ }>;
2435
+ /** Type representing what a narrowing does. */
2436
+ export type FlowchartNarrowedType = typeof FlowchartNarrowedType;
393
2437
  //# sourceMappingURL=types.d.ts.map