@elaraai/east-ui 1.0.114 → 1.0.115

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 (48) hide show
  1. package/dist/src/charts/chart/index.d.ts +132 -4
  2. package/dist/src/charts/chart/index.d.ts.map +1 -1
  3. package/dist/src/charts/chart/index.js +74 -5
  4. package/dist/src/charts/chart/index.js.map +1 -1
  5. package/dist/src/charts/spec/index.d.ts +1077 -2369
  6. package/dist/src/charts/spec/index.d.ts.map +1 -1
  7. package/dist/src/charts/spec/index.js +74 -283
  8. package/dist/src/charts/spec/index.js.map +1 -1
  9. package/dist/src/charts/spec/nodes.d.ts +1524 -0
  10. package/dist/src/charts/spec/nodes.d.ts.map +1 -0
  11. package/dist/src/charts/spec/nodes.js +326 -0
  12. package/dist/src/charts/spec/nodes.js.map +1 -0
  13. package/dist/src/charts/spec/types.d.ts +91 -1
  14. package/dist/src/charts/spec/types.d.ts.map +1 -1
  15. package/dist/src/charts/spec/types.js +62 -1
  16. package/dist/src/charts/spec/types.js.map +1 -1
  17. package/dist/src/collections/pagination/index.js +6 -6
  18. package/dist/src/collections/pagination/types.d.ts +14 -11
  19. package/dist/src/collections/pagination/types.d.ts.map +1 -1
  20. package/dist/src/collections/pagination/types.js +12 -9
  21. package/dist/src/collections/pagination/types.js.map +1 -1
  22. package/dist/src/component.d.ts +43 -0
  23. package/dist/src/component.d.ts.map +1 -1
  24. package/dist/src/internal.d.ts +1 -0
  25. package/dist/src/internal.d.ts.map +1 -1
  26. package/dist/src/internal.js +3 -0
  27. package/dist/src/internal.js.map +1 -1
  28. package/dist/src/layout/snap-grid/index.d.ts +43 -4
  29. package/dist/src/layout/snap-grid/index.d.ts.map +1 -1
  30. package/dist/src/layout/snap-grid/index.js +25 -2
  31. package/dist/src/layout/snap-grid/index.js.map +1 -1
  32. package/dist/src/layout/snap-grid/types.d.ts +51 -7
  33. package/dist/src/layout/snap-grid/types.d.ts.map +1 -1
  34. package/dist/src/layout/snap-grid/types.js +18 -7
  35. package/dist/src/layout/snap-grid/types.js.map +1 -1
  36. package/dist/src/platform/slice/index.d.ts +10 -0
  37. package/dist/src/platform/slice/index.d.ts.map +1 -1
  38. package/dist/src/platform/slice/index.js +13 -1
  39. package/dist/src/platform/slice/index.js.map +1 -1
  40. package/dist/src/runtime/charts/chart.d.ts +4 -1
  41. package/dist/src/runtime/charts/chart.d.ts.map +1 -1
  42. package/dist/src/runtime/charts/chart.js +4 -1
  43. package/dist/src/runtime/charts/chart.js.map +1 -1
  44. package/dist/test/charts/chart.examples.d.ts +4 -0
  45. package/dist/test/charts/chart.examples.d.ts.map +1 -1
  46. package/dist/test/charts/chart.examples.js +26 -0
  47. package/dist/test/charts/chart.examples.js.map +1 -1
  48. package/package.json +4 -4
@@ -0,0 +1,1524 @@
1
+ /**
2
+ * Copyright (c) 2025 Elara AI Pty Ltd
3
+ * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
+ */
5
+ /**
6
+ * The chart tree's node type and its constructors (`Chart.Spec`): the
7
+ * recursive visx-primitive chart IR, and the node each constructor builds —
8
+ * the frame, a series layer, a band, a pie, the axes, the gridlines and the
9
+ * annotations. The `Chart.Spec` namespace (`./index.ts`) names them.
10
+ *
11
+ * @packageDocumentation
12
+ */
13
+ import { type ExprType, type SubtypeExprOrValue, ArrayType, DateTimeType, StringType, FloatType, BooleanType, IntegerType, OptionType, RecursiveType, StructType, VariantType } from "@elaraai/east";
14
+ import { SliceChromeType } from "../../platform/slice/index.js";
15
+ import { FontFamilyType, type FontFamilyLiteral, FontWeightType, type FontWeightLiteral } from "../../style/typography.js";
16
+ import { ChartXType, ChartDomainType, ChartSeriesArrayType, ChartBandSeriesArrayType, ChartTickFormatType, ChartCurveType, type ChartCurveLiteral, ChartStackOffsetType, type ChartStackOffsetLiteral, YAxisSideType, type YAxisSideLiteral, ChartSliceArrayType, ChartPieLegendType, type ChartPieLegendLiteral } from "./types.js";
17
+ /**
18
+ * `ChartSpecType` — the recursive visx-primitive chart IR. A chart value is a
19
+ * tree of these variant nodes; `EastVisxChart` interprets it, deriving the
20
+ * shared scales from the `frame`'s scale kinds + descendant data and passing
21
+ * them down so every mark / axis / grid aligns. Factory helpers (`Slice.Chart.*`,
22
+ * and the migrated `Chart.*` later) assemble the tree.
23
+ *
24
+ * @property frame - Sized (responsive when `width` is `none`) plotting frame; owns margins, x/y scale kinds, optional secondary y-scale, tooltip / legend, children
25
+ * @property group - A translated container (`visx` `Group`) of children
26
+ * @property linePath - A polyline (`visx` `LinePath`)
27
+ * @property area - A filled area (`visx` `AreaClosed`)
28
+ * @property bandArea - A filled band between low/high bounds per x (area-range)
29
+ * @property bars - Bars (`visx` `Bar`) at band positions (vertical, or growing along x when the frame's `yScale` is `band`)
30
+ * @property points - Point markers (`visx` `Circle`)
31
+ * @property rule - A reference line spanning the plot at a data coordinate
32
+ * @property referenceDot - A highlighted marker at a data coordinate
33
+ * @property referenceArea - A shaded region spanning a range on one or both axes
34
+ * @property text - A free SVG text label at a data coordinate
35
+ * @property axisBottom - X axis (`visx` `AxisBottom`) from the band/time scale
36
+ * @property axisLeft - Primary y axis (`visx` `AxisLeft`) from the linear scale
37
+ * @property axisRight - Secondary y axis for a dual-axis chart
38
+ * @property gridRows - Horizontal gridlines (`visx` `GridRows`)
39
+ * @property gridColumns - Vertical gridlines (`visx` `GridColumns`)
40
+ * @property series - Multi-series layer: one mark per coloured series
41
+ * @property pie - Shares of one total, with its legend: the only node of its frame
42
+ */
43
+ export declare const ChartSpecType: RecursiveType<VariantType<{
44
+ readonly frame: StructType<{
45
+ readonly height: FloatType;
46
+ readonly width: OptionType<FloatType>;
47
+ readonly margin: OptionType<StructType<{
48
+ readonly top: FloatType;
49
+ readonly right: FloatType;
50
+ readonly bottom: FloatType;
51
+ readonly left: FloatType;
52
+ }>>;
53
+ readonly xScale: VariantType<{
54
+ readonly band: import("@elaraai/east").NullType;
55
+ readonly linear: import("@elaraai/east").NullType;
56
+ readonly time: import("@elaraai/east").NullType;
57
+ }>;
58
+ readonly yScale: VariantType<{
59
+ readonly band: import("@elaraai/east").NullType;
60
+ readonly linear: import("@elaraai/east").NullType;
61
+ readonly time: import("@elaraai/east").NullType;
62
+ }>;
63
+ readonly yScale2: OptionType<VariantType<{
64
+ readonly band: import("@elaraai/east").NullType;
65
+ readonly linear: import("@elaraai/east").NullType;
66
+ readonly time: import("@elaraai/east").NullType;
67
+ }>>;
68
+ readonly tooltip: OptionType<StructType<{
69
+ readonly cursor: OptionType<VariantType<{
70
+ readonly none: import("@elaraai/east").NullType;
71
+ readonly line: import("@elaraai/east").NullType;
72
+ readonly fill: import("@elaraai/east").NullType;
73
+ }>>;
74
+ }>>;
75
+ readonly legend: OptionType<StructType<{
76
+ readonly orientation: OptionType<VariantType<{
77
+ readonly horizontal: import("@elaraai/east").NullType;
78
+ readonly vertical: import("@elaraai/east").NullType;
79
+ }>>;
80
+ readonly position: OptionType<VariantType<{
81
+ readonly top: import("@elaraai/east").NullType;
82
+ readonly bottom: import("@elaraai/east").NullType;
83
+ readonly left: import("@elaraai/east").NullType;
84
+ readonly right: import("@elaraai/east").NullType;
85
+ }>>;
86
+ }>>;
87
+ readonly slice: OptionType<StructType<{
88
+ readonly slice: StructType<{
89
+ readonly key: StringType;
90
+ readonly read: import("@elaraai/east").FunctionType<[], StructType<{
91
+ readonly range: OptionType<VariantType<{
92
+ readonly datetime: StructType<{
93
+ readonly from: DateTimeType;
94
+ readonly to: DateTimeType;
95
+ }>;
96
+ readonly datetimePreset: VariantType<{
97
+ readonly today: import("@elaraai/east").NullType;
98
+ readonly last7d: import("@elaraai/east").NullType;
99
+ readonly last30d: import("@elaraai/east").NullType;
100
+ readonly last90d: import("@elaraai/east").NullType;
101
+ readonly ytd: import("@elaraai/east").NullType;
102
+ }>;
103
+ readonly integer: StructType<{
104
+ readonly from: IntegerType;
105
+ readonly to: IntegerType;
106
+ }>;
107
+ readonly float: StructType<{
108
+ readonly from: FloatType;
109
+ readonly to: FloatType;
110
+ }>;
111
+ }>>;
112
+ readonly compare: OptionType<VariantType<{
113
+ readonly previousPeriod: import("@elaraai/east").NullType;
114
+ readonly previousYear: import("@elaraai/east").NullType;
115
+ }>>;
116
+ readonly filters: ArrayType<VariantType<{
117
+ readonly string: StructType<{
118
+ readonly fieldId: StringType;
119
+ readonly op: VariantType<{
120
+ readonly eq: StringType;
121
+ readonly neq: StringType;
122
+ readonly in: import("@elaraai/east").SetType<StringType>;
123
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
124
+ readonly contains: StringType;
125
+ readonly matches: StringType;
126
+ readonly startsWith: StringType;
127
+ readonly endsWith: StringType;
128
+ readonly isEmpty: import("@elaraai/east").NullType;
129
+ readonly isNotEmpty: import("@elaraai/east").NullType;
130
+ }>;
131
+ }>;
132
+ readonly integer: StructType<{
133
+ readonly fieldId: StringType;
134
+ readonly op: VariantType<{
135
+ readonly eq: IntegerType;
136
+ readonly neq: IntegerType;
137
+ readonly lt: IntegerType;
138
+ readonly lte: IntegerType;
139
+ readonly gt: IntegerType;
140
+ readonly gte: IntegerType;
141
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
142
+ }>;
143
+ }>;
144
+ readonly float: StructType<{
145
+ readonly fieldId: StringType;
146
+ readonly op: VariantType<{
147
+ readonly lt: FloatType;
148
+ readonly lte: FloatType;
149
+ readonly gt: FloatType;
150
+ readonly gte: FloatType;
151
+ }>;
152
+ }>;
153
+ readonly datetime: StructType<{
154
+ readonly fieldId: StringType;
155
+ readonly op: VariantType<{
156
+ readonly before: DateTimeType;
157
+ readonly after: DateTimeType;
158
+ readonly between: StructType<{
159
+ readonly from: DateTimeType;
160
+ readonly to: DateTimeType;
161
+ }>;
162
+ }>;
163
+ }>;
164
+ readonly boolean: StructType<{
165
+ readonly fieldId: StringType;
166
+ readonly op: VariantType<{
167
+ readonly is: BooleanType;
168
+ }>;
169
+ }>;
170
+ }>>;
171
+ readonly cohorts: ArrayType<StructType<{
172
+ readonly id: StringType;
173
+ readonly name: StringType;
174
+ readonly filters: ArrayType<VariantType<{
175
+ readonly string: StructType<{
176
+ readonly fieldId: StringType;
177
+ readonly op: VariantType<{
178
+ readonly eq: StringType;
179
+ readonly neq: StringType;
180
+ readonly in: import("@elaraai/east").SetType<StringType>;
181
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
182
+ readonly contains: StringType;
183
+ readonly matches: StringType;
184
+ readonly startsWith: StringType;
185
+ readonly endsWith: StringType;
186
+ readonly isEmpty: import("@elaraai/east").NullType;
187
+ readonly isNotEmpty: import("@elaraai/east").NullType;
188
+ }>;
189
+ }>;
190
+ readonly integer: StructType<{
191
+ readonly fieldId: StringType;
192
+ readonly op: VariantType<{
193
+ readonly eq: IntegerType;
194
+ readonly neq: IntegerType;
195
+ readonly lt: IntegerType;
196
+ readonly lte: IntegerType;
197
+ readonly gt: IntegerType;
198
+ readonly gte: IntegerType;
199
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
200
+ }>;
201
+ }>;
202
+ readonly float: StructType<{
203
+ readonly fieldId: StringType;
204
+ readonly op: VariantType<{
205
+ readonly lt: FloatType;
206
+ readonly lte: FloatType;
207
+ readonly gt: FloatType;
208
+ readonly gte: FloatType;
209
+ }>;
210
+ }>;
211
+ readonly datetime: StructType<{
212
+ readonly fieldId: StringType;
213
+ readonly op: VariantType<{
214
+ readonly before: DateTimeType;
215
+ readonly after: DateTimeType;
216
+ readonly between: StructType<{
217
+ readonly from: DateTimeType;
218
+ readonly to: DateTimeType;
219
+ }>;
220
+ }>;
221
+ }>;
222
+ readonly boolean: StructType<{
223
+ readonly fieldId: StringType;
224
+ readonly op: VariantType<{
225
+ readonly is: BooleanType;
226
+ }>;
227
+ }>;
228
+ }>>;
229
+ readonly group: OptionType<StringType>;
230
+ }>>;
231
+ readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
232
+ readonly breakdown: OptionType<StructType<{
233
+ readonly fieldId: StringType;
234
+ readonly limit: OptionType<IntegerType>;
235
+ }>>;
236
+ readonly search: OptionType<StringType>;
237
+ readonly visible: OptionType<import("@elaraai/east").SetType<StringType>>;
238
+ readonly selectedIndex: OptionType<IntegerType>;
239
+ readonly resolution: OptionType<VariantType<{
240
+ readonly auto: import("@elaraai/east").NullType;
241
+ readonly hour: import("@elaraai/east").NullType;
242
+ readonly day: import("@elaraai/east").NullType;
243
+ readonly week: import("@elaraai/east").NullType;
244
+ readonly month: import("@elaraai/east").NullType;
245
+ readonly quarter: import("@elaraai/east").NullType;
246
+ readonly year: import("@elaraai/east").NullType;
247
+ }>>;
248
+ }>>;
249
+ readonly write: import("@elaraai/east").FunctionType<[StructType<{
250
+ readonly range: OptionType<VariantType<{
251
+ readonly datetime: StructType<{
252
+ readonly from: DateTimeType;
253
+ readonly to: DateTimeType;
254
+ }>;
255
+ readonly datetimePreset: VariantType<{
256
+ readonly today: import("@elaraai/east").NullType;
257
+ readonly last7d: import("@elaraai/east").NullType;
258
+ readonly last30d: import("@elaraai/east").NullType;
259
+ readonly last90d: import("@elaraai/east").NullType;
260
+ readonly ytd: import("@elaraai/east").NullType;
261
+ }>;
262
+ readonly integer: StructType<{
263
+ readonly from: IntegerType;
264
+ readonly to: IntegerType;
265
+ }>;
266
+ readonly float: StructType<{
267
+ readonly from: FloatType;
268
+ readonly to: FloatType;
269
+ }>;
270
+ }>>;
271
+ readonly compare: OptionType<VariantType<{
272
+ readonly previousPeriod: import("@elaraai/east").NullType;
273
+ readonly previousYear: import("@elaraai/east").NullType;
274
+ }>>;
275
+ readonly filters: ArrayType<VariantType<{
276
+ readonly string: StructType<{
277
+ readonly fieldId: StringType;
278
+ readonly op: VariantType<{
279
+ readonly eq: StringType;
280
+ readonly neq: StringType;
281
+ readonly in: import("@elaraai/east").SetType<StringType>;
282
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
283
+ readonly contains: StringType;
284
+ readonly matches: StringType;
285
+ readonly startsWith: StringType;
286
+ readonly endsWith: StringType;
287
+ readonly isEmpty: import("@elaraai/east").NullType;
288
+ readonly isNotEmpty: import("@elaraai/east").NullType;
289
+ }>;
290
+ }>;
291
+ readonly integer: StructType<{
292
+ readonly fieldId: StringType;
293
+ readonly op: VariantType<{
294
+ readonly eq: IntegerType;
295
+ readonly neq: IntegerType;
296
+ readonly lt: IntegerType;
297
+ readonly lte: IntegerType;
298
+ readonly gt: IntegerType;
299
+ readonly gte: IntegerType;
300
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
301
+ }>;
302
+ }>;
303
+ readonly float: StructType<{
304
+ readonly fieldId: StringType;
305
+ readonly op: VariantType<{
306
+ readonly lt: FloatType;
307
+ readonly lte: FloatType;
308
+ readonly gt: FloatType;
309
+ readonly gte: FloatType;
310
+ }>;
311
+ }>;
312
+ readonly datetime: StructType<{
313
+ readonly fieldId: StringType;
314
+ readonly op: VariantType<{
315
+ readonly before: DateTimeType;
316
+ readonly after: DateTimeType;
317
+ readonly between: StructType<{
318
+ readonly from: DateTimeType;
319
+ readonly to: DateTimeType;
320
+ }>;
321
+ }>;
322
+ }>;
323
+ readonly boolean: StructType<{
324
+ readonly fieldId: StringType;
325
+ readonly op: VariantType<{
326
+ readonly is: BooleanType;
327
+ }>;
328
+ }>;
329
+ }>>;
330
+ readonly cohorts: ArrayType<StructType<{
331
+ readonly id: StringType;
332
+ readonly name: StringType;
333
+ readonly filters: ArrayType<VariantType<{
334
+ readonly string: StructType<{
335
+ readonly fieldId: StringType;
336
+ readonly op: VariantType<{
337
+ readonly eq: StringType;
338
+ readonly neq: StringType;
339
+ readonly in: import("@elaraai/east").SetType<StringType>;
340
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
341
+ readonly contains: StringType;
342
+ readonly matches: StringType;
343
+ readonly startsWith: StringType;
344
+ readonly endsWith: StringType;
345
+ readonly isEmpty: import("@elaraai/east").NullType;
346
+ readonly isNotEmpty: import("@elaraai/east").NullType;
347
+ }>;
348
+ }>;
349
+ readonly integer: StructType<{
350
+ readonly fieldId: StringType;
351
+ readonly op: VariantType<{
352
+ readonly eq: IntegerType;
353
+ readonly neq: IntegerType;
354
+ readonly lt: IntegerType;
355
+ readonly lte: IntegerType;
356
+ readonly gt: IntegerType;
357
+ readonly gte: IntegerType;
358
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
359
+ }>;
360
+ }>;
361
+ readonly float: StructType<{
362
+ readonly fieldId: StringType;
363
+ readonly op: VariantType<{
364
+ readonly lt: FloatType;
365
+ readonly lte: FloatType;
366
+ readonly gt: FloatType;
367
+ readonly gte: FloatType;
368
+ }>;
369
+ }>;
370
+ readonly datetime: StructType<{
371
+ readonly fieldId: StringType;
372
+ readonly op: VariantType<{
373
+ readonly before: DateTimeType;
374
+ readonly after: DateTimeType;
375
+ readonly between: StructType<{
376
+ readonly from: DateTimeType;
377
+ readonly to: DateTimeType;
378
+ }>;
379
+ }>;
380
+ }>;
381
+ readonly boolean: StructType<{
382
+ readonly fieldId: StringType;
383
+ readonly op: VariantType<{
384
+ readonly is: BooleanType;
385
+ }>;
386
+ }>;
387
+ }>>;
388
+ readonly group: OptionType<StringType>;
389
+ }>>;
390
+ readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
391
+ readonly breakdown: OptionType<StructType<{
392
+ readonly fieldId: StringType;
393
+ readonly limit: OptionType<IntegerType>;
394
+ }>>;
395
+ readonly search: OptionType<StringType>;
396
+ readonly visible: OptionType<import("@elaraai/east").SetType<StringType>>;
397
+ readonly selectedIndex: OptionType<IntegerType>;
398
+ readonly resolution: OptionType<VariantType<{
399
+ readonly auto: import("@elaraai/east").NullType;
400
+ readonly hour: import("@elaraai/east").NullType;
401
+ readonly day: import("@elaraai/east").NullType;
402
+ readonly week: import("@elaraai/east").NullType;
403
+ readonly month: import("@elaraai/east").NullType;
404
+ readonly quarter: import("@elaraai/east").NullType;
405
+ readonly year: import("@elaraai/east").NullType;
406
+ }>>;
407
+ }>], import("@elaraai/east").NullType>;
408
+ readonly setRange: import("@elaraai/east").FunctionType<[OptionType<VariantType<{
409
+ readonly datetime: StructType<{
410
+ readonly from: DateTimeType;
411
+ readonly to: DateTimeType;
412
+ }>;
413
+ readonly datetimePreset: VariantType<{
414
+ readonly today: import("@elaraai/east").NullType;
415
+ readonly last7d: import("@elaraai/east").NullType;
416
+ readonly last30d: import("@elaraai/east").NullType;
417
+ readonly last90d: import("@elaraai/east").NullType;
418
+ readonly ytd: import("@elaraai/east").NullType;
419
+ }>;
420
+ readonly integer: StructType<{
421
+ readonly from: IntegerType;
422
+ readonly to: IntegerType;
423
+ }>;
424
+ readonly float: StructType<{
425
+ readonly from: FloatType;
426
+ readonly to: FloatType;
427
+ }>;
428
+ }>>], import("@elaraai/east").NullType>;
429
+ readonly setCompare: import("@elaraai/east").FunctionType<[OptionType<VariantType<{
430
+ readonly previousPeriod: import("@elaraai/east").NullType;
431
+ readonly previousYear: import("@elaraai/east").NullType;
432
+ }>>], import("@elaraai/east").NullType>;
433
+ readonly addFilter: import("@elaraai/east").FunctionType<[VariantType<{
434
+ readonly string: StructType<{
435
+ readonly fieldId: StringType;
436
+ readonly op: VariantType<{
437
+ readonly eq: StringType;
438
+ readonly neq: StringType;
439
+ readonly in: import("@elaraai/east").SetType<StringType>;
440
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
441
+ readonly contains: StringType;
442
+ readonly matches: StringType;
443
+ readonly startsWith: StringType;
444
+ readonly endsWith: StringType;
445
+ readonly isEmpty: import("@elaraai/east").NullType;
446
+ readonly isNotEmpty: import("@elaraai/east").NullType;
447
+ }>;
448
+ }>;
449
+ readonly integer: StructType<{
450
+ readonly fieldId: StringType;
451
+ readonly op: VariantType<{
452
+ readonly eq: IntegerType;
453
+ readonly neq: IntegerType;
454
+ readonly lt: IntegerType;
455
+ readonly lte: IntegerType;
456
+ readonly gt: IntegerType;
457
+ readonly gte: IntegerType;
458
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
459
+ }>;
460
+ }>;
461
+ readonly float: StructType<{
462
+ readonly fieldId: StringType;
463
+ readonly op: VariantType<{
464
+ readonly lt: FloatType;
465
+ readonly lte: FloatType;
466
+ readonly gt: FloatType;
467
+ readonly gte: FloatType;
468
+ }>;
469
+ }>;
470
+ readonly datetime: StructType<{
471
+ readonly fieldId: StringType;
472
+ readonly op: VariantType<{
473
+ readonly before: DateTimeType;
474
+ readonly after: DateTimeType;
475
+ readonly between: StructType<{
476
+ readonly from: DateTimeType;
477
+ readonly to: DateTimeType;
478
+ }>;
479
+ }>;
480
+ }>;
481
+ readonly boolean: StructType<{
482
+ readonly fieldId: StringType;
483
+ readonly op: VariantType<{
484
+ readonly is: BooleanType;
485
+ }>;
486
+ }>;
487
+ }>], import("@elaraai/east").NullType>;
488
+ readonly removeFilter: import("@elaraai/east").FunctionType<[IntegerType], import("@elaraai/east").NullType>;
489
+ readonly clearFilters: import("@elaraai/east").FunctionType<[], import("@elaraai/east").NullType>;
490
+ readonly defineCohort: import("@elaraai/east").FunctionType<[StructType<{
491
+ readonly id: StringType;
492
+ readonly name: StringType;
493
+ readonly filters: ArrayType<VariantType<{
494
+ readonly string: StructType<{
495
+ readonly fieldId: StringType;
496
+ readonly op: VariantType<{
497
+ readonly eq: StringType;
498
+ readonly neq: StringType;
499
+ readonly in: import("@elaraai/east").SetType<StringType>;
500
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
501
+ readonly contains: StringType;
502
+ readonly matches: StringType;
503
+ readonly startsWith: StringType;
504
+ readonly endsWith: StringType;
505
+ readonly isEmpty: import("@elaraai/east").NullType;
506
+ readonly isNotEmpty: import("@elaraai/east").NullType;
507
+ }>;
508
+ }>;
509
+ readonly integer: StructType<{
510
+ readonly fieldId: StringType;
511
+ readonly op: VariantType<{
512
+ readonly eq: IntegerType;
513
+ readonly neq: IntegerType;
514
+ readonly lt: IntegerType;
515
+ readonly lte: IntegerType;
516
+ readonly gt: IntegerType;
517
+ readonly gte: IntegerType;
518
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
519
+ }>;
520
+ }>;
521
+ readonly float: StructType<{
522
+ readonly fieldId: StringType;
523
+ readonly op: VariantType<{
524
+ readonly lt: FloatType;
525
+ readonly lte: FloatType;
526
+ readonly gt: FloatType;
527
+ readonly gte: FloatType;
528
+ }>;
529
+ }>;
530
+ readonly datetime: StructType<{
531
+ readonly fieldId: StringType;
532
+ readonly op: VariantType<{
533
+ readonly before: DateTimeType;
534
+ readonly after: DateTimeType;
535
+ readonly between: StructType<{
536
+ readonly from: DateTimeType;
537
+ readonly to: DateTimeType;
538
+ }>;
539
+ }>;
540
+ }>;
541
+ readonly boolean: StructType<{
542
+ readonly fieldId: StringType;
543
+ readonly op: VariantType<{
544
+ readonly is: BooleanType;
545
+ }>;
546
+ }>;
547
+ }>>;
548
+ readonly group: OptionType<StringType>;
549
+ }>], import("@elaraai/east").NullType>;
550
+ readonly updateCohort: import("@elaraai/east").FunctionType<[StringType, StructType<{
551
+ readonly id: StringType;
552
+ readonly name: StringType;
553
+ readonly filters: ArrayType<VariantType<{
554
+ readonly string: StructType<{
555
+ readonly fieldId: StringType;
556
+ readonly op: VariantType<{
557
+ readonly eq: StringType;
558
+ readonly neq: StringType;
559
+ readonly in: import("@elaraai/east").SetType<StringType>;
560
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
561
+ readonly contains: StringType;
562
+ readonly matches: StringType;
563
+ readonly startsWith: StringType;
564
+ readonly endsWith: StringType;
565
+ readonly isEmpty: import("@elaraai/east").NullType;
566
+ readonly isNotEmpty: import("@elaraai/east").NullType;
567
+ }>;
568
+ }>;
569
+ readonly integer: StructType<{
570
+ readonly fieldId: StringType;
571
+ readonly op: VariantType<{
572
+ readonly eq: IntegerType;
573
+ readonly neq: IntegerType;
574
+ readonly lt: IntegerType;
575
+ readonly lte: IntegerType;
576
+ readonly gt: IntegerType;
577
+ readonly gte: IntegerType;
578
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
579
+ }>;
580
+ }>;
581
+ readonly float: StructType<{
582
+ readonly fieldId: StringType;
583
+ readonly op: VariantType<{
584
+ readonly lt: FloatType;
585
+ readonly lte: FloatType;
586
+ readonly gt: FloatType;
587
+ readonly gte: FloatType;
588
+ }>;
589
+ }>;
590
+ readonly datetime: StructType<{
591
+ readonly fieldId: StringType;
592
+ readonly op: VariantType<{
593
+ readonly before: DateTimeType;
594
+ readonly after: DateTimeType;
595
+ readonly between: StructType<{
596
+ readonly from: DateTimeType;
597
+ readonly to: DateTimeType;
598
+ }>;
599
+ }>;
600
+ }>;
601
+ readonly boolean: StructType<{
602
+ readonly fieldId: StringType;
603
+ readonly op: VariantType<{
604
+ readonly is: BooleanType;
605
+ }>;
606
+ }>;
607
+ }>>;
608
+ readonly group: OptionType<StringType>;
609
+ }>], import("@elaraai/east").NullType>;
610
+ readonly removeCohort: import("@elaraai/east").FunctionType<[StringType], import("@elaraai/east").NullType>;
611
+ readonly toggleCohort: import("@elaraai/east").FunctionType<[StringType], import("@elaraai/east").NullType>;
612
+ readonly setBreakdown: import("@elaraai/east").FunctionType<[OptionType<StructType<{
613
+ readonly fieldId: StringType;
614
+ readonly limit: OptionType<IntegerType>;
615
+ }>>], import("@elaraai/east").NullType>;
616
+ readonly setSearch: import("@elaraai/east").FunctionType<[OptionType<StringType>], import("@elaraai/east").NullType>;
617
+ readonly setVisible: import("@elaraai/east").FunctionType<[OptionType<import("@elaraai/east").SetType<StringType>>], import("@elaraai/east").NullType>;
618
+ readonly select: import("@elaraai/east").FunctionType<[OptionType<IntegerType>], import("@elaraai/east").NullType>;
619
+ readonly isActive: import("@elaraai/east").FunctionType<[], BooleanType>;
620
+ readonly activeCount: import("@elaraai/east").FunctionType<[], IntegerType>;
621
+ readonly dimensions: import("@elaraai/east").FunctionType<[], ArrayType<StructType<{
622
+ readonly fieldId: StringType;
623
+ readonly label: StringType;
624
+ }>>>;
625
+ readonly fields: import("@elaraai/east").FunctionType<[], ArrayType<StructType<{
626
+ readonly fieldId: StringType;
627
+ readonly label: StringType;
628
+ readonly kind: StringType;
629
+ readonly hints: ArrayType<StringType>;
630
+ readonly format: OptionType<VariantType<{
631
+ readonly number: import("@elaraai/east").NullType;
632
+ readonly currency: StructType<{
633
+ readonly code: StringType;
634
+ readonly compact: BooleanType;
635
+ }>;
636
+ readonly percent: import("@elaraai/east").NullType;
637
+ readonly compact: import("@elaraai/east").NullType;
638
+ readonly date: StringType;
639
+ readonly time: StringType;
640
+ readonly datetime: StringType;
641
+ }>>;
642
+ }>>>;
643
+ readonly searchFieldIds: import("@elaraai/east").FunctionType<[], ArrayType<StringType>>;
644
+ readonly rangeFieldId: import("@elaraai/east").FunctionType<[], OptionType<StringType>>;
645
+ readonly totalCount: import("@elaraai/east").FunctionType<[], IntegerType>;
646
+ readonly resultCount: import("@elaraai/east").FunctionType<[], IntegerType>;
647
+ readonly groups: import("@elaraai/east").FunctionType<[], ArrayType<StructType<{
648
+ readonly key: StringType;
649
+ readonly count: IntegerType;
650
+ readonly color: StringType;
651
+ }>>>;
652
+ readonly series: import("@elaraai/east").FunctionType<[StringType, StringType], ArrayType<StructType<{
653
+ readonly key: StringType;
654
+ readonly color: StringType;
655
+ readonly points: ArrayType<StructType<{
656
+ readonly x: VariantType<{
657
+ readonly category: StringType;
658
+ readonly number: FloatType;
659
+ readonly time: DateTimeType;
660
+ }>;
661
+ readonly value: FloatType;
662
+ readonly size: OptionType<FloatType>;
663
+ readonly color: OptionType<StringType>;
664
+ }>>;
665
+ }>>>;
666
+ readonly matches: import("@elaraai/east").FunctionType<[], ArrayType<StructType<{
667
+ readonly id: StringType;
668
+ readonly label: StringType;
669
+ readonly meta: OptionType<StringType>;
670
+ }>>>;
671
+ readonly cohortCounts: import("@elaraai/east").FunctionType<[], import("@elaraai/east").DictType<StringType, IntegerType>>;
672
+ readonly toggleFilter: import("@elaraai/east").FunctionType<[VariantType<{
673
+ readonly string: StructType<{
674
+ readonly fieldId: StringType;
675
+ readonly op: VariantType<{
676
+ readonly eq: StringType;
677
+ readonly neq: StringType;
678
+ readonly in: import("@elaraai/east").SetType<StringType>;
679
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
680
+ readonly contains: StringType;
681
+ readonly matches: StringType;
682
+ readonly startsWith: StringType;
683
+ readonly endsWith: StringType;
684
+ readonly isEmpty: import("@elaraai/east").NullType;
685
+ readonly isNotEmpty: import("@elaraai/east").NullType;
686
+ }>;
687
+ }>;
688
+ readonly integer: StructType<{
689
+ readonly fieldId: StringType;
690
+ readonly op: VariantType<{
691
+ readonly eq: IntegerType;
692
+ readonly neq: IntegerType;
693
+ readonly lt: IntegerType;
694
+ readonly lte: IntegerType;
695
+ readonly gt: IntegerType;
696
+ readonly gte: IntegerType;
697
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
698
+ }>;
699
+ }>;
700
+ readonly float: StructType<{
701
+ readonly fieldId: StringType;
702
+ readonly op: VariantType<{
703
+ readonly lt: FloatType;
704
+ readonly lte: FloatType;
705
+ readonly gt: FloatType;
706
+ readonly gte: FloatType;
707
+ }>;
708
+ }>;
709
+ readonly datetime: StructType<{
710
+ readonly fieldId: StringType;
711
+ readonly op: VariantType<{
712
+ readonly before: DateTimeType;
713
+ readonly after: DateTimeType;
714
+ readonly between: StructType<{
715
+ readonly from: DateTimeType;
716
+ readonly to: DateTimeType;
717
+ }>;
718
+ }>;
719
+ }>;
720
+ readonly boolean: StructType<{
721
+ readonly fieldId: StringType;
722
+ readonly op: VariantType<{
723
+ readonly is: BooleanType;
724
+ }>;
725
+ }>;
726
+ }>], import("@elaraai/east").NullType>;
727
+ readonly facetGroups: import("@elaraai/east").FunctionType<[], ArrayType<StructType<{
728
+ readonly key: StringType;
729
+ readonly count: IntegerType;
730
+ readonly color: StringType;
731
+ }>>>;
732
+ readonly setResolution: import("@elaraai/east").FunctionType<[OptionType<VariantType<{
733
+ readonly auto: import("@elaraai/east").NullType;
734
+ readonly hour: import("@elaraai/east").NullType;
735
+ readonly day: import("@elaraai/east").NullType;
736
+ readonly week: import("@elaraai/east").NullType;
737
+ readonly month: import("@elaraai/east").NullType;
738
+ readonly quarter: import("@elaraai/east").NullType;
739
+ readonly year: import("@elaraai/east").NullType;
740
+ }>>], import("@elaraai/east").NullType>;
741
+ }>;
742
+ readonly affordances: ArrayType<VariantType<{
743
+ readonly filter: import("@elaraai/east").NullType;
744
+ readonly search: import("@elaraai/east").NullType;
745
+ readonly breakdown: import("@elaraai/east").NullType;
746
+ readonly range: import("@elaraai/east").NullType;
747
+ readonly cohort: import("@elaraai/east").NullType;
748
+ readonly brush: import("@elaraai/east").NullType;
749
+ readonly presets: import("@elaraai/east").NullType;
750
+ readonly legend: import("@elaraai/east").NullType;
751
+ readonly resolution: import("@elaraai/east").NullType;
752
+ readonly summary: import("@elaraai/east").NullType;
753
+ }>>;
754
+ }>>;
755
+ readonly children: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
756
+ }>;
757
+ readonly group: StructType<{
758
+ readonly left: FloatType;
759
+ readonly top: FloatType;
760
+ readonly children: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
761
+ }>;
762
+ readonly linePath: StructType<{
763
+ readonly points: ArrayType<StructType<{
764
+ readonly x: VariantType<{
765
+ readonly category: StringType;
766
+ readonly number: FloatType;
767
+ readonly time: DateTimeType;
768
+ }>;
769
+ readonly value: FloatType;
770
+ readonly size: OptionType<FloatType>;
771
+ readonly color: OptionType<StringType>;
772
+ }>>;
773
+ readonly stroke: StringType;
774
+ readonly strokeWidth: OptionType<FloatType>;
775
+ readonly curve: OptionType<VariantType<{
776
+ readonly monotoneX: import("@elaraai/east").NullType;
777
+ readonly linear: import("@elaraai/east").NullType;
778
+ readonly natural: import("@elaraai/east").NullType;
779
+ readonly step: import("@elaraai/east").NullType;
780
+ readonly stepBefore: import("@elaraai/east").NullType;
781
+ readonly stepAfter: import("@elaraai/east").NullType;
782
+ }>>;
783
+ readonly dashArray: OptionType<StringType>;
784
+ readonly opacity: OptionType<FloatType>;
785
+ }>;
786
+ readonly area: StructType<{
787
+ readonly points: ArrayType<StructType<{
788
+ readonly x: VariantType<{
789
+ readonly category: StringType;
790
+ readonly number: FloatType;
791
+ readonly time: DateTimeType;
792
+ }>;
793
+ readonly value: FloatType;
794
+ readonly size: OptionType<FloatType>;
795
+ readonly color: OptionType<StringType>;
796
+ }>>;
797
+ readonly fill: StringType;
798
+ readonly fillOpacity: OptionType<FloatType>;
799
+ readonly stroke: OptionType<StringType>;
800
+ readonly strokeWidth: OptionType<FloatType>;
801
+ readonly curve: OptionType<VariantType<{
802
+ readonly monotoneX: import("@elaraai/east").NullType;
803
+ readonly linear: import("@elaraai/east").NullType;
804
+ readonly natural: import("@elaraai/east").NullType;
805
+ readonly step: import("@elaraai/east").NullType;
806
+ readonly stepBefore: import("@elaraai/east").NullType;
807
+ readonly stepAfter: import("@elaraai/east").NullType;
808
+ }>>;
809
+ }>;
810
+ readonly bandArea: StructType<{
811
+ readonly data: ArrayType<StructType<{
812
+ readonly key: StringType;
813
+ readonly color: StringType;
814
+ readonly points: ArrayType<StructType<{
815
+ readonly x: VariantType<{
816
+ readonly category: StringType;
817
+ readonly number: FloatType;
818
+ readonly time: DateTimeType;
819
+ }>;
820
+ readonly low: FloatType;
821
+ readonly high: FloatType;
822
+ }>>;
823
+ }>>;
824
+ readonly curve: OptionType<VariantType<{
825
+ readonly monotoneX: import("@elaraai/east").NullType;
826
+ readonly linear: import("@elaraai/east").NullType;
827
+ readonly natural: import("@elaraai/east").NullType;
828
+ readonly step: import("@elaraai/east").NullType;
829
+ readonly stepBefore: import("@elaraai/east").NullType;
830
+ readonly stepAfter: import("@elaraai/east").NullType;
831
+ }>>;
832
+ readonly fillOpacity: OptionType<FloatType>;
833
+ }>;
834
+ readonly bars: StructType<{
835
+ readonly points: ArrayType<StructType<{
836
+ readonly x: VariantType<{
837
+ readonly category: StringType;
838
+ readonly number: FloatType;
839
+ readonly time: DateTimeType;
840
+ }>;
841
+ readonly value: FloatType;
842
+ readonly size: OptionType<FloatType>;
843
+ readonly color: OptionType<StringType>;
844
+ }>>;
845
+ readonly fill: StringType;
846
+ readonly fillOpacity: OptionType<FloatType>;
847
+ readonly radius: OptionType<FloatType>;
848
+ }>;
849
+ readonly points: StructType<{
850
+ readonly points: ArrayType<StructType<{
851
+ readonly x: VariantType<{
852
+ readonly category: StringType;
853
+ readonly number: FloatType;
854
+ readonly time: DateTimeType;
855
+ }>;
856
+ readonly value: FloatType;
857
+ readonly size: OptionType<FloatType>;
858
+ readonly color: OptionType<StringType>;
859
+ }>>;
860
+ readonly fill: StringType;
861
+ readonly radius: OptionType<FloatType>;
862
+ readonly stroke: OptionType<StringType>;
863
+ readonly strokeWidth: OptionType<FloatType>;
864
+ }>;
865
+ readonly rule: StructType<{
866
+ readonly axis: VariantType<{
867
+ readonly x: import("@elaraai/east").NullType;
868
+ readonly y: import("@elaraai/east").NullType;
869
+ }>;
870
+ readonly at: StringType;
871
+ readonly stroke: StringType;
872
+ readonly dashArray: OptionType<StringType>;
873
+ readonly label: OptionType<StringType>;
874
+ }>;
875
+ readonly referenceDot: StructType<{
876
+ readonly x: VariantType<{
877
+ readonly category: StringType;
878
+ readonly number: FloatType;
879
+ readonly time: DateTimeType;
880
+ }>;
881
+ readonly y: FloatType;
882
+ readonly fill: OptionType<StringType>;
883
+ readonly radius: OptionType<FloatType>;
884
+ readonly stroke: OptionType<StringType>;
885
+ readonly strokeWidth: OptionType<FloatType>;
886
+ readonly label: OptionType<StringType>;
887
+ }>;
888
+ readonly referenceArea: StructType<{
889
+ readonly x1: OptionType<VariantType<{
890
+ readonly category: StringType;
891
+ readonly number: FloatType;
892
+ readonly time: DateTimeType;
893
+ }>>;
894
+ readonly x2: OptionType<VariantType<{
895
+ readonly category: StringType;
896
+ readonly number: FloatType;
897
+ readonly time: DateTimeType;
898
+ }>>;
899
+ readonly y1: OptionType<FloatType>;
900
+ readonly y2: OptionType<FloatType>;
901
+ readonly fill: OptionType<StringType>;
902
+ readonly fillOpacity: OptionType<FloatType>;
903
+ readonly stroke: OptionType<StringType>;
904
+ readonly label: OptionType<StringType>;
905
+ }>;
906
+ readonly text: StructType<{
907
+ readonly point: StructType<{
908
+ readonly x: VariantType<{
909
+ readonly category: StringType;
910
+ readonly number: FloatType;
911
+ readonly time: DateTimeType;
912
+ }>;
913
+ readonly value: FloatType;
914
+ readonly size: OptionType<FloatType>;
915
+ readonly color: OptionType<StringType>;
916
+ }>;
917
+ readonly text: StringType;
918
+ readonly anchor: OptionType<VariantType<{
919
+ readonly start: import("@elaraai/east").NullType;
920
+ readonly middle: import("@elaraai/east").NullType;
921
+ readonly end: import("@elaraai/east").NullType;
922
+ }>>;
923
+ readonly fill: OptionType<StringType>;
924
+ readonly fontSize: OptionType<FloatType>;
925
+ readonly fontWeight: OptionType<FloatType>;
926
+ }>;
927
+ readonly axisBottom: StructType<{
928
+ readonly label: OptionType<StringType>;
929
+ readonly numTicks: OptionType<FloatType>;
930
+ readonly tickValues: OptionType<VariantType<{
931
+ readonly number: ArrayType<FloatType>;
932
+ readonly time: ArrayType<DateTimeType>;
933
+ }>>;
934
+ readonly hideTicks: OptionType<BooleanType>;
935
+ readonly hideLine: OptionType<BooleanType>;
936
+ readonly domain: OptionType<VariantType<{
937
+ readonly number: StructType<{
938
+ readonly min: FloatType;
939
+ readonly max: FloatType;
940
+ }>;
941
+ readonly time: StructType<{
942
+ readonly min: DateTimeType;
943
+ readonly max: DateTimeType;
944
+ }>;
945
+ }>>;
946
+ readonly tickFormat: OptionType<VariantType<{
947
+ readonly number: import("@elaraai/east").NullType;
948
+ readonly currency: StructType<{
949
+ readonly code: StringType;
950
+ readonly compact: BooleanType;
951
+ }>;
952
+ readonly percent: import("@elaraai/east").NullType;
953
+ readonly compact: import("@elaraai/east").NullType;
954
+ readonly date: StringType;
955
+ readonly time: StringType;
956
+ readonly datetime: StringType;
957
+ }>>;
958
+ readonly tickStyle: OptionType<StructType<{
959
+ readonly fontSize: OptionType<StringType>;
960
+ readonly fontFamily: OptionType<VariantType<{
961
+ readonly sans: import("@elaraai/east").NullType;
962
+ readonly serif: import("@elaraai/east").NullType;
963
+ readonly mono: import("@elaraai/east").NullType;
964
+ }>>;
965
+ readonly fontWeight: OptionType<VariantType<{
966
+ readonly normal: import("@elaraai/east").NullType;
967
+ readonly bold: import("@elaraai/east").NullType;
968
+ readonly semibold: import("@elaraai/east").NullType;
969
+ readonly medium: import("@elaraai/east").NullType;
970
+ readonly light: import("@elaraai/east").NullType;
971
+ }>>;
972
+ readonly color: OptionType<StringType>;
973
+ readonly letterSpacing: OptionType<StringType>;
974
+ }>>;
975
+ readonly titleStyle: OptionType<StructType<{
976
+ readonly fontSize: OptionType<StringType>;
977
+ readonly fontFamily: OptionType<VariantType<{
978
+ readonly sans: import("@elaraai/east").NullType;
979
+ readonly serif: import("@elaraai/east").NullType;
980
+ readonly mono: import("@elaraai/east").NullType;
981
+ }>>;
982
+ readonly fontWeight: OptionType<VariantType<{
983
+ readonly normal: import("@elaraai/east").NullType;
984
+ readonly bold: import("@elaraai/east").NullType;
985
+ readonly semibold: import("@elaraai/east").NullType;
986
+ readonly medium: import("@elaraai/east").NullType;
987
+ readonly light: import("@elaraai/east").NullType;
988
+ }>>;
989
+ readonly color: OptionType<StringType>;
990
+ readonly letterSpacing: OptionType<StringType>;
991
+ }>>;
992
+ readonly titleGap: OptionType<FloatType>;
993
+ }>;
994
+ readonly axisLeft: StructType<{
995
+ readonly label: OptionType<StringType>;
996
+ readonly numTicks: OptionType<FloatType>;
997
+ readonly tickValues: OptionType<VariantType<{
998
+ readonly number: ArrayType<FloatType>;
999
+ readonly time: ArrayType<DateTimeType>;
1000
+ }>>;
1001
+ readonly hideTicks: OptionType<BooleanType>;
1002
+ readonly hideLine: OptionType<BooleanType>;
1003
+ readonly domain: OptionType<VariantType<{
1004
+ readonly number: StructType<{
1005
+ readonly min: FloatType;
1006
+ readonly max: FloatType;
1007
+ }>;
1008
+ readonly time: StructType<{
1009
+ readonly min: DateTimeType;
1010
+ readonly max: DateTimeType;
1011
+ }>;
1012
+ }>>;
1013
+ readonly tickFormat: OptionType<VariantType<{
1014
+ readonly number: import("@elaraai/east").NullType;
1015
+ readonly currency: StructType<{
1016
+ readonly code: StringType;
1017
+ readonly compact: BooleanType;
1018
+ }>;
1019
+ readonly percent: import("@elaraai/east").NullType;
1020
+ readonly compact: import("@elaraai/east").NullType;
1021
+ readonly date: StringType;
1022
+ readonly time: StringType;
1023
+ readonly datetime: StringType;
1024
+ }>>;
1025
+ readonly tickStyle: OptionType<StructType<{
1026
+ readonly fontSize: OptionType<StringType>;
1027
+ readonly fontFamily: OptionType<VariantType<{
1028
+ readonly sans: import("@elaraai/east").NullType;
1029
+ readonly serif: import("@elaraai/east").NullType;
1030
+ readonly mono: import("@elaraai/east").NullType;
1031
+ }>>;
1032
+ readonly fontWeight: OptionType<VariantType<{
1033
+ readonly normal: import("@elaraai/east").NullType;
1034
+ readonly bold: import("@elaraai/east").NullType;
1035
+ readonly semibold: import("@elaraai/east").NullType;
1036
+ readonly medium: import("@elaraai/east").NullType;
1037
+ readonly light: import("@elaraai/east").NullType;
1038
+ }>>;
1039
+ readonly color: OptionType<StringType>;
1040
+ readonly letterSpacing: OptionType<StringType>;
1041
+ }>>;
1042
+ readonly titleStyle: OptionType<StructType<{
1043
+ readonly fontSize: OptionType<StringType>;
1044
+ readonly fontFamily: OptionType<VariantType<{
1045
+ readonly sans: import("@elaraai/east").NullType;
1046
+ readonly serif: import("@elaraai/east").NullType;
1047
+ readonly mono: import("@elaraai/east").NullType;
1048
+ }>>;
1049
+ readonly fontWeight: OptionType<VariantType<{
1050
+ readonly normal: import("@elaraai/east").NullType;
1051
+ readonly bold: import("@elaraai/east").NullType;
1052
+ readonly semibold: import("@elaraai/east").NullType;
1053
+ readonly medium: import("@elaraai/east").NullType;
1054
+ readonly light: import("@elaraai/east").NullType;
1055
+ }>>;
1056
+ readonly color: OptionType<StringType>;
1057
+ readonly letterSpacing: OptionType<StringType>;
1058
+ }>>;
1059
+ readonly titleGap: OptionType<FloatType>;
1060
+ }>;
1061
+ readonly axisRight: StructType<{
1062
+ readonly label: OptionType<StringType>;
1063
+ readonly numTicks: OptionType<FloatType>;
1064
+ readonly tickValues: OptionType<VariantType<{
1065
+ readonly number: ArrayType<FloatType>;
1066
+ readonly time: ArrayType<DateTimeType>;
1067
+ }>>;
1068
+ readonly hideTicks: OptionType<BooleanType>;
1069
+ readonly hideLine: OptionType<BooleanType>;
1070
+ readonly domain: OptionType<VariantType<{
1071
+ readonly number: StructType<{
1072
+ readonly min: FloatType;
1073
+ readonly max: FloatType;
1074
+ }>;
1075
+ readonly time: StructType<{
1076
+ readonly min: DateTimeType;
1077
+ readonly max: DateTimeType;
1078
+ }>;
1079
+ }>>;
1080
+ readonly tickFormat: OptionType<VariantType<{
1081
+ readonly number: import("@elaraai/east").NullType;
1082
+ readonly currency: StructType<{
1083
+ readonly code: StringType;
1084
+ readonly compact: BooleanType;
1085
+ }>;
1086
+ readonly percent: import("@elaraai/east").NullType;
1087
+ readonly compact: import("@elaraai/east").NullType;
1088
+ readonly date: StringType;
1089
+ readonly time: StringType;
1090
+ readonly datetime: StringType;
1091
+ }>>;
1092
+ readonly tickStyle: OptionType<StructType<{
1093
+ readonly fontSize: OptionType<StringType>;
1094
+ readonly fontFamily: OptionType<VariantType<{
1095
+ readonly sans: import("@elaraai/east").NullType;
1096
+ readonly serif: import("@elaraai/east").NullType;
1097
+ readonly mono: import("@elaraai/east").NullType;
1098
+ }>>;
1099
+ readonly fontWeight: OptionType<VariantType<{
1100
+ readonly normal: import("@elaraai/east").NullType;
1101
+ readonly bold: import("@elaraai/east").NullType;
1102
+ readonly semibold: import("@elaraai/east").NullType;
1103
+ readonly medium: import("@elaraai/east").NullType;
1104
+ readonly light: import("@elaraai/east").NullType;
1105
+ }>>;
1106
+ readonly color: OptionType<StringType>;
1107
+ readonly letterSpacing: OptionType<StringType>;
1108
+ }>>;
1109
+ readonly titleStyle: OptionType<StructType<{
1110
+ readonly fontSize: OptionType<StringType>;
1111
+ readonly fontFamily: OptionType<VariantType<{
1112
+ readonly sans: import("@elaraai/east").NullType;
1113
+ readonly serif: import("@elaraai/east").NullType;
1114
+ readonly mono: import("@elaraai/east").NullType;
1115
+ }>>;
1116
+ readonly fontWeight: OptionType<VariantType<{
1117
+ readonly normal: import("@elaraai/east").NullType;
1118
+ readonly bold: import("@elaraai/east").NullType;
1119
+ readonly semibold: import("@elaraai/east").NullType;
1120
+ readonly medium: import("@elaraai/east").NullType;
1121
+ readonly light: import("@elaraai/east").NullType;
1122
+ }>>;
1123
+ readonly color: OptionType<StringType>;
1124
+ readonly letterSpacing: OptionType<StringType>;
1125
+ }>>;
1126
+ readonly titleGap: OptionType<FloatType>;
1127
+ }>;
1128
+ readonly gridRows: StructType<{
1129
+ readonly numTicks: OptionType<FloatType>;
1130
+ readonly dashArray: OptionType<StringType>;
1131
+ }>;
1132
+ readonly gridColumns: StructType<{
1133
+ readonly numTicks: OptionType<FloatType>;
1134
+ readonly dashArray: OptionType<StringType>;
1135
+ }>;
1136
+ readonly series: StructType<{
1137
+ readonly data: ArrayType<StructType<{
1138
+ readonly key: StringType;
1139
+ readonly color: StringType;
1140
+ readonly points: ArrayType<StructType<{
1141
+ readonly x: VariantType<{
1142
+ readonly category: StringType;
1143
+ readonly number: FloatType;
1144
+ readonly time: DateTimeType;
1145
+ }>;
1146
+ readonly value: FloatType;
1147
+ readonly size: OptionType<FloatType>;
1148
+ readonly color: OptionType<StringType>;
1149
+ }>>;
1150
+ }>>;
1151
+ readonly mark: VariantType<{
1152
+ readonly line: import("@elaraai/east").NullType;
1153
+ readonly bar: import("@elaraai/east").NullType;
1154
+ readonly area: import("@elaraai/east").NullType;
1155
+ readonly scatter: import("@elaraai/east").NullType;
1156
+ }>;
1157
+ readonly curve: OptionType<VariantType<{
1158
+ readonly monotoneX: import("@elaraai/east").NullType;
1159
+ readonly linear: import("@elaraai/east").NullType;
1160
+ readonly natural: import("@elaraai/east").NullType;
1161
+ readonly step: import("@elaraai/east").NullType;
1162
+ readonly stepBefore: import("@elaraai/east").NullType;
1163
+ readonly stepAfter: import("@elaraai/east").NullType;
1164
+ }>>;
1165
+ readonly stackId: OptionType<StringType>;
1166
+ readonly stackOffset: OptionType<VariantType<{
1167
+ readonly none: import("@elaraai/east").NullType;
1168
+ readonly expand: import("@elaraai/east").NullType;
1169
+ }>>;
1170
+ readonly axis: OptionType<VariantType<{
1171
+ readonly left: import("@elaraai/east").NullType;
1172
+ readonly right: import("@elaraai/east").NullType;
1173
+ }>>;
1174
+ readonly strokeWidth: OptionType<FloatType>;
1175
+ readonly dashArray: OptionType<StringType>;
1176
+ readonly dots: OptionType<BooleanType>;
1177
+ readonly fillOpacity: OptionType<FloatType>;
1178
+ readonly radius: OptionType<FloatType>;
1179
+ readonly opacity: OptionType<FloatType>;
1180
+ readonly legend: OptionType<BooleanType>;
1181
+ readonly tooltip: OptionType<BooleanType>;
1182
+ }>;
1183
+ readonly pie: StructType<{
1184
+ readonly data: ArrayType<StructType<{
1185
+ readonly key: StringType;
1186
+ readonly value: FloatType;
1187
+ readonly color: OptionType<StringType>;
1188
+ }>>;
1189
+ readonly top: OptionType<IntegerType>;
1190
+ readonly total: OptionType<FloatType>;
1191
+ readonly other: OptionType<StringType>;
1192
+ readonly donut: BooleanType;
1193
+ readonly format: OptionType<VariantType<{
1194
+ readonly number: import("@elaraai/east").NullType;
1195
+ readonly currency: StructType<{
1196
+ readonly code: StringType;
1197
+ readonly compact: BooleanType;
1198
+ }>;
1199
+ readonly percent: import("@elaraai/east").NullType;
1200
+ readonly compact: import("@elaraai/east").NullType;
1201
+ readonly date: StringType;
1202
+ readonly time: StringType;
1203
+ readonly datetime: StringType;
1204
+ }>>;
1205
+ readonly caption: OptionType<StringType>;
1206
+ readonly note: OptionType<StringType>;
1207
+ readonly legend: OptionType<VariantType<{
1208
+ readonly values: import("@elaraai/east").NullType;
1209
+ readonly names: import("@elaraai/east").NullType;
1210
+ readonly hidden: import("@elaraai/east").NullType;
1211
+ }>>;
1212
+ }>;
1213
+ }>>;
1214
+ export type ChartSpecType = typeof ChartSpecType;
1215
+ /** A `ChartSpec` node value (one arm of {@link ChartSpecType}). */
1216
+ export type ChartSpecValue = ExprType<ChartSpecType>;
1217
+ /**
1218
+ * Options for {@link chartFrame}.
1219
+ *
1220
+ * @remarks
1221
+ * The x/y scale kinds default to `band` / `linear`; the high-level mark builders
1222
+ * set `xScale` to match the data's coordinate type ({@link ChartXType}).
1223
+ *
1224
+ * @property height - Plot height in px
1225
+ * @property width - Plot width in px; omit for responsive (fills the container)
1226
+ * @property margin - Margins around the plotting area; the chart rules' by default (24 above, 24 after, 28 below, 44 before)
1227
+ * @property xScale - X-scale kind
1228
+ * @property yScale - Y-scale kind
1229
+ * @property yScale2 - Secondary (right) y-scale kind; omit for a single y-axis
1230
+ * @property tooltip - Enable the in-chart tooltip
1231
+ * @property legend - Enable the in-chart legend
1232
+ */
1233
+ export interface ChartFrameOptions {
1234
+ /** Plot height in px. */
1235
+ height: SubtypeExprOrValue<FloatType>;
1236
+ /** Plot width in px; omit for responsive (fills the container). */
1237
+ width?: SubtypeExprOrValue<FloatType>;
1238
+ /** Margins around the plotting area; the chart rules' by default (24 above, 24 after, 28 below, 44 before), a side widened when its labels need more. */
1239
+ margin?: {
1240
+ top: number;
1241
+ right: number;
1242
+ bottom: number;
1243
+ left: number;
1244
+ };
1245
+ /** X-scale kind (default `band`). */
1246
+ xScale?: "band" | "linear" | "time";
1247
+ /** Y-scale kind (default `linear`). A `band` y flips the frame horizontal
1248
+ * (#249): the points' coordinate keys band the y axis and their values
1249
+ * measure along a linear x. */
1250
+ yScale?: "band" | "linear" | "time";
1251
+ /** Secondary (right) y-scale kind; omit for a single y-axis. */
1252
+ yScale2?: "band" | "linear" | "time";
1253
+ /** Enable the in-chart tooltip. */
1254
+ tooltip?: boolean;
1255
+ /** Enable the in-chart legend. */
1256
+ legend?: boolean;
1257
+ /** Slice chrome — the bound handle + rail affordances (set by `Chart.Root`'s `slice` option). */
1258
+ slice?: SubtypeExprOrValue<SliceChromeType>;
1259
+ }
1260
+ /**
1261
+ * Creates a sized plotting `frame` node — the root of a chart tree.
1262
+ *
1263
+ * @param children - The marks / axes / grids drawn inside the frame
1264
+ * @param options - Sizing, scale kinds, and tooltip / legend toggles (see {@link ChartFrameOptions})
1265
+ * @returns A `frame` {@link ChartSpecValue}
1266
+ *
1267
+ * @remarks
1268
+ * Owns the x/y scale kinds and child nodes; the renderer derives each scale's
1269
+ * domain from the descendant points. A secondary `yScale2` enables a right axis
1270
+ * that series bound with `axis: "right"` scale against.
1271
+ */
1272
+ export declare function chartFrame(children: Array<ChartSpecValue>, options: ChartFrameOptions): ChartSpecValue;
1273
+ /**
1274
+ * Options for {@link chartSeries} — the styling that applies to a whole layer.
1275
+ *
1276
+ * @remarks
1277
+ * Mirrors the optional fields of {@link ChartSeriesMarkType}. Per-series colours
1278
+ * live on each series in `data`; these apply across the layer.
1279
+ *
1280
+ * @property curve - Line/area interpolation
1281
+ * @property stackId - Group id; layers sharing one stack accumulate together
1282
+ * @property stackOffset - Stacking offset for the group (`none` or `expand`)
1283
+ * @property axis - Which y-axis the layer scales against
1284
+ * @property strokeWidth - Stroke width for line marks and mark outlines
1285
+ * @property dashArray - SVG dash pattern for line marks
1286
+ * @property dots - Draw point markers on line marks
1287
+ * @property fillOpacity - Fill opacity for area and bar marks
1288
+ * @property radius - Marker radius for scatter marks
1289
+ * @property opacity - Stroke opacity for line, area, and scatter marks (distinct from `fillOpacity`)
1290
+ * @property legend - Include this layer's series in the legend
1291
+ * @property tooltip - Include this layer's series in the tooltip
1292
+ */
1293
+ export interface ChartSeriesOptions {
1294
+ /** Line/area interpolation. */
1295
+ curve?: SubtypeExprOrValue<ChartCurveType> | ChartCurveLiteral;
1296
+ /** Group id; layers sharing one stack accumulate together. */
1297
+ stackId?: SubtypeExprOrValue<StringType>;
1298
+ /** Stacking offset for the group. */
1299
+ stackOffset?: SubtypeExprOrValue<ChartStackOffsetType> | ChartStackOffsetLiteral;
1300
+ /** Which y-axis the layer scales against. */
1301
+ axis?: SubtypeExprOrValue<YAxisSideType> | YAxisSideLiteral;
1302
+ /** Stroke width for line marks and mark outlines. */
1303
+ strokeWidth?: SubtypeExprOrValue<FloatType>;
1304
+ /** SVG dash pattern for line marks. */
1305
+ dashArray?: SubtypeExprOrValue<StringType>;
1306
+ /** Draw point markers on line marks. */
1307
+ dots?: SubtypeExprOrValue<BooleanType>;
1308
+ /** Fill opacity for area and bar marks. */
1309
+ fillOpacity?: SubtypeExprOrValue<FloatType>;
1310
+ /** Marker radius for scatter marks. */
1311
+ radius?: SubtypeExprOrValue<FloatType>;
1312
+ /** Stroke opacity 0–1 for line and scatter marks (distinct from `fillOpacity`). */
1313
+ opacity?: SubtypeExprOrValue<FloatType>;
1314
+ /** Include this layer's series in the legend (default true). */
1315
+ legend?: SubtypeExprOrValue<BooleanType>;
1316
+ /** Include this layer's series in the tooltip (default true). */
1317
+ tooltip?: SubtypeExprOrValue<BooleanType>;
1318
+ }
1319
+ /**
1320
+ * Creates a multi-series `series` node — one `mark` per coloured series in `data`.
1321
+ *
1322
+ * @param data - The coloured series to draw
1323
+ * @param mark - The mark drawn per series (`line` / `bar` / `area` / `scatter`)
1324
+ * @param options - Layer styling (see {@link ChartSeriesOptions})
1325
+ * @returns A `series` {@link ChartSpecValue}
1326
+ *
1327
+ * @remarks
1328
+ * A homogeneous layer is one node; a composed chart places several `series`
1329
+ * nodes (with differing marks) in the same frame. Stacking, interpolation and
1330
+ * the y-axis binding ride on the node.
1331
+ */
1332
+ export declare function chartSeries(data: SubtypeExprOrValue<ChartSeriesArrayType>, mark: "line" | "bar" | "area" | "scatter", options?: ChartSeriesOptions): ChartSpecValue;
1333
+ /**
1334
+ * Creates a filled `bandArea` node — one band per series in `data`.
1335
+ *
1336
+ * @param data - The coloured band series to draw (low/high per x)
1337
+ * @param options - Edge interpolation and fill opacity
1338
+ * @returns A `bandArea` {@link ChartSpecValue}
1339
+ *
1340
+ * @remarks
1341
+ * The area-range analogue of {@link chartSeries}; backs `Chart.Band`.
1342
+ */
1343
+ export declare function chartBandArea(data: SubtypeExprOrValue<ChartBandSeriesArrayType>, options?: {
1344
+ curve?: SubtypeExprOrValue<ChartCurveType> | ChartCurveLiteral;
1345
+ fillOpacity?: SubtypeExprOrValue<FloatType>;
1346
+ }): ChartSpecValue;
1347
+ /**
1348
+ * Options for {@link chartPie}.
1349
+ *
1350
+ * @property top - How many slices are drawn before the rest fold into Other (default 4)
1351
+ * @property total - The whole the slices are shares of, when they are not all of it
1352
+ * @property other - Other's label in the legend (default "Other")
1353
+ * @property donut - Draw a ring with the total in its centre
1354
+ * @property format - How a value prints in the legend and the centre
1355
+ * @property caption - What a donut's total is, under it in the centre
1356
+ * @property note - A line under the legend's rows, saying what the values are
1357
+ * @property legend - What the legend shows: each slice's value and share (the default), its name alone, or no legend
1358
+ */
1359
+ export interface ChartPieOptions {
1360
+ /** How many slices are drawn before the rest fold into Other (default 4). */
1361
+ top?: SubtypeExprOrValue<IntegerType>;
1362
+ /** The whole the slices are shares of, when they are not all of it: what is past their sum is Other's. */
1363
+ total?: SubtypeExprOrValue<FloatType>;
1364
+ /** Other's label in the legend (default "Other"). */
1365
+ other?: SubtypeExprOrValue<StringType>;
1366
+ /** Draw a ring, its total in the middle. */
1367
+ donut?: SubtypeExprOrValue<BooleanType>;
1368
+ /** How a value prints in the legend and the centre. */
1369
+ format?: SubtypeExprOrValue<ChartTickFormatType>;
1370
+ /** What a donut's total is, under it in the centre — `units · total`. */
1371
+ caption?: SubtypeExprOrValue<StringType>;
1372
+ /** A line under the legend's rows, saying what the values are — `AUD · share of 3.84M`. */
1373
+ note?: SubtypeExprOrValue<StringType>;
1374
+ /** What the legend shows — `"values"` (the default), `"names"` or `"hidden"`, or an expression. */
1375
+ legend?: SubtypeExprOrValue<ChartPieLegendType> | ChartPieLegendLiteral;
1376
+ }
1377
+ /**
1378
+ * Creates a `pie` node — shares of one total, with its legend.
1379
+ *
1380
+ * @param data - The slices, in any order
1381
+ * @param options - How many slices before Other, the total, Other's label, a donut, the value format, a donut's caption, the legend's note and what the legend shows (see {@link ChartPieOptions})
1382
+ * @returns A `pie` {@link ChartSpecValue}
1383
+ *
1384
+ * @remarks
1385
+ * A pie is the only node of its frame: it has no axes, and the frame's x and
1386
+ * y scales are unused. The renderer draws the slices largest first from
1387
+ * twelve o'clock, the first `top` and then Other for the rest.
1388
+ */
1389
+ export declare function chartPie(data: SubtypeExprOrValue<ChartSliceArrayType>, options?: ChartPieOptions): ChartSpecValue;
1390
+ /**
1391
+ * Typography override for one run of axis text (#315) — flat TS input for
1392
+ * {@link ChartAxisTextStyleType}. Every field optional; string shorthands for
1393
+ * the shared family / weight enums.
1394
+ *
1395
+ * @property fontSize - CSS font size (e.g. `"12px"`)
1396
+ * @property fontFamily - Theme font family — `"sans"` / `"serif"` / `"mono"` or an expression
1397
+ * @property fontWeight - Font weight — `"normal"` / `"medium"` / `"semibold"` / `"bold"` / `"light"` or an expression
1398
+ * @property color - Theme colour token (e.g. `"fg.default"`) or CSS colour
1399
+ * @property letterSpacing - CSS letter spacing (e.g. `"0.04em"`)
1400
+ */
1401
+ export interface ChartAxisTextStyle {
1402
+ /** CSS font size (e.g. `"12px"`). */
1403
+ fontSize?: SubtypeExprOrValue<StringType>;
1404
+ /** Theme font family (resolves through the theme font tokens). */
1405
+ fontFamily?: SubtypeExprOrValue<FontFamilyType> | FontFamilyLiteral;
1406
+ /** Font weight. */
1407
+ fontWeight?: SubtypeExprOrValue<FontWeightType> | FontWeightLiteral;
1408
+ /** Theme colour token (e.g. `"fg.default"`) or a raw CSS colour. */
1409
+ color?: SubtypeExprOrValue<StringType>;
1410
+ /** CSS letter spacing (e.g. `"0.04em"`). */
1411
+ letterSpacing?: SubtypeExprOrValue<StringType>;
1412
+ }
1413
+ /** Options shared by {@link chartAxisBottom} / {@link chartAxisLeft} / {@link chartAxisRight}. */
1414
+ export interface AxisNodeOptions {
1415
+ /** Optional axis caption. */
1416
+ label?: SubtypeExprOrValue<StringType>;
1417
+ /** Suggested tick count (a hint; the scale chooses nice ticks). */
1418
+ numTicks?: SubtypeExprOrValue<FloatType>;
1419
+ /** Explicit tick positions overriding `numTicks` — float domain values on
1420
+ * a linear axis (e.g. integer day ticks `[0,1,2,…]`), or `Date` instants
1421
+ * on a `time` axis (#318; rendered
1422
+ * through the date `tickFormat`). */
1423
+ tickValues?: SubtypeExprOrValue<ArrayType<FloatType>> | SubtypeExprOrValue<ArrayType<DateTimeType>>;
1424
+ /** Hide the small tick marks (labels stay). */
1425
+ hideTicks?: SubtypeExprOrValue<BooleanType>;
1426
+ /** Hide the axis baseline rule. */
1427
+ hideLine?: SubtypeExprOrValue<BooleanType>;
1428
+ /** Explicit `[min, max]` domain for a linear/time axis (see {@link ChartDomainType}). */
1429
+ domain?: SubtypeExprOrValue<ChartDomainType>;
1430
+ /** Tick-label format (see {@link ChartTickFormatType}). */
1431
+ tickFormat?: SubtypeExprOrValue<ChartTickFormatType>;
1432
+ /** Typography override for the tick labels (#315); omit for the spec default. */
1433
+ tickStyle?: ChartAxisTextStyle;
1434
+ /** Typography override for the axis caption (#315); omit for the spec default. */
1435
+ titleStyle?: ChartAxisTextStyle;
1436
+ /** Extra px between the tick labels and the axis caption (#327). Widens the
1437
+ * axis's own margin band (bottom for x, left for y, right for y2) — never the
1438
+ * shared plot gutter — so it cannot shift a gutter-aligned lane. */
1439
+ titleGap?: SubtypeExprOrValue<FloatType>;
1440
+ }
1441
+ /**
1442
+ * Creates the x (bottom) axis from the frame's x scale.
1443
+ *
1444
+ * @param options - Caption, tick count hint, explicit domain, and tick format
1445
+ * @returns An `axisBottom` {@link ChartSpecValue}
1446
+ *
1447
+ * @remarks
1448
+ * The renderer derives ticks from the scale's domain, so a `time` axis chooses
1449
+ * range-appropriate ticks itself; `numTicks` is only a hint and `domain` an
1450
+ * optional override.
1451
+ */
1452
+ export declare function chartAxisBottom(options?: AxisNodeOptions): ChartSpecValue;
1453
+ /**
1454
+ * Creates the primary (left) y axis from the frame's y scale.
1455
+ *
1456
+ * @param options - Caption, tick count hint, explicit domain, and tick format
1457
+ * @returns An `axisLeft` {@link ChartSpecValue}
1458
+ */
1459
+ export declare function chartAxisLeft(options?: AxisNodeOptions): ChartSpecValue;
1460
+ /**
1461
+ * Creates the secondary (right) y axis for a dual-axis chart.
1462
+ *
1463
+ * @param options - Caption, tick count hint, explicit domain, and tick format
1464
+ * @returns An `axisRight` {@link ChartSpecValue}
1465
+ *
1466
+ * @remarks
1467
+ * Pair with `frame.yScale2` and series bound via `axis: "right"`.
1468
+ */
1469
+ export declare function chartAxisRight(options?: AxisNodeOptions): ChartSpecValue;
1470
+ /**
1471
+ * Creates a reference-dot node — a highlighted marker at a data coordinate.
1472
+ *
1473
+ * @param options - The `x` ({@link ChartXType}) / `y` coordinate and marker styling
1474
+ * @returns A `referenceDot` {@link ChartSpecValue}
1475
+ */
1476
+ export declare function chartReferenceDot(options: {
1477
+ x: SubtypeExprOrValue<ChartXType>;
1478
+ y: SubtypeExprOrValue<FloatType>;
1479
+ fill?: SubtypeExprOrValue<StringType>;
1480
+ radius?: SubtypeExprOrValue<FloatType>;
1481
+ stroke?: SubtypeExprOrValue<StringType>;
1482
+ strokeWidth?: SubtypeExprOrValue<FloatType>;
1483
+ label?: SubtypeExprOrValue<StringType>;
1484
+ }): ChartSpecValue;
1485
+ /**
1486
+ * Creates a reference-area node — a shaded region spanning a range on one or both axes.
1487
+ *
1488
+ * @param options - Optional `x1`/`x2` ({@link ChartXType}) and `y1`/`y2` bounds, plus styling
1489
+ * @returns A `referenceArea` {@link ChartSpecValue}
1490
+ *
1491
+ * @remarks
1492
+ * A bound left unset extends to the plot edge.
1493
+ */
1494
+ export declare function chartReferenceArea(options: {
1495
+ x1?: SubtypeExprOrValue<ChartXType>;
1496
+ x2?: SubtypeExprOrValue<ChartXType>;
1497
+ y1?: SubtypeExprOrValue<FloatType>;
1498
+ y2?: SubtypeExprOrValue<FloatType>;
1499
+ fill?: SubtypeExprOrValue<StringType>;
1500
+ fillOpacity?: SubtypeExprOrValue<FloatType>;
1501
+ stroke?: SubtypeExprOrValue<StringType>;
1502
+ label?: SubtypeExprOrValue<StringType>;
1503
+ }): ChartSpecValue;
1504
+ /**
1505
+ * Creates horizontal gridlines at the y ticks.
1506
+ *
1507
+ * @param options - Suggested gridline count and dash pattern
1508
+ * @returns A `gridRows` {@link ChartSpecValue}
1509
+ */
1510
+ export declare function chartGridRows(options?: {
1511
+ numTicks?: number;
1512
+ dashArray?: string;
1513
+ }): ChartSpecValue;
1514
+ /**
1515
+ * Creates vertical gridlines at the x positions.
1516
+ *
1517
+ * @param options - Suggested gridline count and dash pattern
1518
+ * @returns A `gridColumns` {@link ChartSpecValue}
1519
+ */
1520
+ export declare function chartGridColumns(options?: {
1521
+ numTicks?: number;
1522
+ dashArray?: string;
1523
+ }): ChartSpecValue;
1524
+ //# sourceMappingURL=nodes.d.ts.map