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