@ue-shed/game-text 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,994 @@
1
+ import { Schema } from "effect";
2
+ export declare const TextUnitId: Schema.brand<Schema.String, "TextUnitId">;
3
+ export type TextUnitId = Schema.Schema.Type<typeof TextUnitId>;
4
+ export declare const TextOccurrenceId: Schema.brand<Schema.String, "TextOccurrenceId">;
5
+ export type TextOccurrenceId = Schema.Schema.Type<typeof TextOccurrenceId>;
6
+ export declare const makeTextUnitId: (input: string, options?: Schema.MakeOptions) => string & import("effect/Brand").Brand<"TextUnitId">;
7
+ export declare const makeTextOccurrenceId: (input: string, options?: Schema.MakeOptions) => string & import("effect/Brand").Brand<"TextOccurrenceId">;
8
+ export declare const UnrealTextIdentity: Schema.Struct<{
9
+ readonly status: Schema.Literal<"resolved">;
10
+ readonly namespace: Schema.String;
11
+ readonly key: Schema.NonEmptyString;
12
+ }>;
13
+ export declare const UnresolvedTextIdentity: Schema.Struct<{
14
+ readonly status: Schema.Literal<"unresolved">;
15
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
16
+ }>;
17
+ export declare const TextIdentity: Schema.Union<readonly [Schema.Struct<{
18
+ readonly status: Schema.Literal<"resolved">;
19
+ readonly namespace: Schema.String;
20
+ readonly key: Schema.NonEmptyString;
21
+ }>, Schema.Struct<{
22
+ readonly status: Schema.Literal<"unresolved">;
23
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
24
+ }>]>;
25
+ export type TextIdentity = Schema.Schema.Type<typeof TextIdentity>;
26
+ export declare const TextLocation: Schema.Union<readonly [Schema.Struct<{
27
+ readonly kind: Schema.Literal<"data_table_cell">;
28
+ readonly objectPath: Schema.String;
29
+ readonly row: Schema.String;
30
+ readonly propertyPath: Schema.String;
31
+ }>, Schema.Struct<{
32
+ readonly kind: Schema.Literal<"string_table_entry">;
33
+ readonly objectPath: Schema.String;
34
+ readonly entryKey: Schema.String;
35
+ }>, Schema.Struct<{
36
+ readonly kind: Schema.Literal<"asset_property">;
37
+ readonly objectPath: Schema.String;
38
+ readonly classPath: Schema.String;
39
+ readonly propertyPath: Schema.String;
40
+ }>]>;
41
+ export type TextLocation = Schema.Schema.Type<typeof TextLocation>;
42
+ export declare const TextOccurrence: Schema.Struct<{
43
+ readonly id: Schema.brand<Schema.String, "TextOccurrenceId">;
44
+ readonly packageFile: Schema.String;
45
+ readonly source: Schema.String;
46
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
47
+ readonly status: Schema.Literal<"resolved">;
48
+ readonly namespace: Schema.String;
49
+ readonly key: Schema.NonEmptyString;
50
+ }>, Schema.Struct<{
51
+ readonly status: Schema.Literal<"unresolved">;
52
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
53
+ }>]>;
54
+ readonly location: Schema.Union<readonly [Schema.Struct<{
55
+ readonly kind: Schema.Literal<"data_table_cell">;
56
+ readonly objectPath: Schema.String;
57
+ readonly row: Schema.String;
58
+ readonly propertyPath: Schema.String;
59
+ }>, Schema.Struct<{
60
+ readonly kind: Schema.Literal<"string_table_entry">;
61
+ readonly objectPath: Schema.String;
62
+ readonly entryKey: Schema.String;
63
+ }>, Schema.Struct<{
64
+ readonly kind: Schema.Literal<"asset_property">;
65
+ readonly objectPath: Schema.String;
66
+ readonly classPath: Schema.String;
67
+ readonly propertyPath: Schema.String;
68
+ }>]>;
69
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
70
+ }>;
71
+ export type TextOccurrence = Schema.Schema.Type<typeof TextOccurrence>;
72
+ export declare const TextUnit: Schema.Struct<{
73
+ readonly id: Schema.brand<Schema.String, "TextUnitId">;
74
+ readonly source: Schema.Union<readonly [Schema.Struct<{
75
+ readonly status: Schema.Literal<"consistent">;
76
+ readonly value: Schema.String;
77
+ }>, Schema.Struct<{
78
+ readonly status: Schema.Literal<"conflicting">;
79
+ readonly values: Schema.$Array<Schema.String>;
80
+ }>]>;
81
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
82
+ readonly status: Schema.Literal<"resolved">;
83
+ readonly namespace: Schema.String;
84
+ readonly key: Schema.NonEmptyString;
85
+ }>, Schema.Struct<{
86
+ readonly status: Schema.Literal<"unresolved">;
87
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
88
+ }>]>;
89
+ readonly occurrences: Schema.$Array<Schema.Struct<{
90
+ readonly id: Schema.brand<Schema.String, "TextOccurrenceId">;
91
+ readonly packageFile: Schema.String;
92
+ readonly source: Schema.String;
93
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
94
+ readonly status: Schema.Literal<"resolved">;
95
+ readonly namespace: Schema.String;
96
+ readonly key: Schema.NonEmptyString;
97
+ }>, Schema.Struct<{
98
+ readonly status: Schema.Literal<"unresolved">;
99
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
100
+ }>]>;
101
+ readonly location: Schema.Union<readonly [Schema.Struct<{
102
+ readonly kind: Schema.Literal<"data_table_cell">;
103
+ readonly objectPath: Schema.String;
104
+ readonly row: Schema.String;
105
+ readonly propertyPath: Schema.String;
106
+ }>, Schema.Struct<{
107
+ readonly kind: Schema.Literal<"string_table_entry">;
108
+ readonly objectPath: Schema.String;
109
+ readonly entryKey: Schema.String;
110
+ }>, Schema.Struct<{
111
+ readonly kind: Schema.Literal<"asset_property">;
112
+ readonly objectPath: Schema.String;
113
+ readonly classPath: Schema.String;
114
+ readonly propertyPath: Schema.String;
115
+ }>]>;
116
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
117
+ }>>;
118
+ }>;
119
+ export type TextUnit = Schema.Schema.Type<typeof TextUnit>;
120
+ export declare const TextCorpusDiagnostic: Schema.Struct<{
121
+ readonly code: Schema.Literals<readonly ["package_inspection_failed", "package_partially_decoded", "unsupported_text_history"]>;
122
+ readonly message: Schema.String;
123
+ readonly packageFile: Schema.String;
124
+ readonly objectPath: Schema.optional<Schema.String>;
125
+ readonly propertyPath: Schema.optional<Schema.String>;
126
+ }>;
127
+ export type TextCorpusDiagnostic = Schema.Schema.Type<typeof TextCorpusDiagnostic>;
128
+ export declare const TextCorpus: Schema.Struct<{
129
+ readonly schemaVersion: Schema.Literal<1>;
130
+ readonly status: Schema.Literals<readonly ["complete", "partial"]>;
131
+ readonly coverage: Schema.Struct<{
132
+ readonly discoveredPackages: Schema.Int;
133
+ readonly inspectedPackages: Schema.Int;
134
+ readonly partialPackages: Schema.Int;
135
+ readonly failedPackages: Schema.Int;
136
+ readonly textUnits: Schema.Int;
137
+ readonly textOccurrences: Schema.Int;
138
+ readonly resolvedOccurrences: Schema.Int;
139
+ readonly unresolvedOccurrences: Schema.Int;
140
+ readonly unsupportedTextProperties: Schema.Int;
141
+ }>;
142
+ readonly units: Schema.$Array<Schema.Struct<{
143
+ readonly id: Schema.brand<Schema.String, "TextUnitId">;
144
+ readonly source: Schema.Union<readonly [Schema.Struct<{
145
+ readonly status: Schema.Literal<"consistent">;
146
+ readonly value: Schema.String;
147
+ }>, Schema.Struct<{
148
+ readonly status: Schema.Literal<"conflicting">;
149
+ readonly values: Schema.$Array<Schema.String>;
150
+ }>]>;
151
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
152
+ readonly status: Schema.Literal<"resolved">;
153
+ readonly namespace: Schema.String;
154
+ readonly key: Schema.NonEmptyString;
155
+ }>, Schema.Struct<{
156
+ readonly status: Schema.Literal<"unresolved">;
157
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
158
+ }>]>;
159
+ readonly occurrences: Schema.$Array<Schema.Struct<{
160
+ readonly id: Schema.brand<Schema.String, "TextOccurrenceId">;
161
+ readonly packageFile: Schema.String;
162
+ readonly source: Schema.String;
163
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
164
+ readonly status: Schema.Literal<"resolved">;
165
+ readonly namespace: Schema.String;
166
+ readonly key: Schema.NonEmptyString;
167
+ }>, Schema.Struct<{
168
+ readonly status: Schema.Literal<"unresolved">;
169
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
170
+ }>]>;
171
+ readonly location: Schema.Union<readonly [Schema.Struct<{
172
+ readonly kind: Schema.Literal<"data_table_cell">;
173
+ readonly objectPath: Schema.String;
174
+ readonly row: Schema.String;
175
+ readonly propertyPath: Schema.String;
176
+ }>, Schema.Struct<{
177
+ readonly kind: Schema.Literal<"string_table_entry">;
178
+ readonly objectPath: Schema.String;
179
+ readonly entryKey: Schema.String;
180
+ }>, Schema.Struct<{
181
+ readonly kind: Schema.Literal<"asset_property">;
182
+ readonly objectPath: Schema.String;
183
+ readonly classPath: Schema.String;
184
+ readonly propertyPath: Schema.String;
185
+ }>]>;
186
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
187
+ }>>;
188
+ }>>;
189
+ readonly diagnostics: Schema.$Array<Schema.Struct<{
190
+ readonly code: Schema.Literals<readonly ["package_inspection_failed", "package_partially_decoded", "unsupported_text_history"]>;
191
+ readonly message: Schema.String;
192
+ readonly packageFile: Schema.String;
193
+ readonly objectPath: Schema.optional<Schema.String>;
194
+ readonly propertyPath: Schema.optional<Schema.String>;
195
+ }>>;
196
+ }>;
197
+ export type TextCorpus = Schema.Schema.Type<typeof TextCorpus>;
198
+ export declare const TextCorpusPublicError: Schema.Struct<{
199
+ readonly code: Schema.Literals<readonly ["invalid_project", "scan_limit_exceeded", "contract_failure"]>;
200
+ readonly message: Schema.String;
201
+ readonly recovery: Schema.String;
202
+ readonly retrySafe: Schema.Boolean;
203
+ }>;
204
+ export type TextCorpusPublicError = Schema.Schema.Type<typeof TextCorpusPublicError>;
205
+ export declare const TextCorpusRunResult: Schema.Union<readonly [Schema.Struct<{
206
+ readonly status: Schema.Literal<"completed">;
207
+ readonly corpus: Schema.Struct<{
208
+ readonly schemaVersion: Schema.Literal<1>;
209
+ readonly status: Schema.Literals<readonly ["complete", "partial"]>;
210
+ readonly coverage: Schema.Struct<{
211
+ readonly discoveredPackages: Schema.Int;
212
+ readonly inspectedPackages: Schema.Int;
213
+ readonly partialPackages: Schema.Int;
214
+ readonly failedPackages: Schema.Int;
215
+ readonly textUnits: Schema.Int;
216
+ readonly textOccurrences: Schema.Int;
217
+ readonly resolvedOccurrences: Schema.Int;
218
+ readonly unresolvedOccurrences: Schema.Int;
219
+ readonly unsupportedTextProperties: Schema.Int;
220
+ }>;
221
+ readonly units: Schema.$Array<Schema.Struct<{
222
+ readonly id: Schema.brand<Schema.String, "TextUnitId">;
223
+ readonly source: Schema.Union<readonly [Schema.Struct<{
224
+ readonly status: Schema.Literal<"consistent">;
225
+ readonly value: Schema.String;
226
+ }>, Schema.Struct<{
227
+ readonly status: Schema.Literal<"conflicting">;
228
+ readonly values: Schema.$Array<Schema.String>;
229
+ }>]>;
230
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
231
+ readonly status: Schema.Literal<"resolved">;
232
+ readonly namespace: Schema.String;
233
+ readonly key: Schema.NonEmptyString;
234
+ }>, Schema.Struct<{
235
+ readonly status: Schema.Literal<"unresolved">;
236
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
237
+ }>]>;
238
+ readonly occurrences: Schema.$Array<Schema.Struct<{
239
+ readonly id: Schema.brand<Schema.String, "TextOccurrenceId">;
240
+ readonly packageFile: Schema.String;
241
+ readonly source: Schema.String;
242
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
243
+ readonly status: Schema.Literal<"resolved">;
244
+ readonly namespace: Schema.String;
245
+ readonly key: Schema.NonEmptyString;
246
+ }>, Schema.Struct<{
247
+ readonly status: Schema.Literal<"unresolved">;
248
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
249
+ }>]>;
250
+ readonly location: Schema.Union<readonly [Schema.Struct<{
251
+ readonly kind: Schema.Literal<"data_table_cell">;
252
+ readonly objectPath: Schema.String;
253
+ readonly row: Schema.String;
254
+ readonly propertyPath: Schema.String;
255
+ }>, Schema.Struct<{
256
+ readonly kind: Schema.Literal<"string_table_entry">;
257
+ readonly objectPath: Schema.String;
258
+ readonly entryKey: Schema.String;
259
+ }>, Schema.Struct<{
260
+ readonly kind: Schema.Literal<"asset_property">;
261
+ readonly objectPath: Schema.String;
262
+ readonly classPath: Schema.String;
263
+ readonly propertyPath: Schema.String;
264
+ }>]>;
265
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
266
+ }>>;
267
+ }>>;
268
+ readonly diagnostics: Schema.$Array<Schema.Struct<{
269
+ readonly code: Schema.Literals<readonly ["package_inspection_failed", "package_partially_decoded", "unsupported_text_history"]>;
270
+ readonly message: Schema.String;
271
+ readonly packageFile: Schema.String;
272
+ readonly objectPath: Schema.optional<Schema.String>;
273
+ readonly propertyPath: Schema.optional<Schema.String>;
274
+ }>>;
275
+ }>;
276
+ }>, Schema.Struct<{
277
+ readonly status: Schema.Literal<"not_configured">;
278
+ }>, Schema.Struct<{
279
+ readonly status: Schema.Literal<"cancelled">;
280
+ }>, Schema.Struct<{
281
+ readonly status: Schema.Literal<"failed">;
282
+ readonly error: Schema.Struct<{
283
+ readonly code: Schema.Literals<readonly ["invalid_project", "scan_limit_exceeded", "contract_failure"]>;
284
+ readonly message: Schema.String;
285
+ readonly recovery: Schema.String;
286
+ readonly retrySafe: Schema.Boolean;
287
+ }>;
288
+ }>]>;
289
+ export type TextCorpusRunResult = Schema.Schema.Type<typeof TextCorpusRunResult>;
290
+ export declare const decodeTextCorpusRunResult: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<Schema.Struct.ReadonlySide<{
291
+ readonly status: Schema.Literal<"completed">;
292
+ readonly corpus: Schema.Struct<{
293
+ readonly schemaVersion: Schema.Literal<1>;
294
+ readonly status: Schema.Literals<readonly ["complete", "partial"]>;
295
+ readonly coverage: Schema.Struct<{
296
+ readonly discoveredPackages: Schema.Int;
297
+ readonly inspectedPackages: Schema.Int;
298
+ readonly partialPackages: Schema.Int;
299
+ readonly failedPackages: Schema.Int;
300
+ readonly textUnits: Schema.Int;
301
+ readonly textOccurrences: Schema.Int;
302
+ readonly resolvedOccurrences: Schema.Int;
303
+ readonly unresolvedOccurrences: Schema.Int;
304
+ readonly unsupportedTextProperties: Schema.Int;
305
+ }>;
306
+ readonly units: Schema.$Array<Schema.Struct<{
307
+ readonly id: Schema.brand<Schema.String, "TextUnitId">;
308
+ readonly source: Schema.Union<readonly [Schema.Struct<{
309
+ readonly status: Schema.Literal<"consistent">;
310
+ readonly value: Schema.String;
311
+ }>, Schema.Struct<{
312
+ readonly status: Schema.Literal<"conflicting">;
313
+ readonly values: Schema.$Array<Schema.String>;
314
+ }>]>;
315
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
316
+ readonly status: Schema.Literal<"resolved">;
317
+ readonly namespace: Schema.String;
318
+ readonly key: Schema.NonEmptyString;
319
+ }>, Schema.Struct<{
320
+ readonly status: Schema.Literal<"unresolved">;
321
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
322
+ }>]>;
323
+ readonly occurrences: Schema.$Array<Schema.Struct<{
324
+ readonly id: Schema.brand<Schema.String, "TextOccurrenceId">;
325
+ readonly packageFile: Schema.String;
326
+ readonly source: Schema.String;
327
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
328
+ readonly status: Schema.Literal<"resolved">;
329
+ readonly namespace: Schema.String;
330
+ readonly key: Schema.NonEmptyString;
331
+ }>, Schema.Struct<{
332
+ readonly status: Schema.Literal<"unresolved">;
333
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
334
+ }>]>;
335
+ readonly location: Schema.Union<readonly [Schema.Struct<{
336
+ readonly kind: Schema.Literal<"data_table_cell">;
337
+ readonly objectPath: Schema.String;
338
+ readonly row: Schema.String;
339
+ readonly propertyPath: Schema.String;
340
+ }>, Schema.Struct<{
341
+ readonly kind: Schema.Literal<"string_table_entry">;
342
+ readonly objectPath: Schema.String;
343
+ readonly entryKey: Schema.String;
344
+ }>, Schema.Struct<{
345
+ readonly kind: Schema.Literal<"asset_property">;
346
+ readonly objectPath: Schema.String;
347
+ readonly classPath: Schema.String;
348
+ readonly propertyPath: Schema.String;
349
+ }>]>;
350
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
351
+ }>>;
352
+ }>>;
353
+ readonly diagnostics: Schema.$Array<Schema.Struct<{
354
+ readonly code: Schema.Literals<readonly ["package_inspection_failed", "package_partially_decoded", "unsupported_text_history"]>;
355
+ readonly message: Schema.String;
356
+ readonly packageFile: Schema.String;
357
+ readonly objectPath: Schema.optional<Schema.String>;
358
+ readonly propertyPath: Schema.optional<Schema.String>;
359
+ }>>;
360
+ }>;
361
+ }, "Type"> | Schema.Struct.ReadonlySide<{
362
+ readonly status: Schema.Literal<"not_configured">;
363
+ }, "Type"> | Schema.Struct.ReadonlySide<{
364
+ readonly status: Schema.Literal<"cancelled">;
365
+ }, "Type"> | Schema.Struct.ReadonlySide<{
366
+ readonly status: Schema.Literal<"failed">;
367
+ readonly error: Schema.Struct<{
368
+ readonly code: Schema.Literals<readonly ["invalid_project", "scan_limit_exceeded", "contract_failure"]>;
369
+ readonly message: Schema.String;
370
+ readonly recovery: Schema.String;
371
+ readonly retrySafe: Schema.Boolean;
372
+ }>;
373
+ }, "Type">, Schema.SchemaError, never>;
374
+ /** Upper bound applied at the public query boundary, including Workbench IPC. */
375
+ export declare const MAX_TEXT_QUERY_PAGE_SIZE = 50;
376
+ export declare const TextCapabilityFilter: Schema.Literals<readonly ["all", "source_editable", "read_only"]>;
377
+ export type TextCapabilityFilter = Schema.Schema.Type<typeof TextCapabilityFilter>;
378
+ export declare const TextReviewLens: Schema.Literals<readonly ["all", "shared", "duplicate_source", "long", "unresolved", "conflicting"]>;
379
+ export type TextReviewLens = Schema.Schema.Type<typeof TextReviewLens>;
380
+ export declare const TextReviewSignal: Schema.Literals<readonly ["shared", "duplicate_source", "long", "unresolved", "conflicting", "evidence_only"]>;
381
+ export type TextReviewSignal = Schema.Schema.Type<typeof TextReviewSignal>;
382
+ /** A bounded authored/gathered location preview carried by corpus search results. */
383
+ export declare const TextUnitContext: Schema.Struct<{
384
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
385
+ readonly location: Schema.Union<readonly [Schema.Struct<{
386
+ readonly kind: Schema.Literal<"data_table_cell">;
387
+ readonly objectPath: Schema.String;
388
+ readonly row: Schema.String;
389
+ readonly propertyPath: Schema.String;
390
+ }>, Schema.Struct<{
391
+ readonly kind: Schema.Literal<"string_table_entry">;
392
+ readonly objectPath: Schema.String;
393
+ readonly entryKey: Schema.String;
394
+ }>, Schema.Struct<{
395
+ readonly kind: Schema.Literal<"asset_property">;
396
+ readonly objectPath: Schema.String;
397
+ readonly classPath: Schema.String;
398
+ readonly propertyPath: Schema.String;
399
+ }>]>;
400
+ }>;
401
+ export interface TextUnitContext extends Schema.Schema.Type<typeof TextUnitContext> {
402
+ }
403
+ export declare const TextUnitSearchResult: Schema.Struct<{
404
+ readonly contexts: Schema.$Array<Schema.Struct<{
405
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
406
+ readonly location: Schema.Union<readonly [Schema.Struct<{
407
+ readonly kind: Schema.Literal<"data_table_cell">;
408
+ readonly objectPath: Schema.String;
409
+ readonly row: Schema.String;
410
+ readonly propertyPath: Schema.String;
411
+ }>, Schema.Struct<{
412
+ readonly kind: Schema.Literal<"string_table_entry">;
413
+ readonly objectPath: Schema.String;
414
+ readonly entryKey: Schema.String;
415
+ }>, Schema.Struct<{
416
+ readonly kind: Schema.Literal<"asset_property">;
417
+ readonly objectPath: Schema.String;
418
+ readonly classPath: Schema.String;
419
+ readonly propertyPath: Schema.String;
420
+ }>]>;
421
+ }>>;
422
+ readonly id: Schema.brand<Schema.String, "TextUnitId">;
423
+ readonly source: Schema.Union<readonly [Schema.Struct<{
424
+ readonly status: Schema.Literal<"consistent">;
425
+ readonly value: Schema.String;
426
+ }>, Schema.Struct<{
427
+ readonly status: Schema.Literal<"conflicting">;
428
+ readonly values: Schema.$Array<Schema.String>;
429
+ }>]>;
430
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
431
+ readonly status: Schema.Literal<"resolved">;
432
+ readonly namespace: Schema.String;
433
+ readonly key: Schema.NonEmptyString;
434
+ }>, Schema.Struct<{
435
+ readonly status: Schema.Literal<"unresolved">;
436
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
437
+ }>]>;
438
+ readonly locationKinds: Schema.$Array<Schema.Literals<readonly ["data_table_cell", "string_table_entry", "asset_property"]>>;
439
+ readonly characterCount: Schema.Int;
440
+ readonly occurrenceCount: Schema.Int;
441
+ readonly remainingContextCount: Schema.Int;
442
+ readonly reviewSignals: Schema.$Array<Schema.Literals<readonly ["shared", "duplicate_source", "long", "unresolved", "conflicting", "evidence_only"]>>;
443
+ readonly wordCount: Schema.Int;
444
+ }>;
445
+ export type TextUnitSearchResult = Schema.Schema.Type<typeof TextUnitSearchResult>;
446
+ export declare const TextCorpusQuerySummary: Schema.Struct<{
447
+ readonly schemaVersion: Schema.Literal<1>;
448
+ readonly status: Schema.Literals<readonly ["complete", "partial"]>;
449
+ readonly coverage: Schema.Struct<{
450
+ readonly discoveredPackages: Schema.Int;
451
+ readonly inspectedPackages: Schema.Int;
452
+ readonly partialPackages: Schema.Int;
453
+ readonly failedPackages: Schema.Int;
454
+ readonly textUnits: Schema.Int;
455
+ readonly textOccurrences: Schema.Int;
456
+ readonly resolvedOccurrences: Schema.Int;
457
+ readonly unresolvedOccurrences: Schema.Int;
458
+ readonly unsupportedTextProperties: Schema.Int;
459
+ }>;
460
+ readonly diagnosticCount: Schema.Int;
461
+ readonly review: Schema.Struct<{
462
+ readonly all: Schema.Int;
463
+ readonly shared: Schema.Int;
464
+ readonly duplicateSource: Schema.Int;
465
+ readonly long: Schema.Int;
466
+ readonly unresolved: Schema.Int;
467
+ readonly conflicting: Schema.Int;
468
+ }>;
469
+ readonly sources: Schema.Struct<{
470
+ readonly assetProperty: Schema.Int;
471
+ readonly dataTable: Schema.Int;
472
+ readonly mixed: Schema.Int;
473
+ readonly stringTable: Schema.Int;
474
+ }>;
475
+ }>;
476
+ export type TextCorpusQuerySummary = Schema.Schema.Type<typeof TextCorpusQuerySummary>;
477
+ export declare const TextCorpusQueryRunResult: Schema.Union<readonly [Schema.Struct<{
478
+ readonly status: Schema.Literal<"completed">;
479
+ readonly summary: Schema.Struct<{
480
+ readonly schemaVersion: Schema.Literal<1>;
481
+ readonly status: Schema.Literals<readonly ["complete", "partial"]>;
482
+ readonly coverage: Schema.Struct<{
483
+ readonly discoveredPackages: Schema.Int;
484
+ readonly inspectedPackages: Schema.Int;
485
+ readonly partialPackages: Schema.Int;
486
+ readonly failedPackages: Schema.Int;
487
+ readonly textUnits: Schema.Int;
488
+ readonly textOccurrences: Schema.Int;
489
+ readonly resolvedOccurrences: Schema.Int;
490
+ readonly unresolvedOccurrences: Schema.Int;
491
+ readonly unsupportedTextProperties: Schema.Int;
492
+ }>;
493
+ readonly diagnosticCount: Schema.Int;
494
+ readonly review: Schema.Struct<{
495
+ readonly all: Schema.Int;
496
+ readonly shared: Schema.Int;
497
+ readonly duplicateSource: Schema.Int;
498
+ readonly long: Schema.Int;
499
+ readonly unresolved: Schema.Int;
500
+ readonly conflicting: Schema.Int;
501
+ }>;
502
+ readonly sources: Schema.Struct<{
503
+ readonly assetProperty: Schema.Int;
504
+ readonly dataTable: Schema.Int;
505
+ readonly mixed: Schema.Int;
506
+ readonly stringTable: Schema.Int;
507
+ }>;
508
+ }>;
509
+ }>, Schema.Struct<{
510
+ readonly status: Schema.Literal<"not_configured">;
511
+ }>, Schema.Struct<{
512
+ readonly status: Schema.Literal<"cancelled">;
513
+ }>, Schema.Struct<{
514
+ readonly status: Schema.Literal<"failed">;
515
+ readonly error: Schema.Struct<{
516
+ readonly code: Schema.Literals<readonly ["invalid_project", "scan_limit_exceeded", "contract_failure"]>;
517
+ readonly message: Schema.String;
518
+ readonly recovery: Schema.String;
519
+ readonly retrySafe: Schema.Boolean;
520
+ }>;
521
+ }>]>;
522
+ export type TextCorpusQueryRunResult = Schema.Schema.Type<typeof TextCorpusQueryRunResult>;
523
+ export declare const decodeTextCorpusQueryRunResult: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<Schema.Struct.ReadonlySide<{
524
+ readonly status: Schema.Literal<"completed">;
525
+ readonly summary: Schema.Struct<{
526
+ readonly schemaVersion: Schema.Literal<1>;
527
+ readonly status: Schema.Literals<readonly ["complete", "partial"]>;
528
+ readonly coverage: Schema.Struct<{
529
+ readonly discoveredPackages: Schema.Int;
530
+ readonly inspectedPackages: Schema.Int;
531
+ readonly partialPackages: Schema.Int;
532
+ readonly failedPackages: Schema.Int;
533
+ readonly textUnits: Schema.Int;
534
+ readonly textOccurrences: Schema.Int;
535
+ readonly resolvedOccurrences: Schema.Int;
536
+ readonly unresolvedOccurrences: Schema.Int;
537
+ readonly unsupportedTextProperties: Schema.Int;
538
+ }>;
539
+ readonly diagnosticCount: Schema.Int;
540
+ readonly review: Schema.Struct<{
541
+ readonly all: Schema.Int;
542
+ readonly shared: Schema.Int;
543
+ readonly duplicateSource: Schema.Int;
544
+ readonly long: Schema.Int;
545
+ readonly unresolved: Schema.Int;
546
+ readonly conflicting: Schema.Int;
547
+ }>;
548
+ readonly sources: Schema.Struct<{
549
+ readonly assetProperty: Schema.Int;
550
+ readonly dataTable: Schema.Int;
551
+ readonly mixed: Schema.Int;
552
+ readonly stringTable: Schema.Int;
553
+ }>;
554
+ }>;
555
+ }, "Type"> | Schema.Struct.ReadonlySide<{
556
+ readonly status: Schema.Literal<"not_configured">;
557
+ }, "Type"> | Schema.Struct.ReadonlySide<{
558
+ readonly status: Schema.Literal<"cancelled">;
559
+ }, "Type"> | Schema.Struct.ReadonlySide<{
560
+ readonly status: Schema.Literal<"failed">;
561
+ readonly error: Schema.Struct<{
562
+ readonly code: Schema.Literals<readonly ["invalid_project", "scan_limit_exceeded", "contract_failure"]>;
563
+ readonly message: Schema.String;
564
+ readonly recovery: Schema.String;
565
+ readonly retrySafe: Schema.Boolean;
566
+ }>;
567
+ }, "Type">, Schema.SchemaError, never>;
568
+ export declare const TextCorpusSearchRequest: Schema.Struct<{
569
+ readonly capability: Schema.Literals<readonly ["all", "source_editable", "read_only"]>;
570
+ readonly cursor: Schema.optional<Schema.brand<Schema.String, "TextUnitId">>;
571
+ readonly lens: Schema.optional<Schema.Literals<readonly ["all", "shared", "duplicate_source", "long", "unresolved", "conflicting"]>>;
572
+ readonly pageSize: Schema.Int;
573
+ readonly query: Schema.String;
574
+ }>;
575
+ export type TextCorpusSearchRequest = Schema.Schema.Type<typeof TextCorpusSearchRequest>;
576
+ export declare const TextCorpusSearchPage: Schema.Struct<{
577
+ readonly nextCursor: Schema.optional<Schema.brand<Schema.String, "TextUnitId">>;
578
+ readonly total: Schema.Int;
579
+ readonly units: Schema.$Array<Schema.Struct<{
580
+ readonly contexts: Schema.$Array<Schema.Struct<{
581
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
582
+ readonly location: Schema.Union<readonly [Schema.Struct<{
583
+ readonly kind: Schema.Literal<"data_table_cell">;
584
+ readonly objectPath: Schema.String;
585
+ readonly row: Schema.String;
586
+ readonly propertyPath: Schema.String;
587
+ }>, Schema.Struct<{
588
+ readonly kind: Schema.Literal<"string_table_entry">;
589
+ readonly objectPath: Schema.String;
590
+ readonly entryKey: Schema.String;
591
+ }>, Schema.Struct<{
592
+ readonly kind: Schema.Literal<"asset_property">;
593
+ readonly objectPath: Schema.String;
594
+ readonly classPath: Schema.String;
595
+ readonly propertyPath: Schema.String;
596
+ }>]>;
597
+ }>>;
598
+ readonly id: Schema.brand<Schema.String, "TextUnitId">;
599
+ readonly source: Schema.Union<readonly [Schema.Struct<{
600
+ readonly status: Schema.Literal<"consistent">;
601
+ readonly value: Schema.String;
602
+ }>, Schema.Struct<{
603
+ readonly status: Schema.Literal<"conflicting">;
604
+ readonly values: Schema.$Array<Schema.String>;
605
+ }>]>;
606
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
607
+ readonly status: Schema.Literal<"resolved">;
608
+ readonly namespace: Schema.String;
609
+ readonly key: Schema.NonEmptyString;
610
+ }>, Schema.Struct<{
611
+ readonly status: Schema.Literal<"unresolved">;
612
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
613
+ }>]>;
614
+ readonly locationKinds: Schema.$Array<Schema.Literals<readonly ["data_table_cell", "string_table_entry", "asset_property"]>>;
615
+ readonly characterCount: Schema.Int;
616
+ readonly occurrenceCount: Schema.Int;
617
+ readonly remainingContextCount: Schema.Int;
618
+ readonly reviewSignals: Schema.$Array<Schema.Literals<readonly ["shared", "duplicate_source", "long", "unresolved", "conflicting", "evidence_only"]>>;
619
+ readonly wordCount: Schema.Int;
620
+ }>>;
621
+ }>;
622
+ export type TextCorpusSearchPage = Schema.Schema.Type<typeof TextCorpusSearchPage>;
623
+ export declare const TextCorpusSearchResult: Schema.Union<readonly [Schema.Struct<{
624
+ readonly status: Schema.Literal<"ready">;
625
+ readonly page: Schema.Struct<{
626
+ readonly nextCursor: Schema.optional<Schema.brand<Schema.String, "TextUnitId">>;
627
+ readonly total: Schema.Int;
628
+ readonly units: Schema.$Array<Schema.Struct<{
629
+ readonly contexts: Schema.$Array<Schema.Struct<{
630
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
631
+ readonly location: Schema.Union<readonly [Schema.Struct<{
632
+ readonly kind: Schema.Literal<"data_table_cell">;
633
+ readonly objectPath: Schema.String;
634
+ readonly row: Schema.String;
635
+ readonly propertyPath: Schema.String;
636
+ }>, Schema.Struct<{
637
+ readonly kind: Schema.Literal<"string_table_entry">;
638
+ readonly objectPath: Schema.String;
639
+ readonly entryKey: Schema.String;
640
+ }>, Schema.Struct<{
641
+ readonly kind: Schema.Literal<"asset_property">;
642
+ readonly objectPath: Schema.String;
643
+ readonly classPath: Schema.String;
644
+ readonly propertyPath: Schema.String;
645
+ }>]>;
646
+ }>>;
647
+ readonly id: Schema.brand<Schema.String, "TextUnitId">;
648
+ readonly source: Schema.Union<readonly [Schema.Struct<{
649
+ readonly status: Schema.Literal<"consistent">;
650
+ readonly value: Schema.String;
651
+ }>, Schema.Struct<{
652
+ readonly status: Schema.Literal<"conflicting">;
653
+ readonly values: Schema.$Array<Schema.String>;
654
+ }>]>;
655
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
656
+ readonly status: Schema.Literal<"resolved">;
657
+ readonly namespace: Schema.String;
658
+ readonly key: Schema.NonEmptyString;
659
+ }>, Schema.Struct<{
660
+ readonly status: Schema.Literal<"unresolved">;
661
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
662
+ }>]>;
663
+ readonly locationKinds: Schema.$Array<Schema.Literals<readonly ["data_table_cell", "string_table_entry", "asset_property"]>>;
664
+ readonly characterCount: Schema.Int;
665
+ readonly occurrenceCount: Schema.Int;
666
+ readonly remainingContextCount: Schema.Int;
667
+ readonly reviewSignals: Schema.$Array<Schema.Literals<readonly ["shared", "duplicate_source", "long", "unresolved", "conflicting", "evidence_only"]>>;
668
+ readonly wordCount: Schema.Int;
669
+ }>>;
670
+ }>;
671
+ }>, Schema.Struct<{
672
+ readonly status: Schema.Literal<"not_ready">;
673
+ }>]>;
674
+ export type TextCorpusSearchResult = Schema.Schema.Type<typeof TextCorpusSearchResult>;
675
+ export declare const decodeTextCorpusSearchResult: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<Schema.Struct.ReadonlySide<{
676
+ readonly status: Schema.Literal<"ready">;
677
+ readonly page: Schema.Struct<{
678
+ readonly nextCursor: Schema.optional<Schema.brand<Schema.String, "TextUnitId">>;
679
+ readonly total: Schema.Int;
680
+ readonly units: Schema.$Array<Schema.Struct<{
681
+ readonly contexts: Schema.$Array<Schema.Struct<{
682
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
683
+ readonly location: Schema.Union<readonly [Schema.Struct<{
684
+ readonly kind: Schema.Literal<"data_table_cell">;
685
+ readonly objectPath: Schema.String;
686
+ readonly row: Schema.String;
687
+ readonly propertyPath: Schema.String;
688
+ }>, Schema.Struct<{
689
+ readonly kind: Schema.Literal<"string_table_entry">;
690
+ readonly objectPath: Schema.String;
691
+ readonly entryKey: Schema.String;
692
+ }>, Schema.Struct<{
693
+ readonly kind: Schema.Literal<"asset_property">;
694
+ readonly objectPath: Schema.String;
695
+ readonly classPath: Schema.String;
696
+ readonly propertyPath: Schema.String;
697
+ }>]>;
698
+ }>>;
699
+ readonly id: Schema.brand<Schema.String, "TextUnitId">;
700
+ readonly source: Schema.Union<readonly [Schema.Struct<{
701
+ readonly status: Schema.Literal<"consistent">;
702
+ readonly value: Schema.String;
703
+ }>, Schema.Struct<{
704
+ readonly status: Schema.Literal<"conflicting">;
705
+ readonly values: Schema.$Array<Schema.String>;
706
+ }>]>;
707
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
708
+ readonly status: Schema.Literal<"resolved">;
709
+ readonly namespace: Schema.String;
710
+ readonly key: Schema.NonEmptyString;
711
+ }>, Schema.Struct<{
712
+ readonly status: Schema.Literal<"unresolved">;
713
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
714
+ }>]>;
715
+ readonly locationKinds: Schema.$Array<Schema.Literals<readonly ["data_table_cell", "string_table_entry", "asset_property"]>>;
716
+ readonly characterCount: Schema.Int;
717
+ readonly occurrenceCount: Schema.Int;
718
+ readonly remainingContextCount: Schema.Int;
719
+ readonly reviewSignals: Schema.$Array<Schema.Literals<readonly ["shared", "duplicate_source", "long", "unresolved", "conflicting", "evidence_only"]>>;
720
+ readonly wordCount: Schema.Int;
721
+ }>>;
722
+ }>;
723
+ }, "Type"> | Schema.Struct.ReadonlySide<{
724
+ readonly status: Schema.Literal<"not_ready">;
725
+ }, "Type">, Schema.SchemaError, never>;
726
+ export declare const TextCorpusFocusRequest: Schema.Struct<{
727
+ readonly id: Schema.brand<Schema.String, "TextUnitId">;
728
+ readonly occurrenceCursor: Schema.optional<Schema.brand<Schema.String, "TextOccurrenceId">>;
729
+ readonly pageSize: Schema.Int;
730
+ }>;
731
+ export type TextCorpusFocusRequest = Schema.Schema.Type<typeof TextCorpusFocusRequest>;
732
+ export declare const TextCorpusFocus: Schema.Struct<{
733
+ readonly diagnostics: Schema.$Array<Schema.Struct<{
734
+ readonly code: Schema.Literals<readonly ["package_inspection_failed", "package_partially_decoded", "unsupported_text_history"]>;
735
+ readonly message: Schema.String;
736
+ readonly packageFile: Schema.String;
737
+ readonly objectPath: Schema.optional<Schema.String>;
738
+ readonly propertyPath: Schema.optional<Schema.String>;
739
+ }>>;
740
+ readonly nextOccurrenceCursor: Schema.optional<Schema.brand<Schema.String, "TextOccurrenceId">>;
741
+ readonly occurrences: Schema.$Array<Schema.Struct<{
742
+ readonly id: Schema.brand<Schema.String, "TextOccurrenceId">;
743
+ readonly packageFile: Schema.String;
744
+ readonly source: Schema.String;
745
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
746
+ readonly status: Schema.Literal<"resolved">;
747
+ readonly namespace: Schema.String;
748
+ readonly key: Schema.NonEmptyString;
749
+ }>, Schema.Struct<{
750
+ readonly status: Schema.Literal<"unresolved">;
751
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
752
+ }>]>;
753
+ readonly location: Schema.Union<readonly [Schema.Struct<{
754
+ readonly kind: Schema.Literal<"data_table_cell">;
755
+ readonly objectPath: Schema.String;
756
+ readonly row: Schema.String;
757
+ readonly propertyPath: Schema.String;
758
+ }>, Schema.Struct<{
759
+ readonly kind: Schema.Literal<"string_table_entry">;
760
+ readonly objectPath: Schema.String;
761
+ readonly entryKey: Schema.String;
762
+ }>, Schema.Struct<{
763
+ readonly kind: Schema.Literal<"asset_property">;
764
+ readonly objectPath: Schema.String;
765
+ readonly classPath: Schema.String;
766
+ readonly propertyPath: Schema.String;
767
+ }>]>;
768
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
769
+ }>>;
770
+ readonly totalOccurrences: Schema.Int;
771
+ readonly unit: Schema.Struct<{
772
+ readonly contexts: Schema.$Array<Schema.Struct<{
773
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
774
+ readonly location: Schema.Union<readonly [Schema.Struct<{
775
+ readonly kind: Schema.Literal<"data_table_cell">;
776
+ readonly objectPath: Schema.String;
777
+ readonly row: Schema.String;
778
+ readonly propertyPath: Schema.String;
779
+ }>, Schema.Struct<{
780
+ readonly kind: Schema.Literal<"string_table_entry">;
781
+ readonly objectPath: Schema.String;
782
+ readonly entryKey: Schema.String;
783
+ }>, Schema.Struct<{
784
+ readonly kind: Schema.Literal<"asset_property">;
785
+ readonly objectPath: Schema.String;
786
+ readonly classPath: Schema.String;
787
+ readonly propertyPath: Schema.String;
788
+ }>]>;
789
+ }>>;
790
+ readonly id: Schema.brand<Schema.String, "TextUnitId">;
791
+ readonly source: Schema.Union<readonly [Schema.Struct<{
792
+ readonly status: Schema.Literal<"consistent">;
793
+ readonly value: Schema.String;
794
+ }>, Schema.Struct<{
795
+ readonly status: Schema.Literal<"conflicting">;
796
+ readonly values: Schema.$Array<Schema.String>;
797
+ }>]>;
798
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
799
+ readonly status: Schema.Literal<"resolved">;
800
+ readonly namespace: Schema.String;
801
+ readonly key: Schema.NonEmptyString;
802
+ }>, Schema.Struct<{
803
+ readonly status: Schema.Literal<"unresolved">;
804
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
805
+ }>]>;
806
+ readonly locationKinds: Schema.$Array<Schema.Literals<readonly ["data_table_cell", "string_table_entry", "asset_property"]>>;
807
+ readonly characterCount: Schema.Int;
808
+ readonly occurrenceCount: Schema.Int;
809
+ readonly remainingContextCount: Schema.Int;
810
+ readonly reviewSignals: Schema.$Array<Schema.Literals<readonly ["shared", "duplicate_source", "long", "unresolved", "conflicting", "evidence_only"]>>;
811
+ readonly wordCount: Schema.Int;
812
+ }>;
813
+ }>;
814
+ export type TextCorpusFocus = Schema.Schema.Type<typeof TextCorpusFocus>;
815
+ export declare const TextCorpusFocusResult: Schema.Union<readonly [Schema.Struct<{
816
+ readonly status: Schema.Literal<"found">;
817
+ readonly focus: Schema.Struct<{
818
+ readonly diagnostics: Schema.$Array<Schema.Struct<{
819
+ readonly code: Schema.Literals<readonly ["package_inspection_failed", "package_partially_decoded", "unsupported_text_history"]>;
820
+ readonly message: Schema.String;
821
+ readonly packageFile: Schema.String;
822
+ readonly objectPath: Schema.optional<Schema.String>;
823
+ readonly propertyPath: Schema.optional<Schema.String>;
824
+ }>>;
825
+ readonly nextOccurrenceCursor: Schema.optional<Schema.brand<Schema.String, "TextOccurrenceId">>;
826
+ readonly occurrences: Schema.$Array<Schema.Struct<{
827
+ readonly id: Schema.brand<Schema.String, "TextOccurrenceId">;
828
+ readonly packageFile: Schema.String;
829
+ readonly source: Schema.String;
830
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
831
+ readonly status: Schema.Literal<"resolved">;
832
+ readonly namespace: Schema.String;
833
+ readonly key: Schema.NonEmptyString;
834
+ }>, Schema.Struct<{
835
+ readonly status: Schema.Literal<"unresolved">;
836
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
837
+ }>]>;
838
+ readonly location: Schema.Union<readonly [Schema.Struct<{
839
+ readonly kind: Schema.Literal<"data_table_cell">;
840
+ readonly objectPath: Schema.String;
841
+ readonly row: Schema.String;
842
+ readonly propertyPath: Schema.String;
843
+ }>, Schema.Struct<{
844
+ readonly kind: Schema.Literal<"string_table_entry">;
845
+ readonly objectPath: Schema.String;
846
+ readonly entryKey: Schema.String;
847
+ }>, Schema.Struct<{
848
+ readonly kind: Schema.Literal<"asset_property">;
849
+ readonly objectPath: Schema.String;
850
+ readonly classPath: Schema.String;
851
+ readonly propertyPath: Schema.String;
852
+ }>]>;
853
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
854
+ }>>;
855
+ readonly totalOccurrences: Schema.Int;
856
+ readonly unit: Schema.Struct<{
857
+ readonly contexts: Schema.$Array<Schema.Struct<{
858
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
859
+ readonly location: Schema.Union<readonly [Schema.Struct<{
860
+ readonly kind: Schema.Literal<"data_table_cell">;
861
+ readonly objectPath: Schema.String;
862
+ readonly row: Schema.String;
863
+ readonly propertyPath: Schema.String;
864
+ }>, Schema.Struct<{
865
+ readonly kind: Schema.Literal<"string_table_entry">;
866
+ readonly objectPath: Schema.String;
867
+ readonly entryKey: Schema.String;
868
+ }>, Schema.Struct<{
869
+ readonly kind: Schema.Literal<"asset_property">;
870
+ readonly objectPath: Schema.String;
871
+ readonly classPath: Schema.String;
872
+ readonly propertyPath: Schema.String;
873
+ }>]>;
874
+ }>>;
875
+ readonly id: Schema.brand<Schema.String, "TextUnitId">;
876
+ readonly source: Schema.Union<readonly [Schema.Struct<{
877
+ readonly status: Schema.Literal<"consistent">;
878
+ readonly value: Schema.String;
879
+ }>, Schema.Struct<{
880
+ readonly status: Schema.Literal<"conflicting">;
881
+ readonly values: Schema.$Array<Schema.String>;
882
+ }>]>;
883
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
884
+ readonly status: Schema.Literal<"resolved">;
885
+ readonly namespace: Schema.String;
886
+ readonly key: Schema.NonEmptyString;
887
+ }>, Schema.Struct<{
888
+ readonly status: Schema.Literal<"unresolved">;
889
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
890
+ }>]>;
891
+ readonly locationKinds: Schema.$Array<Schema.Literals<readonly ["data_table_cell", "string_table_entry", "asset_property"]>>;
892
+ readonly characterCount: Schema.Int;
893
+ readonly occurrenceCount: Schema.Int;
894
+ readonly remainingContextCount: Schema.Int;
895
+ readonly reviewSignals: Schema.$Array<Schema.Literals<readonly ["shared", "duplicate_source", "long", "unresolved", "conflicting", "evidence_only"]>>;
896
+ readonly wordCount: Schema.Int;
897
+ }>;
898
+ }>;
899
+ }>, Schema.Struct<{
900
+ readonly status: Schema.Literal<"not_found">;
901
+ }>, Schema.Struct<{
902
+ readonly status: Schema.Literal<"not_ready">;
903
+ }>]>;
904
+ export type TextCorpusFocusResult = Schema.Schema.Type<typeof TextCorpusFocusResult>;
905
+ export declare const decodeTextCorpusFocusResult: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<Schema.Struct.ReadonlySide<{
906
+ readonly status: Schema.Literal<"found">;
907
+ readonly focus: Schema.Struct<{
908
+ readonly diagnostics: Schema.$Array<Schema.Struct<{
909
+ readonly code: Schema.Literals<readonly ["package_inspection_failed", "package_partially_decoded", "unsupported_text_history"]>;
910
+ readonly message: Schema.String;
911
+ readonly packageFile: Schema.String;
912
+ readonly objectPath: Schema.optional<Schema.String>;
913
+ readonly propertyPath: Schema.optional<Schema.String>;
914
+ }>>;
915
+ readonly nextOccurrenceCursor: Schema.optional<Schema.brand<Schema.String, "TextOccurrenceId">>;
916
+ readonly occurrences: Schema.$Array<Schema.Struct<{
917
+ readonly id: Schema.brand<Schema.String, "TextOccurrenceId">;
918
+ readonly packageFile: Schema.String;
919
+ readonly source: Schema.String;
920
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
921
+ readonly status: Schema.Literal<"resolved">;
922
+ readonly namespace: Schema.String;
923
+ readonly key: Schema.NonEmptyString;
924
+ }>, Schema.Struct<{
925
+ readonly status: Schema.Literal<"unresolved">;
926
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
927
+ }>]>;
928
+ readonly location: Schema.Union<readonly [Schema.Struct<{
929
+ readonly kind: Schema.Literal<"data_table_cell">;
930
+ readonly objectPath: Schema.String;
931
+ readonly row: Schema.String;
932
+ readonly propertyPath: Schema.String;
933
+ }>, Schema.Struct<{
934
+ readonly kind: Schema.Literal<"string_table_entry">;
935
+ readonly objectPath: Schema.String;
936
+ readonly entryKey: Schema.String;
937
+ }>, Schema.Struct<{
938
+ readonly kind: Schema.Literal<"asset_property">;
939
+ readonly objectPath: Schema.String;
940
+ readonly classPath: Schema.String;
941
+ readonly propertyPath: Schema.String;
942
+ }>]>;
943
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
944
+ }>>;
945
+ readonly totalOccurrences: Schema.Int;
946
+ readonly unit: Schema.Struct<{
947
+ readonly contexts: Schema.$Array<Schema.Struct<{
948
+ readonly editCapability: Schema.Literals<readonly ["source_editable", "read_only"]>;
949
+ readonly location: Schema.Union<readonly [Schema.Struct<{
950
+ readonly kind: Schema.Literal<"data_table_cell">;
951
+ readonly objectPath: Schema.String;
952
+ readonly row: Schema.String;
953
+ readonly propertyPath: Schema.String;
954
+ }>, Schema.Struct<{
955
+ readonly kind: Schema.Literal<"string_table_entry">;
956
+ readonly objectPath: Schema.String;
957
+ readonly entryKey: Schema.String;
958
+ }>, Schema.Struct<{
959
+ readonly kind: Schema.Literal<"asset_property">;
960
+ readonly objectPath: Schema.String;
961
+ readonly classPath: Schema.String;
962
+ readonly propertyPath: Schema.String;
963
+ }>]>;
964
+ }>>;
965
+ readonly id: Schema.brand<Schema.String, "TextUnitId">;
966
+ readonly source: Schema.Union<readonly [Schema.Struct<{
967
+ readonly status: Schema.Literal<"consistent">;
968
+ readonly value: Schema.String;
969
+ }>, Schema.Struct<{
970
+ readonly status: Schema.Literal<"conflicting">;
971
+ readonly values: Schema.$Array<Schema.String>;
972
+ }>]>;
973
+ readonly identity: Schema.Union<readonly [Schema.Struct<{
974
+ readonly status: Schema.Literal<"resolved">;
975
+ readonly namespace: Schema.String;
976
+ readonly key: Schema.NonEmptyString;
977
+ }>, Schema.Struct<{
978
+ readonly status: Schema.Literal<"unresolved">;
979
+ readonly reason: Schema.Literals<readonly ["culture_invariant", "missing_key"]>;
980
+ }>]>;
981
+ readonly locationKinds: Schema.$Array<Schema.Literals<readonly ["data_table_cell", "string_table_entry", "asset_property"]>>;
982
+ readonly characterCount: Schema.Int;
983
+ readonly occurrenceCount: Schema.Int;
984
+ readonly remainingContextCount: Schema.Int;
985
+ readonly reviewSignals: Schema.$Array<Schema.Literals<readonly ["shared", "duplicate_source", "long", "unresolved", "conflicting", "evidence_only"]>>;
986
+ readonly wordCount: Schema.Int;
987
+ }>;
988
+ }>;
989
+ }, "Type"> | Schema.Struct.ReadonlySide<{
990
+ readonly status: Schema.Literal<"not_found">;
991
+ }, "Type"> | Schema.Struct.ReadonlySide<{
992
+ readonly status: Schema.Literal<"not_ready">;
993
+ }, "Type">, Schema.SchemaError, never>;
994
+ //# sourceMappingURL=schema.d.ts.map