@roll-agent/browser-use-agent 0.26.1 → 0.27.1

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 (39) hide show
  1. package/SKILL.md +36 -8
  2. package/dist/browser-observation.d.ts +1 -0
  3. package/dist/execution-visual-feedback.d.ts +61 -0
  4. package/dist/goal/compact-request.d.ts +5 -0
  5. package/dist/goal/contracts.d.ts +1732 -0
  6. package/dist/goal/decisions.d.ts +55 -0
  7. package/dist/goal/dependency-observation.d.ts +7 -0
  8. package/dist/goal/execution-context.d.ts +593 -0
  9. package/dist/goal/form-context.d.ts +639 -0
  10. package/dist/goal/form-handoff.d.ts +152 -0
  11. package/dist/goal/form-loop-progress.d.ts +9 -0
  12. package/dist/goal/form-policy.d.ts +13 -0
  13. package/dist/goal/host.d.ts +6 -0
  14. package/dist/goal/interaction-feedback.d.ts +82 -0
  15. package/dist/goal/loop.d.ts +12 -0
  16. package/dist/goal/observation-retry.d.ts +3 -0
  17. package/dist/goal/observation.d.ts +981 -0
  18. package/dist/goal/operate-handoff.d.ts +3 -0
  19. package/dist/goal/picker-observation.d.ts +56 -0
  20. package/dist/goal/picker-state.d.ts +96 -0
  21. package/dist/goal/reachability.d.ts +2 -0
  22. package/dist/goal/task-evidence.d.ts +33 -0
  23. package/dist/goal/task-freshness.d.ts +86 -0
  24. package/dist/goal/task-loop.d.ts +5 -0
  25. package/dist/goal/task-observation.d.ts +5 -0
  26. package/dist/goal/task-policy.d.ts +174 -0
  27. package/dist/goal/task-progress-policy.d.ts +25 -0
  28. package/dist/goal/task-progress.d.ts +353 -0
  29. package/dist/goal/task-sources.d.ts +13 -0
  30. package/dist/index.js +1 -1
  31. package/dist/native-visual-activity-session.d.ts +38 -1
  32. package/dist/tools/browser-operate.d.ts +252 -0
  33. package/dist/tools/zhipin-diagnose-browser-state.d.ts +4 -4
  34. package/dist/tools/zhipin-generate-reply-preview.d.ts +1 -1
  35. package/dist/tools/zhipin-get-candidate-info.d.ts +1 -1
  36. package/dist/tools/zhipin-scroll-view.d.ts +5 -5
  37. package/package.json +3 -3
  38. package/references/browser-exploration.md +52 -0
  39. package/references/env.yaml +11 -0
@@ -0,0 +1,639 @@
1
+ import { z } from "zod";
2
+ import type { taskElements } from "./task-policy.ts";
3
+ export declare const FormFieldSchema: z.ZodDiscriminatedUnion<"intent", [z.ZodObject<{
4
+ name: z.ZodString;
5
+ intent: z.ZodLiteral<"set">;
6
+ valueName: z.ZodString;
7
+ comparison: z.ZodDefault<z.ZodEnum<["auto", "literal", "semantic"]>>;
8
+ }, "strict", z.ZodTypeAny, {
9
+ name: string;
10
+ intent: "set";
11
+ comparison: "auto" | "literal" | "semantic";
12
+ valueName: string;
13
+ }, {
14
+ name: string;
15
+ intent: "set";
16
+ valueName: string;
17
+ comparison?: "auto" | "literal" | "semantic" | undefined;
18
+ }>, z.ZodObject<{
19
+ name: z.ZodString;
20
+ intent: z.ZodLiteral<"preserve">;
21
+ }, "strict", z.ZodTypeAny, {
22
+ name: string;
23
+ intent: "preserve";
24
+ }, {
25
+ name: string;
26
+ intent: "preserve";
27
+ }>]>;
28
+ export declare const FormTaskSchema: z.ZodObject<{
29
+ mode: z.ZodEnum<["create", "edit"]>;
30
+ stopAt: z.ZodDefault<z.ZodEnum<["applied", "current-view"]>>;
31
+ fields: z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"intent", [z.ZodObject<{
32
+ name: z.ZodString;
33
+ intent: z.ZodLiteral<"set">;
34
+ valueName: z.ZodString;
35
+ comparison: z.ZodDefault<z.ZodEnum<["auto", "literal", "semantic"]>>;
36
+ }, "strict", z.ZodTypeAny, {
37
+ name: string;
38
+ intent: "set";
39
+ comparison: "auto" | "literal" | "semantic";
40
+ valueName: string;
41
+ }, {
42
+ name: string;
43
+ intent: "set";
44
+ valueName: string;
45
+ comparison?: "auto" | "literal" | "semantic" | undefined;
46
+ }>, z.ZodObject<{
47
+ name: z.ZodString;
48
+ intent: z.ZodLiteral<"preserve">;
49
+ }, "strict", z.ZodTypeAny, {
50
+ name: string;
51
+ intent: "preserve";
52
+ }, {
53
+ name: string;
54
+ intent: "preserve";
55
+ }>]>, "many">, ({
56
+ name: string;
57
+ intent: "set";
58
+ comparison: "auto" | "literal" | "semantic";
59
+ valueName: string;
60
+ } | {
61
+ name: string;
62
+ intent: "preserve";
63
+ })[], ({
64
+ name: string;
65
+ intent: "set";
66
+ valueName: string;
67
+ comparison?: "auto" | "literal" | "semantic" | undefined;
68
+ } | {
69
+ name: string;
70
+ intent: "preserve";
71
+ })[]>;
72
+ }, "strict", z.ZodTypeAny, {
73
+ mode: "create" | "edit";
74
+ stopAt: "applied" | "current-view";
75
+ fields: ({
76
+ name: string;
77
+ intent: "set";
78
+ comparison: "auto" | "literal" | "semantic";
79
+ valueName: string;
80
+ } | {
81
+ name: string;
82
+ intent: "preserve";
83
+ })[];
84
+ }, {
85
+ mode: "create" | "edit";
86
+ fields: ({
87
+ name: string;
88
+ intent: "set";
89
+ valueName: string;
90
+ comparison?: "auto" | "literal" | "semantic" | undefined;
91
+ } | {
92
+ name: string;
93
+ intent: "preserve";
94
+ })[];
95
+ stopAt?: "applied" | "current-view" | undefined;
96
+ }>;
97
+ export type FormTask = z.infer<typeof FormTaskSchema>;
98
+ export type FormControl = ReturnType<typeof taskElements>[number];
99
+ export declare const FormFieldStateSchema: z.ZodObject<{
100
+ id: z.ZodString;
101
+ name: z.ZodString;
102
+ intent: z.ZodEnum<["set", "preserve"]>;
103
+ comparison: z.ZodEnum<["auto", "literal", "semantic"]>;
104
+ expected: z.ZodOptional<z.ZodString>;
105
+ binding: z.ZodOptional<z.ZodObject<{
106
+ identity: z.ZodString;
107
+ readOnlyDisplay: z.ZodOptional<z.ZodLiteral<true>>;
108
+ key: z.ZodOptional<z.ZodString>;
109
+ name: z.ZodString;
110
+ role: z.ZodString;
111
+ fieldLabel: z.ZodOptional<z.ZodString>;
112
+ }, "strip", z.ZodTypeAny, {
113
+ role: string;
114
+ name: string;
115
+ identity: string;
116
+ key?: string | undefined;
117
+ fieldLabel?: string | undefined;
118
+ readOnlyDisplay?: true | undefined;
119
+ }, {
120
+ role: string;
121
+ name: string;
122
+ identity: string;
123
+ key?: string | undefined;
124
+ fieldLabel?: string | undefined;
125
+ readOnlyDisplay?: true | undefined;
126
+ }>>;
127
+ entry: z.ZodOptional<z.ZodObject<{
128
+ identity: z.ZodString;
129
+ readOnlyDisplay: z.ZodOptional<z.ZodLiteral<true>>;
130
+ key: z.ZodOptional<z.ZodString>;
131
+ name: z.ZodString;
132
+ role: z.ZodString;
133
+ fieldLabel: z.ZodOptional<z.ZodString>;
134
+ }, "strip", z.ZodTypeAny, {
135
+ role: string;
136
+ name: string;
137
+ identity: string;
138
+ key?: string | undefined;
139
+ fieldLabel?: string | undefined;
140
+ readOnlyDisplay?: true | undefined;
141
+ }, {
142
+ role: string;
143
+ name: string;
144
+ identity: string;
145
+ key?: string | undefined;
146
+ fieldLabel?: string | undefined;
147
+ readOnlyDisplay?: true | undefined;
148
+ }>>;
149
+ entryProof: z.ZodOptional<z.ZodObject<{
150
+ fingerprint: z.ZodString;
151
+ status: z.ZodEnum<["satisfied", "unsatisfied", "unknown"]>;
152
+ }, "strip", z.ZodTypeAny, {
153
+ status: "unknown" | "satisfied" | "unsatisfied";
154
+ fingerprint: string;
155
+ }, {
156
+ status: "unknown" | "satisfied" | "unsatisfied";
157
+ fingerprint: string;
158
+ }>>;
159
+ initial: z.ZodOptional<z.ZodString>;
160
+ current: z.ZodOptional<z.ZodString>;
161
+ status: z.ZodEnum<["unknown", "unsatisfied", "satisfied"]>;
162
+ reason: z.ZodString;
163
+ fingerprint: z.ZodOptional<z.ZodString>;
164
+ target: z.ZodOptional<z.ZodObject<{
165
+ key: z.ZodString;
166
+ label: z.ZodString;
167
+ optionsKey: z.ZodString;
168
+ }, "strip", z.ZodTypeAny, {
169
+ label: string;
170
+ key: string;
171
+ optionsKey: string;
172
+ }, {
173
+ label: string;
174
+ key: string;
175
+ optionsKey: string;
176
+ }>>;
177
+ semanticProof: z.ZodOptional<z.ZodObject<{
178
+ fingerprint: z.ZodString;
179
+ status: z.ZodEnum<["satisfied", "unsatisfied"]>;
180
+ }, "strip", z.ZodTypeAny, {
181
+ status: "satisfied" | "unsatisfied";
182
+ fingerprint: string;
183
+ }, {
184
+ status: "satisfied" | "unsatisfied";
185
+ fingerprint: string;
186
+ }>>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ status: "unknown" | "satisfied" | "unsatisfied";
189
+ id: string;
190
+ name: string;
191
+ reason: string;
192
+ intent: "set" | "preserve";
193
+ comparison: "auto" | "literal" | "semantic";
194
+ expected?: string | undefined;
195
+ target?: {
196
+ label: string;
197
+ key: string;
198
+ optionsKey: string;
199
+ } | undefined;
200
+ fingerprint?: string | undefined;
201
+ binding?: {
202
+ role: string;
203
+ name: string;
204
+ identity: string;
205
+ key?: string | undefined;
206
+ fieldLabel?: string | undefined;
207
+ readOnlyDisplay?: true | undefined;
208
+ } | undefined;
209
+ entry?: {
210
+ role: string;
211
+ name: string;
212
+ identity: string;
213
+ key?: string | undefined;
214
+ fieldLabel?: string | undefined;
215
+ readOnlyDisplay?: true | undefined;
216
+ } | undefined;
217
+ entryProof?: {
218
+ status: "unknown" | "satisfied" | "unsatisfied";
219
+ fingerprint: string;
220
+ } | undefined;
221
+ initial?: string | undefined;
222
+ current?: string | undefined;
223
+ semanticProof?: {
224
+ status: "satisfied" | "unsatisfied";
225
+ fingerprint: string;
226
+ } | undefined;
227
+ }, {
228
+ status: "unknown" | "satisfied" | "unsatisfied";
229
+ id: string;
230
+ name: string;
231
+ reason: string;
232
+ intent: "set" | "preserve";
233
+ comparison: "auto" | "literal" | "semantic";
234
+ expected?: string | undefined;
235
+ target?: {
236
+ label: string;
237
+ key: string;
238
+ optionsKey: string;
239
+ } | undefined;
240
+ fingerprint?: string | undefined;
241
+ binding?: {
242
+ role: string;
243
+ name: string;
244
+ identity: string;
245
+ key?: string | undefined;
246
+ fieldLabel?: string | undefined;
247
+ readOnlyDisplay?: true | undefined;
248
+ } | undefined;
249
+ entry?: {
250
+ role: string;
251
+ name: string;
252
+ identity: string;
253
+ key?: string | undefined;
254
+ fieldLabel?: string | undefined;
255
+ readOnlyDisplay?: true | undefined;
256
+ } | undefined;
257
+ entryProof?: {
258
+ status: "unknown" | "satisfied" | "unsatisfied";
259
+ fingerprint: string;
260
+ } | undefined;
261
+ initial?: string | undefined;
262
+ current?: string | undefined;
263
+ semanticProof?: {
264
+ status: "satisfied" | "unsatisfied";
265
+ fingerprint: string;
266
+ } | undefined;
267
+ }>;
268
+ export declare const FormStateSchema: z.ZodObject<{
269
+ mode: z.ZodEnum<["create", "edit"]>;
270
+ stopAt: z.ZodEnum<["applied", "current-view"]>;
271
+ fields: z.ZodArray<z.ZodObject<{
272
+ id: z.ZodString;
273
+ name: z.ZodString;
274
+ intent: z.ZodEnum<["set", "preserve"]>;
275
+ comparison: z.ZodEnum<["auto", "literal", "semantic"]>;
276
+ expected: z.ZodOptional<z.ZodString>;
277
+ binding: z.ZodOptional<z.ZodObject<{
278
+ identity: z.ZodString;
279
+ readOnlyDisplay: z.ZodOptional<z.ZodLiteral<true>>;
280
+ key: z.ZodOptional<z.ZodString>;
281
+ name: z.ZodString;
282
+ role: z.ZodString;
283
+ fieldLabel: z.ZodOptional<z.ZodString>;
284
+ }, "strip", z.ZodTypeAny, {
285
+ role: string;
286
+ name: string;
287
+ identity: string;
288
+ key?: string | undefined;
289
+ fieldLabel?: string | undefined;
290
+ readOnlyDisplay?: true | undefined;
291
+ }, {
292
+ role: string;
293
+ name: string;
294
+ identity: string;
295
+ key?: string | undefined;
296
+ fieldLabel?: string | undefined;
297
+ readOnlyDisplay?: true | undefined;
298
+ }>>;
299
+ entry: z.ZodOptional<z.ZodObject<{
300
+ identity: z.ZodString;
301
+ readOnlyDisplay: z.ZodOptional<z.ZodLiteral<true>>;
302
+ key: z.ZodOptional<z.ZodString>;
303
+ name: z.ZodString;
304
+ role: z.ZodString;
305
+ fieldLabel: z.ZodOptional<z.ZodString>;
306
+ }, "strip", z.ZodTypeAny, {
307
+ role: string;
308
+ name: string;
309
+ identity: string;
310
+ key?: string | undefined;
311
+ fieldLabel?: string | undefined;
312
+ readOnlyDisplay?: true | undefined;
313
+ }, {
314
+ role: string;
315
+ name: string;
316
+ identity: string;
317
+ key?: string | undefined;
318
+ fieldLabel?: string | undefined;
319
+ readOnlyDisplay?: true | undefined;
320
+ }>>;
321
+ entryProof: z.ZodOptional<z.ZodObject<{
322
+ fingerprint: z.ZodString;
323
+ status: z.ZodEnum<["satisfied", "unsatisfied", "unknown"]>;
324
+ }, "strip", z.ZodTypeAny, {
325
+ status: "unknown" | "satisfied" | "unsatisfied";
326
+ fingerprint: string;
327
+ }, {
328
+ status: "unknown" | "satisfied" | "unsatisfied";
329
+ fingerprint: string;
330
+ }>>;
331
+ initial: z.ZodOptional<z.ZodString>;
332
+ current: z.ZodOptional<z.ZodString>;
333
+ status: z.ZodEnum<["unknown", "unsatisfied", "satisfied"]>;
334
+ reason: z.ZodString;
335
+ fingerprint: z.ZodOptional<z.ZodString>;
336
+ target: z.ZodOptional<z.ZodObject<{
337
+ key: z.ZodString;
338
+ label: z.ZodString;
339
+ optionsKey: z.ZodString;
340
+ }, "strip", z.ZodTypeAny, {
341
+ label: string;
342
+ key: string;
343
+ optionsKey: string;
344
+ }, {
345
+ label: string;
346
+ key: string;
347
+ optionsKey: string;
348
+ }>>;
349
+ semanticProof: z.ZodOptional<z.ZodObject<{
350
+ fingerprint: z.ZodString;
351
+ status: z.ZodEnum<["satisfied", "unsatisfied"]>;
352
+ }, "strip", z.ZodTypeAny, {
353
+ status: "satisfied" | "unsatisfied";
354
+ fingerprint: string;
355
+ }, {
356
+ status: "satisfied" | "unsatisfied";
357
+ fingerprint: string;
358
+ }>>;
359
+ }, "strip", z.ZodTypeAny, {
360
+ status: "unknown" | "satisfied" | "unsatisfied";
361
+ id: string;
362
+ name: string;
363
+ reason: string;
364
+ intent: "set" | "preserve";
365
+ comparison: "auto" | "literal" | "semantic";
366
+ expected?: string | undefined;
367
+ target?: {
368
+ label: string;
369
+ key: string;
370
+ optionsKey: string;
371
+ } | undefined;
372
+ fingerprint?: string | undefined;
373
+ binding?: {
374
+ role: string;
375
+ name: string;
376
+ identity: string;
377
+ key?: string | undefined;
378
+ fieldLabel?: string | undefined;
379
+ readOnlyDisplay?: true | undefined;
380
+ } | undefined;
381
+ entry?: {
382
+ role: string;
383
+ name: string;
384
+ identity: string;
385
+ key?: string | undefined;
386
+ fieldLabel?: string | undefined;
387
+ readOnlyDisplay?: true | undefined;
388
+ } | undefined;
389
+ entryProof?: {
390
+ status: "unknown" | "satisfied" | "unsatisfied";
391
+ fingerprint: string;
392
+ } | undefined;
393
+ initial?: string | undefined;
394
+ current?: string | undefined;
395
+ semanticProof?: {
396
+ status: "satisfied" | "unsatisfied";
397
+ fingerprint: string;
398
+ } | undefined;
399
+ }, {
400
+ status: "unknown" | "satisfied" | "unsatisfied";
401
+ id: string;
402
+ name: string;
403
+ reason: string;
404
+ intent: "set" | "preserve";
405
+ comparison: "auto" | "literal" | "semantic";
406
+ expected?: string | undefined;
407
+ target?: {
408
+ label: string;
409
+ key: string;
410
+ optionsKey: string;
411
+ } | undefined;
412
+ fingerprint?: string | undefined;
413
+ binding?: {
414
+ role: string;
415
+ name: string;
416
+ identity: string;
417
+ key?: string | undefined;
418
+ fieldLabel?: string | undefined;
419
+ readOnlyDisplay?: true | undefined;
420
+ } | undefined;
421
+ entry?: {
422
+ role: string;
423
+ name: string;
424
+ identity: string;
425
+ key?: string | undefined;
426
+ fieldLabel?: string | undefined;
427
+ readOnlyDisplay?: true | undefined;
428
+ } | undefined;
429
+ entryProof?: {
430
+ status: "unknown" | "satisfied" | "unsatisfied";
431
+ fingerprint: string;
432
+ } | undefined;
433
+ initial?: string | undefined;
434
+ current?: string | undefined;
435
+ semanticProof?: {
436
+ status: "satisfied" | "unsatisfied";
437
+ fingerprint: string;
438
+ } | undefined;
439
+ }>, "many">;
440
+ focus: z.ZodOptional<z.ZodString>;
441
+ panel: z.ZodOptional<z.ZodObject<{
442
+ key: z.ZodString;
443
+ status: z.ZodEnum<["pending", "accepted", "rejected"]>;
444
+ queryIdentity: z.ZodOptional<z.ZodString>;
445
+ }, "strip", z.ZodTypeAny, {
446
+ status: "pending" | "rejected" | "accepted";
447
+ key: string;
448
+ queryIdentity?: string | undefined;
449
+ }, {
450
+ status: "pending" | "rejected" | "accepted";
451
+ key: string;
452
+ queryIdentity?: string | undefined;
453
+ }>>;
454
+ }, "strip", z.ZodTypeAny, {
455
+ mode: "create" | "edit";
456
+ stopAt: "applied" | "current-view";
457
+ fields: {
458
+ status: "unknown" | "satisfied" | "unsatisfied";
459
+ id: string;
460
+ name: string;
461
+ reason: string;
462
+ intent: "set" | "preserve";
463
+ comparison: "auto" | "literal" | "semantic";
464
+ expected?: string | undefined;
465
+ target?: {
466
+ label: string;
467
+ key: string;
468
+ optionsKey: string;
469
+ } | undefined;
470
+ fingerprint?: string | undefined;
471
+ binding?: {
472
+ role: string;
473
+ name: string;
474
+ identity: string;
475
+ key?: string | undefined;
476
+ fieldLabel?: string | undefined;
477
+ readOnlyDisplay?: true | undefined;
478
+ } | undefined;
479
+ entry?: {
480
+ role: string;
481
+ name: string;
482
+ identity: string;
483
+ key?: string | undefined;
484
+ fieldLabel?: string | undefined;
485
+ readOnlyDisplay?: true | undefined;
486
+ } | undefined;
487
+ entryProof?: {
488
+ status: "unknown" | "satisfied" | "unsatisfied";
489
+ fingerprint: string;
490
+ } | undefined;
491
+ initial?: string | undefined;
492
+ current?: string | undefined;
493
+ semanticProof?: {
494
+ status: "satisfied" | "unsatisfied";
495
+ fingerprint: string;
496
+ } | undefined;
497
+ }[];
498
+ panel?: {
499
+ status: "pending" | "rejected" | "accepted";
500
+ key: string;
501
+ queryIdentity?: string | undefined;
502
+ } | undefined;
503
+ focus?: string | undefined;
504
+ }, {
505
+ mode: "create" | "edit";
506
+ stopAt: "applied" | "current-view";
507
+ fields: {
508
+ status: "unknown" | "satisfied" | "unsatisfied";
509
+ id: string;
510
+ name: string;
511
+ reason: string;
512
+ intent: "set" | "preserve";
513
+ comparison: "auto" | "literal" | "semantic";
514
+ expected?: string | undefined;
515
+ target?: {
516
+ label: string;
517
+ key: string;
518
+ optionsKey: string;
519
+ } | undefined;
520
+ fingerprint?: string | undefined;
521
+ binding?: {
522
+ role: string;
523
+ name: string;
524
+ identity: string;
525
+ key?: string | undefined;
526
+ fieldLabel?: string | undefined;
527
+ readOnlyDisplay?: true | undefined;
528
+ } | undefined;
529
+ entry?: {
530
+ role: string;
531
+ name: string;
532
+ identity: string;
533
+ key?: string | undefined;
534
+ fieldLabel?: string | undefined;
535
+ readOnlyDisplay?: true | undefined;
536
+ } | undefined;
537
+ entryProof?: {
538
+ status: "unknown" | "satisfied" | "unsatisfied";
539
+ fingerprint: string;
540
+ } | undefined;
541
+ initial?: string | undefined;
542
+ current?: string | undefined;
543
+ semanticProof?: {
544
+ status: "satisfied" | "unsatisfied";
545
+ fingerprint: string;
546
+ } | undefined;
547
+ }[];
548
+ panel?: {
549
+ status: "pending" | "rejected" | "accepted";
550
+ key: string;
551
+ queryIdentity?: string | undefined;
552
+ } | undefined;
553
+ focus?: string | undefined;
554
+ }>;
555
+ export type FormState = z.infer<typeof FormStateSchema>;
556
+ export declare const formControlValue: (c: FormControl) => string | undefined;
557
+ export declare const comparableControl: (c: FormControl) => boolean;
558
+ /** Presentation text on a picker is its mutable value, never its identity. */
559
+ export declare const controlBindingKey: (c: FormControl) => string;
560
+ export declare const usesSemanticComparison: (field: FormState["fields"][number], c: FormControl) => boolean;
561
+ export declare const formOptions: (c: FormControl, controls: readonly FormControl[]) => {
562
+ id: string;
563
+ label: string;
564
+ }[];
565
+ export declare const formTargetKey: (c: FormControl, expected: string | undefined) => string;
566
+ export declare const formOptionsKey: (options: ReturnType<typeof formOptions>) => string;
567
+ export declare const controlFingerprint: (c: FormControl) => string;
568
+ /** Keep the surrounding label, excluding this entry's mutable displayed summary. */
569
+ export declare const entryBindingKey: (c: FormControl) => string;
570
+ export declare const entryFingerprint: (c: FormControl) => string;
571
+ /** Only the node's own displayed text is evidence; surrounding context is never a value. */
572
+ export declare const preserveDisplayValue: (c: FormControl) => string | undefined;
573
+ export declare const preserveDisplayInitialKey: (c: FormControl) => string;
574
+ export declare const currentFormEntry: (field: FormState["fields"][number], controls: readonly FormControl[]) => {
575
+ ref: string;
576
+ identity: string;
577
+ role: string;
578
+ name: string;
579
+ disabled: boolean;
580
+ readonly: string | number | boolean | undefined;
581
+ value: string | undefined;
582
+ valueKind: string;
583
+ displayText: string | undefined;
584
+ checked: string | number | boolean | undefined;
585
+ selected: string | number | boolean | undefined;
586
+ fieldLabel: string | undefined;
587
+ pickerIdentity: string | undefined;
588
+ readable: boolean | undefined;
589
+ peerGroup: {
590
+ count: number;
591
+ key: string;
592
+ position: number;
593
+ } | undefined;
594
+ pickerOwnerPath: string | undefined;
595
+ pickerOptionPath: string | undefined;
596
+ pickerOptionLabel: string | undefined;
597
+ required: boolean | undefined;
598
+ requiredSource: "html" | "aria" | "label-required" | "label-optional" | undefined;
599
+ constraints: {
600
+ multiple?: boolean | undefined;
601
+ pattern?: string | undefined;
602
+ min?: string | undefined;
603
+ max?: string | undefined;
604
+ step?: string | undefined;
605
+ minlength?: string | undefined;
606
+ maxlength?: string | undefined;
607
+ } | undefined;
608
+ position: {
609
+ left: number;
610
+ top: number;
611
+ } | undefined;
612
+ scrollContainerPaths: string[] | undefined;
613
+ revealViaScroll: boolean | undefined;
614
+ inputType: string | undefined;
615
+ expanded: string | number | boolean | undefined;
616
+ validationErrors: string[] | undefined;
617
+ invalid: string | number | boolean | undefined;
618
+ context: string[];
619
+ availability: "hidden" | "ready" | "offscreen" | "covered" | "unavailable";
620
+ editable: boolean | undefined;
621
+ layer: string | undefined;
622
+ modal: boolean | undefined;
623
+ nativeSelect: boolean | undefined;
624
+ options: {
625
+ value: string;
626
+ label: string;
627
+ disabled: boolean;
628
+ selected: boolean;
629
+ }[] | undefined;
630
+ optionsTruncated: boolean | undefined;
631
+ } | undefined;
632
+ /** Fields independently assigned to the same observed entry share only that local editor. */
633
+ export declare const editorFieldIds: (form: FormState) => string[];
634
+ export declare function createFormState(contract: FormTask, values: readonly {
635
+ name: string;
636
+ text: string;
637
+ }[]): FormState;
638
+ export declare function updateFormState(form: FormState, controls: readonly FormControl[], initial: ReadonlyMap<string, string>, panelKeys: readonly string[]): boolean;
639
+ export declare function formValuesSatisfied(form: FormState): boolean;