@lingo.dev/_spec 0.39.1 → 0.39.2

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.
package/build/index.d.cts CHANGED
@@ -137,9 +137,9 @@ type ConfigDefinition<T extends Z.ZodRawShape, P extends Z.ZodRawShape> = {
137
137
  declare const configV0Definition: ConfigDefinition<{
138
138
  version: Z.ZodDefault<Z.ZodNumber>;
139
139
  }, Z.ZodRawShape>;
140
- declare const configV1Definition: ConfigDefinition<Z.objectUtil.extendShape<{
140
+ declare const configV1Definition: ConfigDefinition<{
141
141
  version: Z.ZodDefault<Z.ZodNumber>;
142
- }, {
142
+ } & {
143
143
  locale: Z.ZodObject<{
144
144
  source: Z.ZodEffects<Z.ZodString, string, string>;
145
145
  targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
@@ -151,10 +151,9 @@ declare const configV1Definition: ConfigDefinition<Z.objectUtil.extendShape<{
151
151
  targets: string[];
152
152
  }>;
153
153
  buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>>>>;
154
- }>, Z.ZodRawShape>;
155
- declare const configV1_1Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
154
+ }, Z.ZodRawShape>;
155
+ declare const configV1_1Definition: ConfigDefinition<{
156
156
  version: Z.ZodDefault<Z.ZodNumber>;
157
- }, {
158
157
  locale: Z.ZodObject<{
159
158
  source: Z.ZodEffects<Z.ZodString, string, string>;
160
159
  targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
@@ -165,8 +164,7 @@ declare const configV1_1Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
165
164
  source: string;
166
165
  targets: string[];
167
166
  }>;
168
- buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>>>>;
169
- }>, {
167
+ } & {
170
168
  buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
171
169
  include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
172
170
  exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
@@ -177,22 +175,9 @@ declare const configV1_1Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
177
175
  exclude?: string[] | undefined;
178
176
  include?: string[] | undefined;
179
177
  }>>>;
180
- }>, Z.ZodRawShape>;
181
- declare const configV1_2Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
178
+ }, Z.ZodRawShape>;
179
+ declare const configV1_2Definition: ConfigDefinition<{
182
180
  version: Z.ZodDefault<Z.ZodNumber>;
183
- }, {
184
- locale: Z.ZodObject<{
185
- source: Z.ZodEffects<Z.ZodString, string, string>;
186
- targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
187
- }, "strip", Z.ZodTypeAny, {
188
- source: string;
189
- targets: string[];
190
- }, {
191
- source: string;
192
- targets: string[];
193
- }>;
194
- buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>>>>;
195
- }>, {
196
181
  buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
197
182
  include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
198
183
  exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
@@ -203,13 +188,13 @@ declare const configV1_2Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
203
188
  exclude?: string[] | undefined;
204
189
  include?: string[] | undefined;
205
190
  }>>>;
206
- }>, {
207
- locale: Z.ZodObject<Z.objectUtil.extendShape<{
191
+ } & {
192
+ locale: Z.ZodObject<{
208
193
  source: Z.ZodEffects<Z.ZodString, string, string>;
209
194
  targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
210
- }, {
195
+ } & {
211
196
  extraSource: Z.ZodOptional<Z.ZodEffects<Z.ZodString, string, string>>;
212
- }>, "strip", Z.ZodTypeAny, {
197
+ }, "strip", Z.ZodTypeAny, {
213
198
  source: string;
214
199
  targets: string[];
215
200
  extraSource?: string | undefined;
@@ -218,7 +203,7 @@ declare const configV1_2Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
218
203
  targets: string[];
219
204
  extraSource?: string | undefined;
220
205
  }>;
221
- }>, Z.ZodRawShape>;
206
+ }, Z.ZodRawShape>;
222
207
  declare const bucketItemSchema: Z.ZodObject<{
223
208
  path: Z.ZodString;
224
209
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -273,38 +258,14 @@ declare const bucketValueSchemaV1_3: Z.ZodObject<{
273
258
  })[] | undefined;
274
259
  injectLocale?: string[] | undefined;
275
260
  }>;
276
- declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
261
+ declare const configV1_3Definition: ConfigDefinition<{
277
262
  version: Z.ZodDefault<Z.ZodNumber>;
278
- }, {
279
263
  locale: Z.ZodObject<{
280
264
  source: Z.ZodEffects<Z.ZodString, string, string>;
281
265
  targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
282
- }, "strip", Z.ZodTypeAny, {
283
- source: string;
284
- targets: string[];
285
- }, {
286
- source: string;
287
- targets: string[];
288
- }>;
289
- buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>>>>;
290
- }>, {
291
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
292
- include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
293
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
294
- }, "strip", Z.ZodTypeAny, {
295
- include: string[];
296
- exclude?: string[] | undefined;
297
- }, {
298
- exclude?: string[] | undefined;
299
- include?: string[] | undefined;
300
- }>>>;
301
- }>, {
302
- locale: Z.ZodObject<Z.objectUtil.extendShape<{
303
- source: Z.ZodEffects<Z.ZodString, string, string>;
304
- targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
305
- }, {
266
+ } & {
306
267
  extraSource: Z.ZodOptional<Z.ZodEffects<Z.ZodString, string, string>>;
307
- }>, "strip", Z.ZodTypeAny, {
268
+ }, "strip", Z.ZodTypeAny, {
308
269
  source: string;
309
270
  targets: string[];
310
271
  extraSource?: string | undefined;
@@ -313,7 +274,7 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
313
274
  targets: string[];
314
275
  extraSource?: string | undefined;
315
276
  }>;
316
- }>, {
277
+ } & {
317
278
  buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
318
279
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
319
280
  path: Z.ZodString;
@@ -357,39 +318,15 @@ declare const configV1_3Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
357
318
  })[] | undefined;
358
319
  injectLocale?: string[] | undefined;
359
320
  }>>>;
360
- }>, Z.ZodRawShape>;
361
- declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
321
+ }, Z.ZodRawShape>;
322
+ declare const configV1_4Definition: ConfigDefinition<{
362
323
  version: Z.ZodDefault<Z.ZodNumber>;
363
- }, {
364
324
  locale: Z.ZodObject<{
365
325
  source: Z.ZodEffects<Z.ZodString, string, string>;
366
326
  targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
367
- }, "strip", Z.ZodTypeAny, {
368
- source: string;
369
- targets: string[];
370
- }, {
371
- source: string;
372
- targets: string[];
373
- }>;
374
- buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>>>>;
375
- }>, {
376
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
377
- include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
378
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
379
- }, "strip", Z.ZodTypeAny, {
380
- include: string[];
381
- exclude?: string[] | undefined;
382
- }, {
383
- exclude?: string[] | undefined;
384
- include?: string[] | undefined;
385
- }>>>;
386
- }>, {
387
- locale: Z.ZodObject<Z.objectUtil.extendShape<{
388
- source: Z.ZodEffects<Z.ZodString, string, string>;
389
- targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
390
- }, {
327
+ } & {
391
328
  extraSource: Z.ZodOptional<Z.ZodEffects<Z.ZodString, string, string>>;
392
- }>, "strip", Z.ZodTypeAny, {
329
+ }, "strip", Z.ZodTypeAny, {
393
330
  source: string;
394
331
  targets: string[];
395
332
  extraSource?: string | undefined;
@@ -398,7 +335,7 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
398
335
  targets: string[];
399
336
  extraSource?: string | undefined;
400
337
  }>;
401
- }>, {
338
+ } & {
402
339
  buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
403
340
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
404
341
  path: Z.ZodString;
@@ -442,41 +379,17 @@ declare const configV1_4Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
442
379
  })[] | undefined;
443
380
  injectLocale?: string[] | undefined;
444
381
  }>>>;
445
- }>, {
382
+ } & {
446
383
  $schema: Z.ZodDefault<Z.ZodString>;
447
- }>, Z.ZodRawShape>;
448
- declare const configV1_5Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
384
+ }, Z.ZodRawShape>;
385
+ declare const configV1_5Definition: ConfigDefinition<{
449
386
  version: Z.ZodDefault<Z.ZodNumber>;
450
- }, {
451
387
  locale: Z.ZodObject<{
452
388
  source: Z.ZodEffects<Z.ZodString, string, string>;
453
389
  targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
454
- }, "strip", Z.ZodTypeAny, {
455
- source: string;
456
- targets: string[];
457
- }, {
458
- source: string;
459
- targets: string[];
460
- }>;
461
- buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>>>>;
462
- }>, {
463
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
464
- include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
465
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
466
- }, "strip", Z.ZodTypeAny, {
467
- include: string[];
468
- exclude?: string[] | undefined;
469
- }, {
470
- exclude?: string[] | undefined;
471
- include?: string[] | undefined;
472
- }>>>;
473
- }>, {
474
- locale: Z.ZodObject<Z.objectUtil.extendShape<{
475
- source: Z.ZodEffects<Z.ZodString, string, string>;
476
- targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
477
- }, {
390
+ } & {
478
391
  extraSource: Z.ZodOptional<Z.ZodEffects<Z.ZodString, string, string>>;
479
- }>, "strip", Z.ZodTypeAny, {
392
+ }, "strip", Z.ZodTypeAny, {
480
393
  source: string;
481
394
  targets: string[];
482
395
  extraSource?: string | undefined;
@@ -485,7 +398,7 @@ declare const configV1_5Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
485
398
  targets: string[];
486
399
  extraSource?: string | undefined;
487
400
  }>;
488
- }>, {
401
+ } & {
489
402
  buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
490
403
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
491
404
  path: Z.ZodString;
@@ -529,9 +442,9 @@ declare const configV1_5Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
529
442
  })[] | undefined;
530
443
  injectLocale?: string[] | undefined;
531
444
  }>>>;
532
- }>, {
445
+ } & {
533
446
  $schema: Z.ZodDefault<Z.ZodString>;
534
- }>, {
447
+ } & {
535
448
  provider: Z.ZodOptional<Z.ZodObject<{
536
449
  id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter", "mistral"]>;
537
450
  model: Z.ZodString;
@@ -548,8 +461,8 @@ declare const configV1_5Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
548
461
  prompt: string;
549
462
  baseUrl?: string | undefined;
550
463
  }>>;
551
- }>, Z.ZodRawShape>;
552
- declare const bucketValueSchemaV1_6: Z.ZodObject<Z.objectUtil.extendShape<{
464
+ }, Z.ZodRawShape>;
465
+ declare const bucketValueSchemaV1_6: Z.ZodObject<{
553
466
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
554
467
  path: Z.ZodString;
555
468
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -571,9 +484,9 @@ declare const bucketValueSchemaV1_6: Z.ZodObject<Z.objectUtil.extendShape<{
571
484
  delimiter?: "-" | "_" | null | undefined;
572
485
  }>]>, "many">>>;
573
486
  injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
574
- }, {
487
+ } & {
575
488
  lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
576
- }>, "strip", Z.ZodTypeAny, {
489
+ }, "strip", Z.ZodTypeAny, {
577
490
  include: (string | {
578
491
  path: string;
579
492
  delimiter?: "-" | "_" | null | undefined;
@@ -596,38 +509,14 @@ declare const bucketValueSchemaV1_6: Z.ZodObject<Z.objectUtil.extendShape<{
596
509
  injectLocale?: string[] | undefined;
597
510
  lockedKeys?: string[] | undefined;
598
511
  }>;
599
- declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
512
+ declare const configV1_6Definition: ConfigDefinition<{
600
513
  version: Z.ZodDefault<Z.ZodNumber>;
601
- }, {
602
514
  locale: Z.ZodObject<{
603
515
  source: Z.ZodEffects<Z.ZodString, string, string>;
604
516
  targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
605
- }, "strip", Z.ZodTypeAny, {
606
- source: string;
607
- targets: string[];
608
- }, {
609
- source: string;
610
- targets: string[];
611
- }>;
612
- buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>>>>;
613
- }>, {
614
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
615
- include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
616
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
617
- }, "strip", Z.ZodTypeAny, {
618
- include: string[];
619
- exclude?: string[] | undefined;
620
- }, {
621
- exclude?: string[] | undefined;
622
- include?: string[] | undefined;
623
- }>>>;
624
- }>, {
625
- locale: Z.ZodObject<Z.objectUtil.extendShape<{
626
- source: Z.ZodEffects<Z.ZodString, string, string>;
627
- targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
628
- }, {
517
+ } & {
629
518
  extraSource: Z.ZodOptional<Z.ZodEffects<Z.ZodString, string, string>>;
630
- }>, "strip", Z.ZodTypeAny, {
519
+ }, "strip", Z.ZodTypeAny, {
631
520
  source: string;
632
521
  targets: string[];
633
522
  extraSource?: string | undefined;
@@ -636,7 +525,24 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
636
525
  targets: string[];
637
526
  extraSource?: string | undefined;
638
527
  }>;
639
- }>, {
528
+ $schema: Z.ZodDefault<Z.ZodString>;
529
+ provider: Z.ZodOptional<Z.ZodObject<{
530
+ id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter", "mistral"]>;
531
+ model: Z.ZodString;
532
+ prompt: Z.ZodString;
533
+ baseUrl: Z.ZodOptional<Z.ZodString>;
534
+ }, "strip", Z.ZodTypeAny, {
535
+ id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
536
+ model: string;
537
+ prompt: string;
538
+ baseUrl?: string | undefined;
539
+ }, {
540
+ id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
541
+ model: string;
542
+ prompt: string;
543
+ baseUrl?: string | undefined;
544
+ }>>;
545
+ } & {
640
546
  buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
641
547
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
642
548
  path: Z.ZodString;
@@ -659,6 +565,8 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
659
565
  delimiter?: "-" | "_" | null | undefined;
660
566
  }>]>, "many">>>;
661
567
  injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
568
+ } & {
569
+ lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
662
570
  }, "strip", Z.ZodTypeAny, {
663
571
  include: (string | {
664
572
  path: string;
@@ -669,6 +577,7 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
669
577
  delimiter?: "-" | "_" | null | undefined;
670
578
  })[] | undefined;
671
579
  injectLocale?: string[] | undefined;
580
+ lockedKeys?: string[] | undefined;
672
581
  }, {
673
582
  exclude?: (string | {
674
583
  path: string;
@@ -679,10 +588,77 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
679
588
  delimiter?: "-" | "_" | null | undefined;
680
589
  })[] | undefined;
681
590
  injectLocale?: string[] | undefined;
591
+ lockedKeys?: string[] | undefined;
682
592
  }>>>;
683
- }>, {
593
+ }, Z.ZodRawShape>;
594
+ declare const bucketValueSchemaV1_7: Z.ZodObject<{
595
+ include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
596
+ path: Z.ZodString;
597
+ delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
598
+ }, "strip", Z.ZodTypeAny, {
599
+ path: string;
600
+ delimiter?: "-" | "_" | null | undefined;
601
+ }, {
602
+ path: string;
603
+ delimiter?: "-" | "_" | null | undefined;
604
+ }>]>, "many">>;
605
+ exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
606
+ path: Z.ZodString;
607
+ delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
608
+ }, "strip", Z.ZodTypeAny, {
609
+ path: string;
610
+ delimiter?: "-" | "_" | null | undefined;
611
+ }, {
612
+ path: string;
613
+ delimiter?: "-" | "_" | null | undefined;
614
+ }>]>, "many">>>;
615
+ injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
616
+ } & {
617
+ lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
618
+ } & {
619
+ lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
620
+ }, "strip", Z.ZodTypeAny, {
621
+ include: (string | {
622
+ path: string;
623
+ delimiter?: "-" | "_" | null | undefined;
624
+ })[];
625
+ exclude?: (string | {
626
+ path: string;
627
+ delimiter?: "-" | "_" | null | undefined;
628
+ })[] | undefined;
629
+ injectLocale?: string[] | undefined;
630
+ lockedKeys?: string[] | undefined;
631
+ lockedPatterns?: string[] | undefined;
632
+ }, {
633
+ exclude?: (string | {
634
+ path: string;
635
+ delimiter?: "-" | "_" | null | undefined;
636
+ })[] | undefined;
637
+ include?: (string | {
638
+ path: string;
639
+ delimiter?: "-" | "_" | null | undefined;
640
+ })[] | undefined;
641
+ injectLocale?: string[] | undefined;
642
+ lockedKeys?: string[] | undefined;
643
+ lockedPatterns?: string[] | undefined;
644
+ }>;
645
+ declare const configV1_7Definition: ConfigDefinition<{
646
+ version: Z.ZodDefault<Z.ZodNumber>;
647
+ locale: Z.ZodObject<{
648
+ source: Z.ZodEffects<Z.ZodString, string, string>;
649
+ targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
650
+ } & {
651
+ extraSource: Z.ZodOptional<Z.ZodEffects<Z.ZodString, string, string>>;
652
+ }, "strip", Z.ZodTypeAny, {
653
+ source: string;
654
+ targets: string[];
655
+ extraSource?: string | undefined;
656
+ }, {
657
+ source: string;
658
+ targets: string[];
659
+ extraSource?: string | undefined;
660
+ }>;
684
661
  $schema: Z.ZodDefault<Z.ZodString>;
685
- }>, {
686
662
  provider: Z.ZodOptional<Z.ZodObject<{
687
663
  id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter", "mistral"]>;
688
664
  model: Z.ZodString;
@@ -699,8 +675,8 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
699
675
  prompt: string;
700
676
  baseUrl?: string | undefined;
701
677
  }>>;
702
- }>, {
703
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<Z.objectUtil.extendShape<{
678
+ } & {
679
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
704
680
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
705
681
  path: Z.ZodString;
706
682
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -722,9 +698,11 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
722
698
  delimiter?: "-" | "_" | null | undefined;
723
699
  }>]>, "many">>>;
724
700
  injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
725
- }, {
701
+ } & {
726
702
  lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
727
- }>, "strip", Z.ZodTypeAny, {
703
+ } & {
704
+ lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
705
+ }, "strip", Z.ZodTypeAny, {
728
706
  include: (string | {
729
707
  path: string;
730
708
  delimiter?: "-" | "_" | null | undefined;
@@ -735,6 +713,7 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
735
713
  })[] | undefined;
736
714
  injectLocale?: string[] | undefined;
737
715
  lockedKeys?: string[] | undefined;
716
+ lockedPatterns?: string[] | undefined;
738
717
  }, {
739
718
  exclude?: (string | {
740
719
  path: string;
@@ -746,9 +725,10 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
746
725
  })[] | undefined;
747
726
  injectLocale?: string[] | undefined;
748
727
  lockedKeys?: string[] | undefined;
728
+ lockedPatterns?: string[] | undefined;
749
729
  }>>>;
750
- }>, Z.ZodRawShape>;
751
- declare const bucketValueSchemaV1_7: Z.ZodObject<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
730
+ }, Z.ZodRawShape>;
731
+ declare const bucketValueSchemaV1_8: Z.ZodObject<{
752
732
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
753
733
  path: Z.ZodString;
754
734
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -770,11 +750,13 @@ declare const bucketValueSchemaV1_7: Z.ZodObject<Z.objectUtil.extendShape<Z.obje
770
750
  delimiter?: "-" | "_" | null | undefined;
771
751
  }>]>, "many">>>;
772
752
  injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
773
- }, {
753
+ } & {
774
754
  lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
775
- }>, {
755
+ } & {
776
756
  lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
777
- }>, "strip", Z.ZodTypeAny, {
757
+ } & {
758
+ ignoredKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
759
+ }, "strip", Z.ZodTypeAny, {
778
760
  include: (string | {
779
761
  path: string;
780
762
  delimiter?: "-" | "_" | null | undefined;
@@ -786,6 +768,7 @@ declare const bucketValueSchemaV1_7: Z.ZodObject<Z.objectUtil.extendShape<Z.obje
786
768
  injectLocale?: string[] | undefined;
787
769
  lockedKeys?: string[] | undefined;
788
770
  lockedPatterns?: string[] | undefined;
771
+ ignoredKeys?: string[] | undefined;
789
772
  }, {
790
773
  exclude?: (string | {
791
774
  path: string;
@@ -798,39 +781,16 @@ declare const bucketValueSchemaV1_7: Z.ZodObject<Z.objectUtil.extendShape<Z.obje
798
781
  injectLocale?: string[] | undefined;
799
782
  lockedKeys?: string[] | undefined;
800
783
  lockedPatterns?: string[] | undefined;
784
+ ignoredKeys?: string[] | undefined;
801
785
  }>;
802
- declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
786
+ declare const configV1_8Definition: ConfigDefinition<{
803
787
  version: Z.ZodDefault<Z.ZodNumber>;
804
- }, {
805
788
  locale: Z.ZodObject<{
806
789
  source: Z.ZodEffects<Z.ZodString, string, string>;
807
790
  targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
808
- }, "strip", Z.ZodTypeAny, {
809
- source: string;
810
- targets: string[];
811
- }, {
812
- source: string;
813
- targets: string[];
814
- }>;
815
- buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>>>>;
816
- }>, {
817
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
818
- include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
819
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
820
- }, "strip", Z.ZodTypeAny, {
821
- include: string[];
822
- exclude?: string[] | undefined;
823
- }, {
824
- exclude?: string[] | undefined;
825
- include?: string[] | undefined;
826
- }>>>;
827
- }>, {
828
- locale: Z.ZodObject<Z.objectUtil.extendShape<{
829
- source: Z.ZodEffects<Z.ZodString, string, string>;
830
- targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
831
- }, {
791
+ } & {
832
792
  extraSource: Z.ZodOptional<Z.ZodEffects<Z.ZodString, string, string>>;
833
- }>, "strip", Z.ZodTypeAny, {
793
+ }, "strip", Z.ZodTypeAny, {
834
794
  source: string;
835
795
  targets: string[];
836
796
  extraSource?: string | undefined;
@@ -839,7 +799,24 @@ declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
839
799
  targets: string[];
840
800
  extraSource?: string | undefined;
841
801
  }>;
842
- }>, {
802
+ $schema: Z.ZodDefault<Z.ZodString>;
803
+ provider: Z.ZodOptional<Z.ZodObject<{
804
+ id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter", "mistral"]>;
805
+ model: Z.ZodString;
806
+ prompt: Z.ZodString;
807
+ baseUrl: Z.ZodOptional<Z.ZodString>;
808
+ }, "strip", Z.ZodTypeAny, {
809
+ id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
810
+ model: string;
811
+ prompt: string;
812
+ baseUrl?: string | undefined;
813
+ }, {
814
+ id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
815
+ model: string;
816
+ prompt: string;
817
+ baseUrl?: string | undefined;
818
+ }>>;
819
+ } & {
843
820
  buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
844
821
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
845
822
  path: Z.ZodString;
@@ -862,6 +839,12 @@ declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
862
839
  delimiter?: "-" | "_" | null | undefined;
863
840
  }>]>, "many">>>;
864
841
  injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
842
+ } & {
843
+ lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
844
+ } & {
845
+ lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
846
+ } & {
847
+ ignoredKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
865
848
  }, "strip", Z.ZodTypeAny, {
866
849
  include: (string | {
867
850
  path: string;
@@ -872,434 +855,6 @@ declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
872
855
  delimiter?: "-" | "_" | null | undefined;
873
856
  })[] | undefined;
874
857
  injectLocale?: string[] | undefined;
875
- }, {
876
- exclude?: (string | {
877
- path: string;
878
- delimiter?: "-" | "_" | null | undefined;
879
- })[] | undefined;
880
- include?: (string | {
881
- path: string;
882
- delimiter?: "-" | "_" | null | undefined;
883
- })[] | undefined;
884
- injectLocale?: string[] | undefined;
885
- }>>>;
886
- }>, {
887
- $schema: Z.ZodDefault<Z.ZodString>;
888
- }>, {
889
- provider: Z.ZodOptional<Z.ZodObject<{
890
- id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter", "mistral"]>;
891
- model: Z.ZodString;
892
- prompt: Z.ZodString;
893
- baseUrl: Z.ZodOptional<Z.ZodString>;
894
- }, "strip", Z.ZodTypeAny, {
895
- id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
896
- model: string;
897
- prompt: string;
898
- baseUrl?: string | undefined;
899
- }, {
900
- id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
901
- model: string;
902
- prompt: string;
903
- baseUrl?: string | undefined;
904
- }>>;
905
- }>, {
906
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<Z.objectUtil.extendShape<{
907
- include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
908
- path: Z.ZodString;
909
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
910
- }, "strip", Z.ZodTypeAny, {
911
- path: string;
912
- delimiter?: "-" | "_" | null | undefined;
913
- }, {
914
- path: string;
915
- delimiter?: "-" | "_" | null | undefined;
916
- }>]>, "many">>;
917
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
918
- path: Z.ZodString;
919
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
920
- }, "strip", Z.ZodTypeAny, {
921
- path: string;
922
- delimiter?: "-" | "_" | null | undefined;
923
- }, {
924
- path: string;
925
- delimiter?: "-" | "_" | null | undefined;
926
- }>]>, "many">>>;
927
- injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
928
- }, {
929
- lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
930
- }>, "strip", Z.ZodTypeAny, {
931
- include: (string | {
932
- path: string;
933
- delimiter?: "-" | "_" | null | undefined;
934
- })[];
935
- exclude?: (string | {
936
- path: string;
937
- delimiter?: "-" | "_" | null | undefined;
938
- })[] | undefined;
939
- injectLocale?: string[] | undefined;
940
- lockedKeys?: string[] | undefined;
941
- }, {
942
- exclude?: (string | {
943
- path: string;
944
- delimiter?: "-" | "_" | null | undefined;
945
- })[] | undefined;
946
- include?: (string | {
947
- path: string;
948
- delimiter?: "-" | "_" | null | undefined;
949
- })[] | undefined;
950
- injectLocale?: string[] | undefined;
951
- lockedKeys?: string[] | undefined;
952
- }>>>;
953
- }>, {
954
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
955
- include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
956
- path: Z.ZodString;
957
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
958
- }, "strip", Z.ZodTypeAny, {
959
- path: string;
960
- delimiter?: "-" | "_" | null | undefined;
961
- }, {
962
- path: string;
963
- delimiter?: "-" | "_" | null | undefined;
964
- }>]>, "many">>;
965
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
966
- path: Z.ZodString;
967
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
968
- }, "strip", Z.ZodTypeAny, {
969
- path: string;
970
- delimiter?: "-" | "_" | null | undefined;
971
- }, {
972
- path: string;
973
- delimiter?: "-" | "_" | null | undefined;
974
- }>]>, "many">>>;
975
- injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
976
- }, {
977
- lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
978
- }>, {
979
- lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
980
- }>, "strip", Z.ZodTypeAny, {
981
- include: (string | {
982
- path: string;
983
- delimiter?: "-" | "_" | null | undefined;
984
- })[];
985
- exclude?: (string | {
986
- path: string;
987
- delimiter?: "-" | "_" | null | undefined;
988
- })[] | undefined;
989
- injectLocale?: string[] | undefined;
990
- lockedKeys?: string[] | undefined;
991
- lockedPatterns?: string[] | undefined;
992
- }, {
993
- exclude?: (string | {
994
- path: string;
995
- delimiter?: "-" | "_" | null | undefined;
996
- })[] | undefined;
997
- include?: (string | {
998
- path: string;
999
- delimiter?: "-" | "_" | null | undefined;
1000
- })[] | undefined;
1001
- injectLocale?: string[] | undefined;
1002
- lockedKeys?: string[] | undefined;
1003
- lockedPatterns?: string[] | undefined;
1004
- }>>>;
1005
- }>, Z.ZodRawShape>;
1006
- declare const bucketValueSchemaV1_8: Z.ZodObject<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
1007
- include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1008
- path: Z.ZodString;
1009
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1010
- }, "strip", Z.ZodTypeAny, {
1011
- path: string;
1012
- delimiter?: "-" | "_" | null | undefined;
1013
- }, {
1014
- path: string;
1015
- delimiter?: "-" | "_" | null | undefined;
1016
- }>]>, "many">>;
1017
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1018
- path: Z.ZodString;
1019
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1020
- }, "strip", Z.ZodTypeAny, {
1021
- path: string;
1022
- delimiter?: "-" | "_" | null | undefined;
1023
- }, {
1024
- path: string;
1025
- delimiter?: "-" | "_" | null | undefined;
1026
- }>]>, "many">>>;
1027
- injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
1028
- }, {
1029
- lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1030
- }>, {
1031
- lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1032
- }>, {
1033
- ignoredKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1034
- }>, "strip", Z.ZodTypeAny, {
1035
- include: (string | {
1036
- path: string;
1037
- delimiter?: "-" | "_" | null | undefined;
1038
- })[];
1039
- exclude?: (string | {
1040
- path: string;
1041
- delimiter?: "-" | "_" | null | undefined;
1042
- })[] | undefined;
1043
- injectLocale?: string[] | undefined;
1044
- lockedKeys?: string[] | undefined;
1045
- lockedPatterns?: string[] | undefined;
1046
- ignoredKeys?: string[] | undefined;
1047
- }, {
1048
- exclude?: (string | {
1049
- path: string;
1050
- delimiter?: "-" | "_" | null | undefined;
1051
- })[] | undefined;
1052
- include?: (string | {
1053
- path: string;
1054
- delimiter?: "-" | "_" | null | undefined;
1055
- })[] | undefined;
1056
- injectLocale?: string[] | undefined;
1057
- lockedKeys?: string[] | undefined;
1058
- lockedPatterns?: string[] | undefined;
1059
- ignoredKeys?: string[] | undefined;
1060
- }>;
1061
- declare const configV1_8Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
1062
- version: Z.ZodDefault<Z.ZodNumber>;
1063
- }, {
1064
- locale: Z.ZodObject<{
1065
- source: Z.ZodEffects<Z.ZodString, string, string>;
1066
- targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
1067
- }, "strip", Z.ZodTypeAny, {
1068
- source: string;
1069
- targets: string[];
1070
- }, {
1071
- source: string;
1072
- targets: string[];
1073
- }>;
1074
- buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>>>>;
1075
- }>, {
1076
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
1077
- include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
1078
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1079
- }, "strip", Z.ZodTypeAny, {
1080
- include: string[];
1081
- exclude?: string[] | undefined;
1082
- }, {
1083
- exclude?: string[] | undefined;
1084
- include?: string[] | undefined;
1085
- }>>>;
1086
- }>, {
1087
- locale: Z.ZodObject<Z.objectUtil.extendShape<{
1088
- source: Z.ZodEffects<Z.ZodString, string, string>;
1089
- targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
1090
- }, {
1091
- extraSource: Z.ZodOptional<Z.ZodEffects<Z.ZodString, string, string>>;
1092
- }>, "strip", Z.ZodTypeAny, {
1093
- source: string;
1094
- targets: string[];
1095
- extraSource?: string | undefined;
1096
- }, {
1097
- source: string;
1098
- targets: string[];
1099
- extraSource?: string | undefined;
1100
- }>;
1101
- }>, {
1102
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
1103
- include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1104
- path: Z.ZodString;
1105
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1106
- }, "strip", Z.ZodTypeAny, {
1107
- path: string;
1108
- delimiter?: "-" | "_" | null | undefined;
1109
- }, {
1110
- path: string;
1111
- delimiter?: "-" | "_" | null | undefined;
1112
- }>]>, "many">>;
1113
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1114
- path: Z.ZodString;
1115
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1116
- }, "strip", Z.ZodTypeAny, {
1117
- path: string;
1118
- delimiter?: "-" | "_" | null | undefined;
1119
- }, {
1120
- path: string;
1121
- delimiter?: "-" | "_" | null | undefined;
1122
- }>]>, "many">>>;
1123
- injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
1124
- }, "strip", Z.ZodTypeAny, {
1125
- include: (string | {
1126
- path: string;
1127
- delimiter?: "-" | "_" | null | undefined;
1128
- })[];
1129
- exclude?: (string | {
1130
- path: string;
1131
- delimiter?: "-" | "_" | null | undefined;
1132
- })[] | undefined;
1133
- injectLocale?: string[] | undefined;
1134
- }, {
1135
- exclude?: (string | {
1136
- path: string;
1137
- delimiter?: "-" | "_" | null | undefined;
1138
- })[] | undefined;
1139
- include?: (string | {
1140
- path: string;
1141
- delimiter?: "-" | "_" | null | undefined;
1142
- })[] | undefined;
1143
- injectLocale?: string[] | undefined;
1144
- }>>>;
1145
- }>, {
1146
- $schema: Z.ZodDefault<Z.ZodString>;
1147
- }>, {
1148
- provider: Z.ZodOptional<Z.ZodObject<{
1149
- id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter", "mistral"]>;
1150
- model: Z.ZodString;
1151
- prompt: Z.ZodString;
1152
- baseUrl: Z.ZodOptional<Z.ZodString>;
1153
- }, "strip", Z.ZodTypeAny, {
1154
- id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
1155
- model: string;
1156
- prompt: string;
1157
- baseUrl?: string | undefined;
1158
- }, {
1159
- id: "openai" | "anthropic" | "google" | "ollama" | "openrouter" | "mistral";
1160
- model: string;
1161
- prompt: string;
1162
- baseUrl?: string | undefined;
1163
- }>>;
1164
- }>, {
1165
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<Z.objectUtil.extendShape<{
1166
- include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1167
- path: Z.ZodString;
1168
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1169
- }, "strip", Z.ZodTypeAny, {
1170
- path: string;
1171
- delimiter?: "-" | "_" | null | undefined;
1172
- }, {
1173
- path: string;
1174
- delimiter?: "-" | "_" | null | undefined;
1175
- }>]>, "many">>;
1176
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1177
- path: Z.ZodString;
1178
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1179
- }, "strip", Z.ZodTypeAny, {
1180
- path: string;
1181
- delimiter?: "-" | "_" | null | undefined;
1182
- }, {
1183
- path: string;
1184
- delimiter?: "-" | "_" | null | undefined;
1185
- }>]>, "many">>>;
1186
- injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
1187
- }, {
1188
- lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1189
- }>, "strip", Z.ZodTypeAny, {
1190
- include: (string | {
1191
- path: string;
1192
- delimiter?: "-" | "_" | null | undefined;
1193
- })[];
1194
- exclude?: (string | {
1195
- path: string;
1196
- delimiter?: "-" | "_" | null | undefined;
1197
- })[] | undefined;
1198
- injectLocale?: string[] | undefined;
1199
- lockedKeys?: string[] | undefined;
1200
- }, {
1201
- exclude?: (string | {
1202
- path: string;
1203
- delimiter?: "-" | "_" | null | undefined;
1204
- })[] | undefined;
1205
- include?: (string | {
1206
- path: string;
1207
- delimiter?: "-" | "_" | null | undefined;
1208
- })[] | undefined;
1209
- injectLocale?: string[] | undefined;
1210
- lockedKeys?: string[] | undefined;
1211
- }>>>;
1212
- }>, {
1213
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
1214
- include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1215
- path: Z.ZodString;
1216
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1217
- }, "strip", Z.ZodTypeAny, {
1218
- path: string;
1219
- delimiter?: "-" | "_" | null | undefined;
1220
- }, {
1221
- path: string;
1222
- delimiter?: "-" | "_" | null | undefined;
1223
- }>]>, "many">>;
1224
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1225
- path: Z.ZodString;
1226
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1227
- }, "strip", Z.ZodTypeAny, {
1228
- path: string;
1229
- delimiter?: "-" | "_" | null | undefined;
1230
- }, {
1231
- path: string;
1232
- delimiter?: "-" | "_" | null | undefined;
1233
- }>]>, "many">>>;
1234
- injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
1235
- }, {
1236
- lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1237
- }>, {
1238
- lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1239
- }>, "strip", Z.ZodTypeAny, {
1240
- include: (string | {
1241
- path: string;
1242
- delimiter?: "-" | "_" | null | undefined;
1243
- })[];
1244
- exclude?: (string | {
1245
- path: string;
1246
- delimiter?: "-" | "_" | null | undefined;
1247
- })[] | undefined;
1248
- injectLocale?: string[] | undefined;
1249
- lockedKeys?: string[] | undefined;
1250
- lockedPatterns?: string[] | undefined;
1251
- }, {
1252
- exclude?: (string | {
1253
- path: string;
1254
- delimiter?: "-" | "_" | null | undefined;
1255
- })[] | undefined;
1256
- include?: (string | {
1257
- path: string;
1258
- delimiter?: "-" | "_" | null | undefined;
1259
- })[] | undefined;
1260
- injectLocale?: string[] | undefined;
1261
- lockedKeys?: string[] | undefined;
1262
- lockedPatterns?: string[] | undefined;
1263
- }>>>;
1264
- }>, {
1265
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
1266
- include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1267
- path: Z.ZodString;
1268
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1269
- }, "strip", Z.ZodTypeAny, {
1270
- path: string;
1271
- delimiter?: "-" | "_" | null | undefined;
1272
- }, {
1273
- path: string;
1274
- delimiter?: "-" | "_" | null | undefined;
1275
- }>]>, "many">>;
1276
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1277
- path: Z.ZodString;
1278
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1279
- }, "strip", Z.ZodTypeAny, {
1280
- path: string;
1281
- delimiter?: "-" | "_" | null | undefined;
1282
- }, {
1283
- path: string;
1284
- delimiter?: "-" | "_" | null | undefined;
1285
- }>]>, "many">>>;
1286
- injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
1287
- }, {
1288
- lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1289
- }>, {
1290
- lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1291
- }>, {
1292
- ignoredKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1293
- }>, "strip", Z.ZodTypeAny, {
1294
- include: (string | {
1295
- path: string;
1296
- delimiter?: "-" | "_" | null | undefined;
1297
- })[];
1298
- exclude?: (string | {
1299
- path: string;
1300
- delimiter?: "-" | "_" | null | undefined;
1301
- })[] | undefined;
1302
- injectLocale?: string[] | undefined;
1303
858
  lockedKeys?: string[] | undefined;
1304
859
  lockedPatterns?: string[] | undefined;
1305
860
  ignoredKeys?: string[] | undefined;
@@ -1317,39 +872,15 @@ declare const configV1_8Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
1317
872
  lockedPatterns?: string[] | undefined;
1318
873
  ignoredKeys?: string[] | undefined;
1319
874
  }>>>;
1320
- }>, Z.ZodRawShape>;
1321
- declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
875
+ }, Z.ZodRawShape>;
876
+ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<{
1322
877
  version: Z.ZodDefault<Z.ZodNumber>;
1323
- }, {
1324
878
  locale: Z.ZodObject<{
1325
879
  source: Z.ZodEffects<Z.ZodString, string, string>;
1326
880
  targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
1327
- }, "strip", Z.ZodTypeAny, {
1328
- source: string;
1329
- targets: string[];
1330
- }, {
1331
- source: string;
1332
- targets: string[];
1333
- }>;
1334
- buckets: Z.ZodOptional<Z.ZodDefault<Z.ZodRecord<Z.ZodString, Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>>>>;
1335
- }>, {
1336
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
1337
- include: Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>;
1338
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1339
- }, "strip", Z.ZodTypeAny, {
1340
- include: string[];
1341
- exclude?: string[] | undefined;
1342
- }, {
1343
- exclude?: string[] | undefined;
1344
- include?: string[] | undefined;
1345
- }>>>;
1346
- }>, {
1347
- locale: Z.ZodObject<Z.objectUtil.extendShape<{
1348
- source: Z.ZodEffects<Z.ZodString, string, string>;
1349
- targets: Z.ZodArray<Z.ZodEffects<Z.ZodString, string, string>, "many">;
1350
- }, {
881
+ } & {
1351
882
  extraSource: Z.ZodOptional<Z.ZodEffects<Z.ZodString, string, string>>;
1352
- }>, "strip", Z.ZodTypeAny, {
883
+ }, "strip", Z.ZodTypeAny, {
1353
884
  source: string;
1354
885
  targets: string[];
1355
886
  extraSource?: string | undefined;
@@ -1358,53 +889,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
1358
889
  targets: string[];
1359
890
  extraSource?: string | undefined;
1360
891
  }>;
1361
- }>, {
1362
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
1363
- include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1364
- path: Z.ZodString;
1365
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1366
- }, "strip", Z.ZodTypeAny, {
1367
- path: string;
1368
- delimiter?: "-" | "_" | null | undefined;
1369
- }, {
1370
- path: string;
1371
- delimiter?: "-" | "_" | null | undefined;
1372
- }>]>, "many">>;
1373
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1374
- path: Z.ZodString;
1375
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1376
- }, "strip", Z.ZodTypeAny, {
1377
- path: string;
1378
- delimiter?: "-" | "_" | null | undefined;
1379
- }, {
1380
- path: string;
1381
- delimiter?: "-" | "_" | null | undefined;
1382
- }>]>, "many">>>;
1383
- injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
1384
- }, "strip", Z.ZodTypeAny, {
1385
- include: (string | {
1386
- path: string;
1387
- delimiter?: "-" | "_" | null | undefined;
1388
- })[];
1389
- exclude?: (string | {
1390
- path: string;
1391
- delimiter?: "-" | "_" | null | undefined;
1392
- })[] | undefined;
1393
- injectLocale?: string[] | undefined;
1394
- }, {
1395
- exclude?: (string | {
1396
- path: string;
1397
- delimiter?: "-" | "_" | null | undefined;
1398
- })[] | undefined;
1399
- include?: (string | {
1400
- path: string;
1401
- delimiter?: "-" | "_" | null | undefined;
1402
- })[] | undefined;
1403
- injectLocale?: string[] | undefined;
1404
- }>>>;
1405
- }>, {
1406
892
  $schema: Z.ZodDefault<Z.ZodString>;
1407
- }>, {
1408
893
  provider: Z.ZodOptional<Z.ZodObject<{
1409
894
  id: Z.ZodEnum<["openai", "anthropic", "google", "ollama", "openrouter", "mistral"]>;
1410
895
  model: Z.ZodString;
@@ -1421,108 +906,8 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
1421
906
  prompt: string;
1422
907
  baseUrl?: string | undefined;
1423
908
  }>>;
1424
- }>, {
1425
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<Z.objectUtil.extendShape<{
1426
- include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1427
- path: Z.ZodString;
1428
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1429
- }, "strip", Z.ZodTypeAny, {
1430
- path: string;
1431
- delimiter?: "-" | "_" | null | undefined;
1432
- }, {
1433
- path: string;
1434
- delimiter?: "-" | "_" | null | undefined;
1435
- }>]>, "many">>;
1436
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1437
- path: Z.ZodString;
1438
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1439
- }, "strip", Z.ZodTypeAny, {
1440
- path: string;
1441
- delimiter?: "-" | "_" | null | undefined;
1442
- }, {
1443
- path: string;
1444
- delimiter?: "-" | "_" | null | undefined;
1445
- }>]>, "many">>>;
1446
- injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
1447
- }, {
1448
- lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1449
- }>, "strip", Z.ZodTypeAny, {
1450
- include: (string | {
1451
- path: string;
1452
- delimiter?: "-" | "_" | null | undefined;
1453
- })[];
1454
- exclude?: (string | {
1455
- path: string;
1456
- delimiter?: "-" | "_" | null | undefined;
1457
- })[] | undefined;
1458
- injectLocale?: string[] | undefined;
1459
- lockedKeys?: string[] | undefined;
1460
- }, {
1461
- exclude?: (string | {
1462
- path: string;
1463
- delimiter?: "-" | "_" | null | undefined;
1464
- })[] | undefined;
1465
- include?: (string | {
1466
- path: string;
1467
- delimiter?: "-" | "_" | null | undefined;
1468
- })[] | undefined;
1469
- injectLocale?: string[] | undefined;
1470
- lockedKeys?: string[] | undefined;
1471
- }>>>;
1472
- }>, {
1473
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
1474
- include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1475
- path: Z.ZodString;
1476
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1477
- }, "strip", Z.ZodTypeAny, {
1478
- path: string;
1479
- delimiter?: "-" | "_" | null | undefined;
1480
- }, {
1481
- path: string;
1482
- delimiter?: "-" | "_" | null | undefined;
1483
- }>]>, "many">>;
1484
- exclude: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1485
- path: Z.ZodString;
1486
- delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
1487
- }, "strip", Z.ZodTypeAny, {
1488
- path: string;
1489
- delimiter?: "-" | "_" | null | undefined;
1490
- }, {
1491
- path: string;
1492
- delimiter?: "-" | "_" | null | undefined;
1493
- }>]>, "many">>>;
1494
- injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
1495
- }, {
1496
- lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1497
- }>, {
1498
- lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1499
- }>, "strip", Z.ZodTypeAny, {
1500
- include: (string | {
1501
- path: string;
1502
- delimiter?: "-" | "_" | null | undefined;
1503
- })[];
1504
- exclude?: (string | {
1505
- path: string;
1506
- delimiter?: "-" | "_" | null | undefined;
1507
- })[] | undefined;
1508
- injectLocale?: string[] | undefined;
1509
- lockedKeys?: string[] | undefined;
1510
- lockedPatterns?: string[] | undefined;
1511
- }, {
1512
- exclude?: (string | {
1513
- path: string;
1514
- delimiter?: "-" | "_" | null | undefined;
1515
- })[] | undefined;
1516
- include?: (string | {
1517
- path: string;
1518
- delimiter?: "-" | "_" | null | undefined;
1519
- })[] | undefined;
1520
- injectLocale?: string[] | undefined;
1521
- lockedKeys?: string[] | undefined;
1522
- lockedPatterns?: string[] | undefined;
1523
- }>>>;
1524
- }>, {
1525
- buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<Z.objectUtil.extendShape<Z.objectUtil.extendShape<Z.objectUtil.extendShape<{
909
+ } & {
910
+ buckets: Z.ZodDefault<Z.ZodRecord<Z.ZodEnum<["android", "csv", "ejs", "flutter", "html", "json", "markdown", "mdx", "xcode-strings", "xcode-stringsdict", "xcode-xcstrings", "yaml", "yaml-root-key", "properties", "po", "xliff", "xml", "srt", "dato", "compiler", "vtt", "php", "po", "vue-json", "typescript", "txt"]>, Z.ZodObject<{
1526
911
  include: Z.ZodDefault<Z.ZodArray<Z.ZodUnion<[Z.ZodString, Z.ZodObject<{
1527
912
  path: Z.ZodString;
1528
913
  delimiter: Z.ZodOptional<Z.ZodUnion<[Z.ZodLiteral<"-">, Z.ZodLiteral<"_">, Z.ZodLiteral<null>]>>;
@@ -1544,13 +929,13 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
1544
929
  delimiter?: "-" | "_" | null | undefined;
1545
930
  }>]>, "many">>>;
1546
931
  injectLocale: Z.ZodOptional<Z.ZodArray<Z.ZodString, "many">>;
1547
- }, {
932
+ } & {
1548
933
  lockedKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1549
- }>, {
934
+ } & {
1550
935
  lockedPatterns: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1551
- }>, {
936
+ } & {
1552
937
  ignoredKeys: Z.ZodOptional<Z.ZodDefault<Z.ZodArray<Z.ZodString, "many">>>;
1553
- }>, "strip", Z.ZodTypeAny, {
938
+ }, "strip", Z.ZodTypeAny, {
1554
939
  include: (string | {
1555
940
  path: string;
1556
941
  delimiter?: "-" | "_" | null | undefined;
@@ -1577,7 +962,7 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
1577
962
  lockedPatterns?: string[] | undefined;
1578
963
  ignoredKeys?: string[] | undefined;
1579
964
  }>>>;
1580
- }>, Z.ZodRawShape>;
965
+ }, Z.ZodRawShape>;
1581
966
  type I18nConfig = Z.infer<(typeof LATEST_CONFIG_DEFINITION)["schema"]>;
1582
967
  declare function parseI18nConfig(rawConfig: unknown): {
1583
968
  version: number;