@kulupu-linku/sona 0.3.7 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/index-7uKIarVW.d.mts +1495 -0
  2. package/dist/index-N8h8E1s6.d.mts +398 -0
  3. package/dist/index-nmyNJa57.d.mts +300 -0
  4. package/dist/lib/v1/client.d.mts +1610 -0
  5. package/dist/lib/v1/client.mjs +8 -0
  6. package/dist/lib/v1/client.test.d.mts +30 -0
  7. package/dist/lib/v1/client.test.mjs +2 -0
  8. package/dist/lib/v1/index.d.mts +2 -0
  9. package/dist/lib/v1/index.mjs +137 -0
  10. package/dist/lib/v1/types.d.mts +2 -0
  11. package/dist/lib/v1/types.mjs +1 -0
  12. package/dist/lib/v1/utils.d.mts +26 -0
  13. package/dist/lib/v1/utils.mjs +35 -0
  14. package/dist/lib/v2/client.d.mts +1610 -0
  15. package/dist/lib/v2/client.mjs +8 -0
  16. package/dist/lib/v2/client.test.d.mts +35 -0
  17. package/dist/lib/v2/client.test.mjs +2 -0
  18. package/dist/lib/v2/index.d.mts +2 -0
  19. package/dist/lib/v2/index.mjs +192 -0
  20. package/dist/lib/v2/types.d.mts +2 -0
  21. package/dist/lib/v2/types.mjs +1 -0
  22. package/dist/lib/v2/utils.d.mts +44 -0
  23. package/dist/lib/v2/utils.mjs +38 -0
  24. package/dist/server/index.d.mts +2 -0
  25. package/dist/server/index.mjs +35 -0
  26. package/dist/server/utils.d.mts +27 -0
  27. package/dist/server/utils.mjs +31 -0
  28. package/dist/server/v1/index.d.mts +902 -0
  29. package/dist/server/v1/index.mjs +2 -0
  30. package/dist/server/v2/index.d.mts +1112 -0
  31. package/dist/server/v2/index.mjs +2 -0
  32. package/dist/server/versioning.d.mts +2019 -0
  33. package/dist/server/versioning.mjs +2 -0
  34. package/dist/v1-Da4_o5R1.mjs +261 -0
  35. package/generated/{commentary_translation.json → v1/commentary_translation.json} +1 -1
  36. package/generated/{definition_translation.json → v1/definition_translation.json} +1 -1
  37. package/generated/{etymology_translation.json → v1/etymology_translation.json} +2 -4
  38. package/generated/{fingerspelling.json → v1/fingerspelling.json} +5 -20
  39. package/generated/{fingerspelling_sign.json → v1/fingerspelling_sign.json} +4 -16
  40. package/generated/{font.json → v1/font.json} +1 -1
  41. package/generated/{fonts.json → v1/fonts.json} +1 -1
  42. package/generated/{icon_translation.json → v1/icon_translation.json} +1 -1
  43. package/generated/{languages.json → v1/languages.json} +4 -14
  44. package/generated/{parameters_translation.json → v1/parameters_translation.json} +1 -1
  45. package/generated/{sign.json → v1/sign.json} +3 -8
  46. package/generated/{signs.json → v1/signs.json} +4 -12
  47. package/generated/{sitelen_pona_translation.json → v1/sitelen_pona_translation.json} +1 -1
  48. package/generated/{word.json → v1/word.json} +6 -29
  49. package/generated/v2/fingerspelling.json +184 -0
  50. package/generated/v2/fingerspellings.json +198 -0
  51. package/generated/v2/font.json +164 -0
  52. package/generated/v2/fonts.json +178 -0
  53. package/generated/v2/glyph.json +186 -0
  54. package/generated/v2/glyphs.json +196 -0
  55. package/generated/v2/language.json +76 -0
  56. package/generated/v2/languages.json +86 -0
  57. package/generated/v2/sign.json +221 -0
  58. package/generated/v2/signs.json +235 -0
  59. package/generated/v2/word.json +449 -0
  60. package/generated/v2/words.json +459 -0
  61. package/package.json +66 -35
  62. package/dist/client.d.ts +0 -2
  63. package/dist/client.js +0 -172
  64. package/dist/index.d.ts +0 -2
  65. package/dist/index.js +0 -223
  66. package/dist/lib/client.d.ts +0 -743
  67. package/dist/lib/client.test.d.ts +0 -27
  68. package/dist/lib/index.d.ts +0 -962
  69. package/dist/lib/types.d.ts +0 -17
  70. package/dist/lib/utils.d.ts +0 -13
  71. package/dist/server/index.d.ts +0 -685
  72. package/dist/server/utils.d.ts +0 -19
  73. package/dist/server/v1/index.d.ts +0 -677
  74. package/dist/server/versioning.d.ts +0 -2423
  75. package/dist/utils-B3Jq5OVZ.js +0 -2899
  76. package/dist/utils.d.ts +0 -2
  77. package/dist/utils.js +0 -9
  78. package/generated/words.json +0 -315
@@ -0,0 +1,2019 @@
1
+ import { z } from "zod/v4";
2
+ import * as _$hono_types0 from "hono/types";
3
+ import * as _$hono_hono_base0 from "hono/hono-base";
4
+
5
+ //#region src/server/versioning.d.ts
6
+ type ApiVersion = "v1" | "v2";
7
+ type Versions<V extends Record<ApiVersion, Record<string, EndpointConfig>>> = { [version in ApiVersion]: ApiConfig<V[version]> };
8
+ type ApiConfig<Endpoints extends Record<string, EndpointConfig>> = { [K in keyof Endpoints]: Endpoints[K] };
9
+ type EndpointConfig<Schema extends z.ZodType = z.ZodType> = {
10
+ root?: string;
11
+ filename: string;
12
+ schema: Schema;
13
+ translations?: boolean;
14
+ };
15
+ declare const versions: {
16
+ readonly v1: {
17
+ readonly words: {
18
+ readonly filename: "words.json";
19
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
20
+ id: z.ZodString;
21
+ author_verbatim: z.ZodString;
22
+ author_verbatim_source: z.ZodString;
23
+ book: z.ZodUnion<readonly [z.ZodLiteral<"pu">, z.ZodLiteral<"ku suli">, z.ZodLiteral<"ku lili">, z.ZodLiteral<"none">]>;
24
+ coined_era: z.ZodUnion<[z.ZodUnion<readonly [z.ZodLiteral<"pre-pu">, z.ZodLiteral<"post-pu">, z.ZodLiteral<"post-ku">]>, z.ZodLiteral<"">]>;
25
+ coined_year: z.ZodString;
26
+ creator: z.ZodArray<z.ZodString>;
27
+ ku_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
28
+ see_also: z.ZodArray<z.ZodString>;
29
+ resources: z.ZodOptional<z.ZodObject<{
30
+ sona_pona: z.ZodOptional<z.ZodString>;
31
+ lipamanka_semantic: z.ZodOptional<z.ZodString>;
32
+ }, z.core.$strip>>;
33
+ representations: z.ZodOptional<z.ZodObject<{
34
+ sitelen_emosi: z.ZodOptional<z.ZodString>;
35
+ sitelen_jelo: z.ZodOptional<z.ZodArray<z.ZodString>>;
36
+ ligatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
+ sitelen_sitelen: z.ZodOptional<z.ZodString>;
38
+ ucsur: z.ZodOptional<z.ZodString>;
39
+ }, z.core.$strip>>;
40
+ source_language: z.ZodString;
41
+ usage_category: z.ZodUnion<readonly [z.ZodLiteral<"core">, z.ZodLiteral<"common">, z.ZodLiteral<"uncommon">, z.ZodLiteral<"obscure">, z.ZodLiteral<"sandbox">]>;
42
+ word: z.ZodString;
43
+ deprecated: z.ZodBoolean;
44
+ etymology: z.ZodArray<z.ZodObject<{
45
+ word: z.ZodOptional<z.ZodString>;
46
+ alt: z.ZodOptional<z.ZodString>;
47
+ }, z.core.$strip>>;
48
+ audio: z.ZodArray<z.ZodObject<{
49
+ author: z.ZodString;
50
+ link: z.ZodString;
51
+ }, z.core.$strip>>;
52
+ pu_verbatim: z.ZodOptional<z.ZodObject<{
53
+ en: z.ZodString;
54
+ fr: z.ZodString;
55
+ de: z.ZodString;
56
+ eo: z.ZodString;
57
+ }, z.core.$strip>>;
58
+ usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
59
+ translations: z.ZodRecord<z.ZodString, z.ZodObject<{
60
+ commentary: z.ZodString;
61
+ definition: z.ZodString;
62
+ etymology: z.ZodArray<z.ZodObject<{
63
+ definition: z.ZodOptional<z.ZodString>;
64
+ language: z.ZodString;
65
+ }, z.core.$strip>>;
66
+ sp_etymology: z.ZodString;
67
+ }, z.core.$strip>>;
68
+ }, z.core.$strip>>;
69
+ };
70
+ readonly sandbox: {
71
+ readonly filename: "sandbox.json";
72
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
73
+ id: z.ZodString;
74
+ author_verbatim: z.ZodString;
75
+ author_verbatim_source: z.ZodString;
76
+ book: z.ZodUnion<readonly [z.ZodLiteral<"pu">, z.ZodLiteral<"ku suli">, z.ZodLiteral<"ku lili">, z.ZodLiteral<"none">]>;
77
+ coined_era: z.ZodUnion<[z.ZodUnion<readonly [z.ZodLiteral<"pre-pu">, z.ZodLiteral<"post-pu">, z.ZodLiteral<"post-ku">]>, z.ZodLiteral<"">]>;
78
+ coined_year: z.ZodString;
79
+ creator: z.ZodArray<z.ZodString>;
80
+ ku_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
81
+ see_also: z.ZodArray<z.ZodString>;
82
+ resources: z.ZodOptional<z.ZodObject<{
83
+ sona_pona: z.ZodOptional<z.ZodString>;
84
+ lipamanka_semantic: z.ZodOptional<z.ZodString>;
85
+ }, z.core.$strip>>;
86
+ representations: z.ZodOptional<z.ZodObject<{
87
+ sitelen_emosi: z.ZodOptional<z.ZodString>;
88
+ sitelen_jelo: z.ZodOptional<z.ZodArray<z.ZodString>>;
89
+ ligatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
90
+ sitelen_sitelen: z.ZodOptional<z.ZodString>;
91
+ ucsur: z.ZodOptional<z.ZodString>;
92
+ }, z.core.$strip>>;
93
+ source_language: z.ZodString;
94
+ usage_category: z.ZodUnion<readonly [z.ZodLiteral<"core">, z.ZodLiteral<"common">, z.ZodLiteral<"uncommon">, z.ZodLiteral<"obscure">, z.ZodLiteral<"sandbox">]>;
95
+ word: z.ZodString;
96
+ deprecated: z.ZodBoolean;
97
+ etymology: z.ZodArray<z.ZodObject<{
98
+ word: z.ZodOptional<z.ZodString>;
99
+ alt: z.ZodOptional<z.ZodString>;
100
+ }, z.core.$strip>>;
101
+ audio: z.ZodArray<z.ZodObject<{
102
+ author: z.ZodString;
103
+ link: z.ZodString;
104
+ }, z.core.$strip>>;
105
+ pu_verbatim: z.ZodOptional<z.ZodObject<{
106
+ en: z.ZodString;
107
+ fr: z.ZodString;
108
+ de: z.ZodString;
109
+ eo: z.ZodString;
110
+ }, z.core.$strip>>;
111
+ usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
112
+ translations: z.ZodRecord<z.ZodString, z.ZodObject<{
113
+ commentary: z.ZodString;
114
+ definition: z.ZodString;
115
+ etymology: z.ZodArray<z.ZodObject<{
116
+ definition: z.ZodOptional<z.ZodString>;
117
+ language: z.ZodString;
118
+ }, z.core.$strip>>;
119
+ sp_etymology: z.ZodString;
120
+ }, z.core.$strip>>;
121
+ }, z.core.$strip>>;
122
+ };
123
+ readonly fingerspellings: {
124
+ readonly filename: "fingerspelling.json";
125
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
126
+ id: z.ZodString;
127
+ is_two_handed: z.ZodBoolean;
128
+ etymology: z.ZodArray<z.ZodObject<{
129
+ language: z.ZodString;
130
+ sign: z.ZodString;
131
+ }, z.core.$strip>>;
132
+ signwriting: z.ZodObject<{
133
+ fsw: z.ZodString;
134
+ swu: z.ZodString;
135
+ }, z.core.$strip>;
136
+ video: z.ZodObject<{
137
+ gif: z.ZodOptional<z.ZodString>;
138
+ mp4: z.ZodOptional<z.ZodString>;
139
+ }, z.core.$strip>;
140
+ translations: z.ZodRecord<z.ZodString, z.ZodObject<{
141
+ parameters: z.ZodObject<{
142
+ handshape: z.ZodOptional<z.ZodString>;
143
+ movement: z.ZodOptional<z.ZodString>;
144
+ placement: z.ZodOptional<z.ZodString>;
145
+ orientation: z.ZodOptional<z.ZodString>;
146
+ }, z.core.$strip>;
147
+ }, z.core.$strip>>;
148
+ }, z.core.$strip>>;
149
+ };
150
+ readonly signs: {
151
+ readonly filename: "signs.json";
152
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
153
+ definition: z.ZodString;
154
+ id: z.ZodString;
155
+ is_two_handed: z.ZodBoolean;
156
+ new_gloss: z.ZodString;
157
+ old_gloss: z.ZodString;
158
+ etymology: z.ZodArray<z.ZodObject<{
159
+ language: z.ZodString;
160
+ sign: z.ZodOptional<z.ZodString>;
161
+ }, z.core.$strip>>;
162
+ signwriting: z.ZodObject<{
163
+ fsw: z.ZodString;
164
+ swu: z.ZodString;
165
+ }, z.core.$strip>;
166
+ video: z.ZodObject<{
167
+ gif: z.ZodOptional<z.ZodString>;
168
+ mp4: z.ZodOptional<z.ZodString>;
169
+ }, z.core.$strip>;
170
+ translations: z.ZodRecord<z.ZodString, z.ZodObject<{
171
+ parameters: z.ZodObject<{
172
+ handshape: z.ZodOptional<z.ZodString>;
173
+ movement: z.ZodOptional<z.ZodString>;
174
+ placement: z.ZodOptional<z.ZodString>;
175
+ orientation: z.ZodOptional<z.ZodString>;
176
+ }, z.core.$strip>;
177
+ icons: z.ZodString;
178
+ }, z.core.$strip>>;
179
+ }, z.core.$strip>>;
180
+ };
181
+ readonly fonts: {
182
+ readonly filename: "fonts.json";
183
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
184
+ id: z.ZodString;
185
+ creator: z.ZodArray<z.ZodString>;
186
+ features: z.ZodArray<z.ZodString>;
187
+ filename: z.ZodString;
188
+ last_updated: z.ZodOptional<z.ZodString>;
189
+ license: z.ZodString;
190
+ ligatures: z.ZodBoolean;
191
+ name: z.ZodString;
192
+ style: z.ZodString;
193
+ ucsur: z.ZodBoolean;
194
+ version: z.ZodString;
195
+ writing_system: z.ZodEnum<{
196
+ "sitelen pona": "sitelen pona";
197
+ "sitelen sitelen": "sitelen sitelen";
198
+ alphabet: "alphabet";
199
+ syllabary: "syllabary";
200
+ logography: "logography";
201
+ "tokiponido alphabet": "tokiponido alphabet";
202
+ "tokiponido syllabary": "tokiponido syllabary";
203
+ "tokiponido logography": "tokiponido logography";
204
+ }>;
205
+ links: z.ZodObject<{
206
+ fontfile: z.ZodOptional<z.ZodString>;
207
+ repo: z.ZodOptional<z.ZodString>;
208
+ webpage: z.ZodOptional<z.ZodString>;
209
+ }, z.core.$strip>;
210
+ }, z.core.$strip>>;
211
+ };
212
+ readonly languages: {
213
+ readonly filename: "languages.json";
214
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
215
+ id: z.ZodString;
216
+ locale: z.ZodString;
217
+ direction: z.ZodUnion<readonly [z.ZodLiteral<"ltr">, z.ZodLiteral<"rtl">]>;
218
+ name: z.ZodObject<{
219
+ en: z.ZodString;
220
+ tok: z.ZodOptional<z.ZodString>;
221
+ endonym: z.ZodOptional<z.ZodString>;
222
+ }, z.core.$strip>;
223
+ }, z.core.$strip>>;
224
+ };
225
+ };
226
+ readonly v2: {
227
+ readonly words: {
228
+ readonly root: "/";
229
+ readonly filename: "words.json";
230
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
231
+ id: z.ZodString;
232
+ word: z.ZodString;
233
+ author_verbatim: z.ZodOptional<z.ZodString>;
234
+ author_source: z.ZodOptional<z.ZodString>;
235
+ book: z.ZodEnum<{
236
+ pu: "pu";
237
+ "ku suli": "ku suli";
238
+ "ku lili": "ku lili";
239
+ none: "none";
240
+ }>;
241
+ coined_era: z.ZodEnum<{
242
+ "pre-pu": "pre-pu";
243
+ "post-pu": "post-pu";
244
+ "post-ku": "post-ku";
245
+ }>;
246
+ creation_date: z.ZodString;
247
+ author: z.ZodArray<z.ZodString>;
248
+ ku_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
249
+ parent_id: z.ZodOptional<z.ZodString>;
250
+ see_also: z.ZodArray<z.ZodString>;
251
+ resources: z.ZodObject<{
252
+ sona_pona: z.ZodOptional<z.ZodURL>;
253
+ lipamanka_semantic: z.ZodOptional<z.ZodURL>;
254
+ }, z.core.$strip>;
255
+ representations: z.ZodObject<{
256
+ sitelen_emosi: z.ZodOptional<z.ZodEmoji>;
257
+ sitelen_jelo: z.ZodOptional<z.ZodArray<z.ZodEmoji>>;
258
+ ligatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
259
+ sitelen_sitelen: z.ZodOptional<z.ZodURL>;
260
+ ucsur: z.ZodOptional<z.ZodString>;
261
+ }, z.core.$strip>;
262
+ source_language: z.ZodString;
263
+ usage_category: z.ZodEnum<{
264
+ core: "core";
265
+ common: "common";
266
+ uncommon: "uncommon";
267
+ obscure: "obscure";
268
+ sandbox: "sandbox";
269
+ }>;
270
+ deprecated: z.ZodBoolean;
271
+ audio: z.ZodArray<z.ZodObject<{
272
+ author: z.ZodString;
273
+ link: z.ZodURL;
274
+ }, z.core.$strip>>;
275
+ pu_verbatim: z.ZodOptional<z.ZodObject<{
276
+ en: z.ZodString;
277
+ fr: z.ZodString;
278
+ de: z.ZodString;
279
+ eo: z.ZodString;
280
+ }, z.core.$strip>>;
281
+ usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
282
+ glyph_ids: z.ZodArray<z.ZodString>;
283
+ primary_glyph_id: z.ZodOptional<z.ZodString>;
284
+ image: z.ZodOptional<z.ZodURL>;
285
+ svg: z.ZodOptional<z.ZodURL>;
286
+ translations: z.ZodObject<{
287
+ commentary: z.ZodString;
288
+ etymology: z.ZodString;
289
+ definition: z.ZodString;
290
+ }, z.core.$strip>;
291
+ }, z.core.$strip>>;
292
+ readonly translations: true;
293
+ };
294
+ readonly glyphs: {
295
+ readonly root: "/";
296
+ readonly filename: "glyphs.json";
297
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
298
+ id: z.ZodString;
299
+ word: z.ZodString;
300
+ word_id: z.ZodString;
301
+ usage_category: z.ZodEnum<{
302
+ core: "core";
303
+ common: "common";
304
+ uncommon: "uncommon";
305
+ obscure: "obscure";
306
+ sandbox: "sandbox";
307
+ }>;
308
+ author: z.ZodArray<z.ZodString>;
309
+ author_source: z.ZodOptional<z.ZodString>;
310
+ creation_date: z.ZodString;
311
+ see_also: z.ZodArray<z.ZodString>;
312
+ primary: z.ZodBoolean;
313
+ parent_id: z.ZodOptional<z.ZodString>;
314
+ deprecated: z.ZodBoolean;
315
+ image: z.ZodOptional<z.ZodURL>;
316
+ svg: z.ZodOptional<z.ZodURL>;
317
+ ligature: z.ZodOptional<z.ZodString>;
318
+ alias_ligatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
319
+ ucsur: z.ZodOptional<z.ZodString>;
320
+ usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
321
+ translations: z.ZodObject<{
322
+ commentary: z.ZodString;
323
+ etymology: z.ZodString;
324
+ names: z.ZodArray<z.ZodString>;
325
+ }, z.core.$strip>;
326
+ }, z.core.$strip>>;
327
+ readonly translations: true;
328
+ };
329
+ readonly sandbox_words: {
330
+ readonly root: "sandbox/";
331
+ readonly filename: "words.json";
332
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
333
+ id: z.ZodString;
334
+ word: z.ZodString;
335
+ author_verbatim: z.ZodOptional<z.ZodString>;
336
+ author_source: z.ZodOptional<z.ZodString>;
337
+ book: z.ZodEnum<{
338
+ pu: "pu";
339
+ "ku suli": "ku suli";
340
+ "ku lili": "ku lili";
341
+ none: "none";
342
+ }>;
343
+ coined_era: z.ZodEnum<{
344
+ "pre-pu": "pre-pu";
345
+ "post-pu": "post-pu";
346
+ "post-ku": "post-ku";
347
+ }>;
348
+ creation_date: z.ZodString;
349
+ author: z.ZodArray<z.ZodString>;
350
+ ku_data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
351
+ parent_id: z.ZodOptional<z.ZodString>;
352
+ see_also: z.ZodArray<z.ZodString>;
353
+ resources: z.ZodObject<{
354
+ sona_pona: z.ZodOptional<z.ZodURL>;
355
+ lipamanka_semantic: z.ZodOptional<z.ZodURL>;
356
+ }, z.core.$strip>;
357
+ representations: z.ZodObject<{
358
+ sitelen_emosi: z.ZodOptional<z.ZodEmoji>;
359
+ sitelen_jelo: z.ZodOptional<z.ZodArray<z.ZodEmoji>>;
360
+ ligatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
361
+ sitelen_sitelen: z.ZodOptional<z.ZodURL>;
362
+ ucsur: z.ZodOptional<z.ZodString>;
363
+ }, z.core.$strip>;
364
+ source_language: z.ZodString;
365
+ usage_category: z.ZodEnum<{
366
+ core: "core";
367
+ common: "common";
368
+ uncommon: "uncommon";
369
+ obscure: "obscure";
370
+ sandbox: "sandbox";
371
+ }>;
372
+ deprecated: z.ZodBoolean;
373
+ audio: z.ZodArray<z.ZodObject<{
374
+ author: z.ZodString;
375
+ link: z.ZodURL;
376
+ }, z.core.$strip>>;
377
+ pu_verbatim: z.ZodOptional<z.ZodObject<{
378
+ en: z.ZodString;
379
+ fr: z.ZodString;
380
+ de: z.ZodString;
381
+ eo: z.ZodString;
382
+ }, z.core.$strip>>;
383
+ usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
384
+ glyph_ids: z.ZodArray<z.ZodString>;
385
+ primary_glyph_id: z.ZodOptional<z.ZodString>;
386
+ image: z.ZodOptional<z.ZodURL>;
387
+ svg: z.ZodOptional<z.ZodURL>;
388
+ translations: z.ZodObject<{
389
+ commentary: z.ZodString;
390
+ etymology: z.ZodString;
391
+ definition: z.ZodString;
392
+ }, z.core.$strip>;
393
+ }, z.core.$strip>>;
394
+ readonly translations: true;
395
+ };
396
+ readonly sandbox_glyphs: {
397
+ readonly root: "sandbox/";
398
+ readonly filename: "glyphs.json";
399
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
400
+ id: z.ZodString;
401
+ word: z.ZodString;
402
+ word_id: z.ZodString;
403
+ usage_category: z.ZodEnum<{
404
+ core: "core";
405
+ common: "common";
406
+ uncommon: "uncommon";
407
+ obscure: "obscure";
408
+ sandbox: "sandbox";
409
+ }>;
410
+ author: z.ZodArray<z.ZodString>;
411
+ author_source: z.ZodOptional<z.ZodString>;
412
+ creation_date: z.ZodString;
413
+ see_also: z.ZodArray<z.ZodString>;
414
+ primary: z.ZodBoolean;
415
+ parent_id: z.ZodOptional<z.ZodString>;
416
+ deprecated: z.ZodBoolean;
417
+ image: z.ZodOptional<z.ZodURL>;
418
+ svg: z.ZodOptional<z.ZodURL>;
419
+ ligature: z.ZodOptional<z.ZodString>;
420
+ alias_ligatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
421
+ ucsur: z.ZodOptional<z.ZodString>;
422
+ usage: z.ZodRecord<z.ZodString, z.ZodNumber>;
423
+ translations: z.ZodObject<{
424
+ commentary: z.ZodString;
425
+ etymology: z.ZodString;
426
+ names: z.ZodArray<z.ZodString>;
427
+ }, z.core.$strip>;
428
+ }, z.core.$strip>>;
429
+ readonly translations: true;
430
+ };
431
+ readonly signs: {
432
+ readonly root: "luka_pona/";
433
+ readonly filename: "signs.json";
434
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
435
+ id: z.ZodString;
436
+ is_two_handed: z.ZodBoolean;
437
+ etymology: z.ZodArray<z.ZodObject<{
438
+ language: z.ZodString;
439
+ sign: z.ZodOptional<z.ZodString>;
440
+ }, z.core.$strip>>;
441
+ signwriting: z.ZodObject<{
442
+ fsw: z.ZodString;
443
+ swu: z.ZodString;
444
+ }, z.core.$strip>;
445
+ video: z.ZodOptional<z.ZodObject<{
446
+ gif: z.ZodURL;
447
+ mp4: z.ZodURL;
448
+ }, z.core.$strip>>;
449
+ definition: z.ZodString;
450
+ new_gloss: z.ZodString;
451
+ old_gloss: z.ZodString;
452
+ old_id: z.ZodString;
453
+ translations: z.ZodObject<{
454
+ icons: z.ZodString;
455
+ parameters: z.ZodObject<{
456
+ handshape: z.ZodOptional<z.ZodString>;
457
+ movement: z.ZodOptional<z.ZodString>;
458
+ placement: z.ZodOptional<z.ZodString>;
459
+ orientation: z.ZodOptional<z.ZodString>;
460
+ }, z.core.$strip>;
461
+ }, z.core.$strip>;
462
+ }, z.core.$strip>>;
463
+ readonly translations: true;
464
+ };
465
+ readonly fingerspellings: {
466
+ readonly root: "luka_pona/";
467
+ readonly filename: "fingerspellings.json";
468
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
469
+ id: z.ZodString;
470
+ is_two_handed: z.ZodBoolean;
471
+ etymology: z.ZodArray<z.ZodObject<{
472
+ language: z.ZodString;
473
+ sign: z.ZodOptional<z.ZodString>;
474
+ }, z.core.$strip>>;
475
+ signwriting: z.ZodObject<{
476
+ fsw: z.ZodString;
477
+ swu: z.ZodString;
478
+ }, z.core.$strip>;
479
+ video: z.ZodOptional<z.ZodObject<{
480
+ gif: z.ZodURL;
481
+ mp4: z.ZodURL;
482
+ }, z.core.$strip>>;
483
+ translations: z.ZodObject<{
484
+ parameters: z.ZodObject<{
485
+ handshape: z.ZodOptional<z.ZodString>;
486
+ movement: z.ZodOptional<z.ZodString>;
487
+ placement: z.ZodOptional<z.ZodString>;
488
+ orientation: z.ZodOptional<z.ZodString>;
489
+ }, z.core.$strip>;
490
+ }, z.core.$strip>;
491
+ }, z.core.$strip>>;
492
+ readonly translations: true;
493
+ };
494
+ readonly fonts: {
495
+ readonly root: "/";
496
+ readonly filename: "fonts.json";
497
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
498
+ id: z.ZodString;
499
+ author: z.ZodArray<z.ZodString>;
500
+ features: z.ZodArray<z.ZodString>;
501
+ filename: z.ZodString;
502
+ last_updated: z.ZodString;
503
+ license: z.ZodString;
504
+ ligatures: z.ZodBoolean;
505
+ name: z.ZodString;
506
+ style: z.ZodString;
507
+ ucsur: z.ZodBoolean;
508
+ version: z.ZodString;
509
+ writing_system: z.ZodEnum<{
510
+ "sitelen pona": "sitelen pona";
511
+ "sitelen sitelen": "sitelen sitelen";
512
+ alphabet: "alphabet";
513
+ syllabary: "syllabary";
514
+ logography: "logography";
515
+ "tokiponido alphabet": "tokiponido alphabet";
516
+ "tokiponido syllabary": "tokiponido syllabary";
517
+ "tokiponido logography": "tokiponido logography";
518
+ }>;
519
+ links: z.ZodObject<{
520
+ fontfile: z.ZodOptional<z.ZodURL>;
521
+ repo: z.ZodOptional<z.ZodURL>;
522
+ webpage: z.ZodOptional<z.ZodURL>;
523
+ }, z.core.$strip>;
524
+ }, z.core.$strip>>;
525
+ readonly translations: false;
526
+ };
527
+ readonly languages: {
528
+ readonly root: "/";
529
+ readonly filename: "languages.json";
530
+ readonly schema: z.ZodRecord<z.ZodString, z.ZodObject<{
531
+ id: z.ZodString;
532
+ locale: z.ZodString;
533
+ direction: z.ZodUnion<readonly [z.ZodLiteral<"ltr">, z.ZodLiteral<"rtl">]>;
534
+ name: z.ZodObject<{
535
+ en: z.ZodString;
536
+ endonym: z.ZodString;
537
+ tok: z.ZodOptional<z.ZodString>;
538
+ }, z.core.$strip>;
539
+ }, z.core.$strip>>;
540
+ readonly translations: false;
541
+ };
542
+ };
543
+ };
544
+ type FilesToVariables<Version extends ApiVersion, Endpoints extends (typeof versions)[Version] = (typeof versions)[Version]> = { [K in keyof Endpoints]: z.output<Endpoints[K]["schema"]> };
545
+ declare const apps: {
546
+ readonly v1: _$hono_hono_base0.HonoBase<_$hono_types0.BlankEnv, {
547
+ "/": {
548
+ $get: {
549
+ input: {};
550
+ output: undefined;
551
+ outputFormat: "redirect";
552
+ status: 302;
553
+ };
554
+ };
555
+ } & {
556
+ "/words": {
557
+ $get: {
558
+ input: {
559
+ query: {
560
+ lang?: string | undefined;
561
+ };
562
+ };
563
+ output: {
564
+ [x: string]: {
565
+ id: string;
566
+ author_verbatim: string;
567
+ author_verbatim_source: string;
568
+ book: "pu" | "ku suli" | "ku lili" | "none";
569
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
570
+ coined_year: string;
571
+ creator: string[];
572
+ see_also: string[];
573
+ source_language: string;
574
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
575
+ word: string;
576
+ deprecated: boolean;
577
+ etymology: {
578
+ word?: string | undefined;
579
+ alt?: string | undefined;
580
+ }[];
581
+ audio: {
582
+ author: string;
583
+ link: string;
584
+ }[];
585
+ usage: {
586
+ [x: string]: number;
587
+ };
588
+ translations: {
589
+ [x: string]: {
590
+ commentary: string;
591
+ definition: string;
592
+ etymology: {
593
+ language: string;
594
+ definition?: string | undefined;
595
+ }[];
596
+ sp_etymology: string;
597
+ };
598
+ };
599
+ ku_data?: {
600
+ [x: string]: number;
601
+ } | undefined;
602
+ resources?: {
603
+ sona_pona?: string | undefined;
604
+ lipamanka_semantic?: string | undefined;
605
+ } | undefined;
606
+ representations?: {
607
+ sitelen_emosi?: string | undefined;
608
+ sitelen_jelo?: string[] | undefined;
609
+ ligatures?: string[] | undefined;
610
+ sitelen_sitelen?: string | undefined;
611
+ ucsur?: string | undefined;
612
+ } | undefined;
613
+ pu_verbatim?: {
614
+ en: string;
615
+ fr: string;
616
+ de: string;
617
+ eo: string;
618
+ } | undefined;
619
+ };
620
+ };
621
+ outputFormat: "json";
622
+ status: 200;
623
+ };
624
+ };
625
+ } & {
626
+ "/words/:word": {
627
+ $get: {
628
+ input: {
629
+ query: {
630
+ lang?: string | undefined;
631
+ };
632
+ } & {
633
+ param: {
634
+ word: string;
635
+ };
636
+ };
637
+ output: {
638
+ ok: true;
639
+ data: {
640
+ id: string;
641
+ author_verbatim: string;
642
+ author_verbatim_source: string;
643
+ book: "pu" | "ku suli" | "ku lili" | "none";
644
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
645
+ coined_year: string;
646
+ creator: string[];
647
+ see_also: string[];
648
+ source_language: string;
649
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
650
+ word: string;
651
+ deprecated: boolean;
652
+ etymology: {
653
+ word?: string | undefined;
654
+ alt?: string | undefined;
655
+ }[];
656
+ audio: {
657
+ author: string;
658
+ link: string;
659
+ }[];
660
+ usage: {
661
+ [x: string]: number;
662
+ };
663
+ translations: {
664
+ [x: string]: {
665
+ commentary: string;
666
+ definition: string;
667
+ etymology: {
668
+ language: string;
669
+ definition?: string | undefined;
670
+ }[];
671
+ sp_etymology: string;
672
+ };
673
+ };
674
+ ku_data?: {
675
+ [x: string]: number;
676
+ } | undefined;
677
+ resources?: {
678
+ sona_pona?: string | undefined;
679
+ lipamanka_semantic?: string | undefined;
680
+ } | undefined;
681
+ representations?: {
682
+ sitelen_emosi?: string | undefined;
683
+ sitelen_jelo?: string[] | undefined;
684
+ ligatures?: string[] | undefined;
685
+ sitelen_sitelen?: string | undefined;
686
+ ucsur?: string | undefined;
687
+ } | undefined;
688
+ pu_verbatim?: {
689
+ en: string;
690
+ fr: string;
691
+ de: string;
692
+ eo: string;
693
+ } | undefined;
694
+ };
695
+ };
696
+ outputFormat: "json";
697
+ status: 200;
698
+ } | {
699
+ input: {
700
+ query: {
701
+ lang?: string | undefined;
702
+ };
703
+ } & {
704
+ param: {
705
+ word: string;
706
+ };
707
+ };
708
+ output: {
709
+ ok: false;
710
+ message: string;
711
+ };
712
+ outputFormat: "json";
713
+ status: 400;
714
+ };
715
+ };
716
+ } & {
717
+ "/sandbox": {
718
+ $get: {
719
+ input: {
720
+ query: {
721
+ lang?: string | undefined;
722
+ };
723
+ };
724
+ output: {
725
+ [x: string]: {
726
+ id: string;
727
+ author_verbatim: string;
728
+ author_verbatim_source: string;
729
+ book: "pu" | "ku suli" | "ku lili" | "none";
730
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
731
+ coined_year: string;
732
+ creator: string[];
733
+ see_also: string[];
734
+ source_language: string;
735
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
736
+ word: string;
737
+ deprecated: boolean;
738
+ etymology: {
739
+ word?: string | undefined;
740
+ alt?: string | undefined;
741
+ }[];
742
+ audio: {
743
+ author: string;
744
+ link: string;
745
+ }[];
746
+ usage: {
747
+ [x: string]: number;
748
+ };
749
+ translations: {
750
+ [x: string]: {
751
+ commentary: string;
752
+ definition: string;
753
+ etymology: {
754
+ language: string;
755
+ definition?: string | undefined;
756
+ }[];
757
+ sp_etymology: string;
758
+ };
759
+ };
760
+ ku_data?: {
761
+ [x: string]: number;
762
+ } | undefined;
763
+ resources?: {
764
+ sona_pona?: string | undefined;
765
+ lipamanka_semantic?: string | undefined;
766
+ } | undefined;
767
+ representations?: {
768
+ sitelen_emosi?: string | undefined;
769
+ sitelen_jelo?: string[] | undefined;
770
+ ligatures?: string[] | undefined;
771
+ sitelen_sitelen?: string | undefined;
772
+ ucsur?: string | undefined;
773
+ } | undefined;
774
+ pu_verbatim?: {
775
+ en: string;
776
+ fr: string;
777
+ de: string;
778
+ eo: string;
779
+ } | undefined;
780
+ };
781
+ };
782
+ outputFormat: "json";
783
+ status: 200;
784
+ };
785
+ };
786
+ } & {
787
+ "/sandbox/:word": {
788
+ $get: {
789
+ input: {
790
+ query: {
791
+ lang?: string | undefined;
792
+ };
793
+ } & {
794
+ param: {
795
+ word: string;
796
+ };
797
+ };
798
+ output: {
799
+ ok: true;
800
+ data: {
801
+ id: string;
802
+ author_verbatim: string;
803
+ author_verbatim_source: string;
804
+ book: "pu" | "ku suli" | "ku lili" | "none";
805
+ coined_era: "" | "pre-pu" | "post-pu" | "post-ku";
806
+ coined_year: string;
807
+ creator: string[];
808
+ see_also: string[];
809
+ source_language: string;
810
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
811
+ word: string;
812
+ deprecated: boolean;
813
+ etymology: {
814
+ word?: string | undefined;
815
+ alt?: string | undefined;
816
+ }[];
817
+ audio: {
818
+ author: string;
819
+ link: string;
820
+ }[];
821
+ usage: {
822
+ [x: string]: number;
823
+ };
824
+ translations: {
825
+ [x: string]: {
826
+ commentary: string;
827
+ definition: string;
828
+ etymology: {
829
+ language: string;
830
+ definition?: string | undefined;
831
+ }[];
832
+ sp_etymology: string;
833
+ };
834
+ };
835
+ ku_data?: {
836
+ [x: string]: number;
837
+ } | undefined;
838
+ resources?: {
839
+ sona_pona?: string | undefined;
840
+ lipamanka_semantic?: string | undefined;
841
+ } | undefined;
842
+ representations?: {
843
+ sitelen_emosi?: string | undefined;
844
+ sitelen_jelo?: string[] | undefined;
845
+ ligatures?: string[] | undefined;
846
+ sitelen_sitelen?: string | undefined;
847
+ ucsur?: string | undefined;
848
+ } | undefined;
849
+ pu_verbatim?: {
850
+ en: string;
851
+ fr: string;
852
+ de: string;
853
+ eo: string;
854
+ } | undefined;
855
+ };
856
+ };
857
+ outputFormat: "json";
858
+ status: 200;
859
+ } | {
860
+ input: {
861
+ query: {
862
+ lang?: string | undefined;
863
+ };
864
+ } & {
865
+ param: {
866
+ word: string;
867
+ };
868
+ };
869
+ output: {
870
+ ok: false;
871
+ message: string;
872
+ };
873
+ outputFormat: "json";
874
+ status: 400;
875
+ };
876
+ };
877
+ } & {
878
+ "/luka_pona": {
879
+ $get: {
880
+ input: {};
881
+ output: undefined;
882
+ outputFormat: "redirect";
883
+ status: 302;
884
+ };
885
+ };
886
+ } & {
887
+ "/luka_pona/fingerspelling": {
888
+ $get: {
889
+ input: {
890
+ query: {
891
+ lang?: string | undefined;
892
+ };
893
+ };
894
+ output: {
895
+ [x: string]: {
896
+ id: string;
897
+ is_two_handed: boolean;
898
+ etymology: {
899
+ language: string;
900
+ sign: string;
901
+ }[];
902
+ signwriting: {
903
+ fsw: string;
904
+ swu: string;
905
+ };
906
+ video: {
907
+ gif?: string | undefined;
908
+ mp4?: string | undefined;
909
+ };
910
+ translations: {
911
+ [x: string]: {
912
+ parameters: {
913
+ handshape?: string | undefined;
914
+ movement?: string | undefined;
915
+ placement?: string | undefined;
916
+ orientation?: string | undefined;
917
+ };
918
+ };
919
+ };
920
+ };
921
+ };
922
+ outputFormat: "json";
923
+ status: 200;
924
+ };
925
+ };
926
+ } & {
927
+ "/luka_pona/fingerspelling/:sign": {
928
+ $get: {
929
+ input: {
930
+ query: {
931
+ lang?: string | undefined;
932
+ };
933
+ } & {
934
+ param: {
935
+ sign: string;
936
+ };
937
+ };
938
+ output: {
939
+ ok: true;
940
+ data: {
941
+ id: string;
942
+ is_two_handed: boolean;
943
+ etymology: {
944
+ language: string;
945
+ sign: string;
946
+ }[];
947
+ signwriting: {
948
+ fsw: string;
949
+ swu: string;
950
+ };
951
+ video: {
952
+ gif?: string | undefined;
953
+ mp4?: string | undefined;
954
+ };
955
+ translations: {
956
+ [x: string]: {
957
+ parameters: {
958
+ handshape?: string | undefined;
959
+ movement?: string | undefined;
960
+ placement?: string | undefined;
961
+ orientation?: string | undefined;
962
+ };
963
+ };
964
+ };
965
+ };
966
+ };
967
+ outputFormat: "json";
968
+ status: 200;
969
+ } | {
970
+ input: {
971
+ query: {
972
+ lang?: string | undefined;
973
+ };
974
+ } & {
975
+ param: {
976
+ sign: string;
977
+ };
978
+ };
979
+ output: {
980
+ ok: false;
981
+ message: string;
982
+ };
983
+ outputFormat: "json";
984
+ status: 400;
985
+ };
986
+ };
987
+ } & {
988
+ "/luka_pona/signs": {
989
+ $get: {
990
+ input: {
991
+ query: {
992
+ lang?: string | undefined;
993
+ };
994
+ };
995
+ output: {
996
+ [x: string]: {
997
+ definition: string;
998
+ id: string;
999
+ is_two_handed: boolean;
1000
+ new_gloss: string;
1001
+ old_gloss: string;
1002
+ etymology: {
1003
+ language: string;
1004
+ sign?: string | undefined;
1005
+ }[];
1006
+ signwriting: {
1007
+ fsw: string;
1008
+ swu: string;
1009
+ };
1010
+ video: {
1011
+ gif?: string | undefined;
1012
+ mp4?: string | undefined;
1013
+ };
1014
+ translations: {
1015
+ [x: string]: {
1016
+ parameters: {
1017
+ handshape?: string | undefined;
1018
+ movement?: string | undefined;
1019
+ placement?: string | undefined;
1020
+ orientation?: string | undefined;
1021
+ };
1022
+ icons: string;
1023
+ };
1024
+ };
1025
+ };
1026
+ };
1027
+ outputFormat: "json";
1028
+ status: 200;
1029
+ };
1030
+ };
1031
+ } & {
1032
+ "/luka_pona/signs/:sign": {
1033
+ $get: {
1034
+ input: {
1035
+ query: {
1036
+ lang?: string | undefined;
1037
+ };
1038
+ } & {
1039
+ param: {
1040
+ sign: string;
1041
+ };
1042
+ };
1043
+ output: {
1044
+ ok: true;
1045
+ data: {
1046
+ definition: string;
1047
+ id: string;
1048
+ is_two_handed: boolean;
1049
+ new_gloss: string;
1050
+ old_gloss: string;
1051
+ etymology: {
1052
+ language: string;
1053
+ sign?: string | undefined;
1054
+ }[];
1055
+ signwriting: {
1056
+ fsw: string;
1057
+ swu: string;
1058
+ };
1059
+ video: {
1060
+ gif?: string | undefined;
1061
+ mp4?: string | undefined;
1062
+ };
1063
+ translations: {
1064
+ [x: string]: {
1065
+ parameters: {
1066
+ handshape?: string | undefined;
1067
+ movement?: string | undefined;
1068
+ placement?: string | undefined;
1069
+ orientation?: string | undefined;
1070
+ };
1071
+ icons: string;
1072
+ };
1073
+ };
1074
+ };
1075
+ };
1076
+ outputFormat: "json";
1077
+ status: 200;
1078
+ } | {
1079
+ input: {
1080
+ query: {
1081
+ lang?: string | undefined;
1082
+ };
1083
+ } & {
1084
+ param: {
1085
+ sign: string;
1086
+ };
1087
+ };
1088
+ output: {
1089
+ ok: false;
1090
+ message: string;
1091
+ };
1092
+ outputFormat: "json";
1093
+ status: 400;
1094
+ };
1095
+ };
1096
+ } & {
1097
+ "/fonts": {
1098
+ $get: {
1099
+ input: {};
1100
+ output: {
1101
+ [x: string]: {
1102
+ id: string;
1103
+ creator: string[];
1104
+ features: string[];
1105
+ filename: string;
1106
+ license: string;
1107
+ ligatures: boolean;
1108
+ name: string;
1109
+ style: string;
1110
+ ucsur: boolean;
1111
+ version: string;
1112
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
1113
+ links: {
1114
+ fontfile?: string | undefined;
1115
+ repo?: string | undefined;
1116
+ webpage?: string | undefined;
1117
+ };
1118
+ last_updated?: string | undefined;
1119
+ };
1120
+ };
1121
+ outputFormat: "json";
1122
+ status: 200;
1123
+ };
1124
+ };
1125
+ } & {
1126
+ "/fonts/:font": {
1127
+ $get: {
1128
+ input: {
1129
+ param: {
1130
+ font: string;
1131
+ };
1132
+ };
1133
+ output: {
1134
+ ok: true;
1135
+ data: {
1136
+ id: string;
1137
+ creator: string[];
1138
+ features: string[];
1139
+ filename: string;
1140
+ license: string;
1141
+ ligatures: boolean;
1142
+ name: string;
1143
+ style: string;
1144
+ ucsur: boolean;
1145
+ version: string;
1146
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
1147
+ links: {
1148
+ fontfile?: string | undefined;
1149
+ repo?: string | undefined;
1150
+ webpage?: string | undefined;
1151
+ };
1152
+ last_updated?: string | undefined;
1153
+ };
1154
+ };
1155
+ outputFormat: "json";
1156
+ status: 200;
1157
+ } | {
1158
+ input: {
1159
+ param: {
1160
+ font: string;
1161
+ };
1162
+ };
1163
+ output: {
1164
+ ok: false;
1165
+ message: string;
1166
+ };
1167
+ outputFormat: "json";
1168
+ status: 400;
1169
+ };
1170
+ };
1171
+ } & {
1172
+ "/languages": {
1173
+ $get: {
1174
+ input: {};
1175
+ output: {
1176
+ [x: string]: {
1177
+ id: string;
1178
+ locale: string;
1179
+ direction: "ltr" | "rtl";
1180
+ name: {
1181
+ en: string;
1182
+ tok?: string | undefined;
1183
+ endonym?: string | undefined;
1184
+ };
1185
+ };
1186
+ };
1187
+ outputFormat: "json";
1188
+ status: 200;
1189
+ };
1190
+ };
1191
+ } & {
1192
+ "/languages/:language": {
1193
+ $get: {
1194
+ input: {
1195
+ param: {
1196
+ language: string;
1197
+ };
1198
+ };
1199
+ output: {
1200
+ ok: true;
1201
+ data: {
1202
+ id: string;
1203
+ locale: string;
1204
+ direction: "ltr" | "rtl";
1205
+ name: {
1206
+ en: string;
1207
+ tok?: string | undefined;
1208
+ endonym?: string | undefined;
1209
+ };
1210
+ };
1211
+ };
1212
+ outputFormat: "json";
1213
+ status: 200;
1214
+ } | {
1215
+ input: {
1216
+ param: {
1217
+ language: string;
1218
+ };
1219
+ };
1220
+ output: {
1221
+ ok: false;
1222
+ message: string;
1223
+ };
1224
+ outputFormat: "json";
1225
+ status: 400;
1226
+ };
1227
+ };
1228
+ }, "/", "/languages/:language">;
1229
+ readonly v2: _$hono_hono_base0.HonoBase<_$hono_types0.BlankEnv, {
1230
+ "/": {
1231
+ $get: {
1232
+ input: {};
1233
+ output: undefined;
1234
+ outputFormat: "redirect";
1235
+ status: 302;
1236
+ };
1237
+ };
1238
+ } & {
1239
+ "/words": {
1240
+ $get: {
1241
+ input: {};
1242
+ output: {
1243
+ [x: string]: {
1244
+ id: string;
1245
+ word: string;
1246
+ book: "pu" | "ku suli" | "ku lili" | "none";
1247
+ coined_era: "pre-pu" | "post-pu" | "post-ku";
1248
+ creation_date: string;
1249
+ author: string[];
1250
+ see_also: string[];
1251
+ resources: {
1252
+ sona_pona?: string | undefined;
1253
+ lipamanka_semantic?: string | undefined;
1254
+ };
1255
+ representations: {
1256
+ sitelen_emosi?: string | undefined;
1257
+ sitelen_jelo?: string[] | undefined;
1258
+ ligatures?: string[] | undefined;
1259
+ sitelen_sitelen?: string | undefined;
1260
+ ucsur?: string | undefined;
1261
+ };
1262
+ source_language: string;
1263
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1264
+ deprecated: boolean;
1265
+ audio: {
1266
+ author: string;
1267
+ link: string;
1268
+ }[];
1269
+ usage: {
1270
+ [x: string]: number;
1271
+ };
1272
+ glyph_ids: string[];
1273
+ translations: {
1274
+ commentary: string;
1275
+ etymology: string;
1276
+ definition: string;
1277
+ };
1278
+ author_verbatim?: string | undefined;
1279
+ author_source?: string | undefined;
1280
+ ku_data?: {
1281
+ [x: string]: number;
1282
+ } | undefined;
1283
+ parent_id?: string | undefined;
1284
+ pu_verbatim?: {
1285
+ en: string;
1286
+ fr: string;
1287
+ de: string;
1288
+ eo: string;
1289
+ } | undefined;
1290
+ primary_glyph_id?: string | undefined;
1291
+ image?: string | undefined;
1292
+ svg?: string | undefined;
1293
+ };
1294
+ };
1295
+ outputFormat: "json";
1296
+ status: 200;
1297
+ };
1298
+ };
1299
+ } & {
1300
+ "/words/:word": {
1301
+ $get: {
1302
+ input: {
1303
+ param: {
1304
+ word: string;
1305
+ };
1306
+ };
1307
+ output: {
1308
+ success: true;
1309
+ data: {
1310
+ id: string;
1311
+ word: string;
1312
+ book: "pu" | "ku suli" | "ku lili" | "none";
1313
+ coined_era: "pre-pu" | "post-pu" | "post-ku";
1314
+ creation_date: string;
1315
+ author: string[];
1316
+ see_also: string[];
1317
+ resources: {
1318
+ sona_pona?: string | undefined;
1319
+ lipamanka_semantic?: string | undefined;
1320
+ };
1321
+ representations: {
1322
+ sitelen_emosi?: string | undefined;
1323
+ sitelen_jelo?: string[] | undefined;
1324
+ ligatures?: string[] | undefined;
1325
+ sitelen_sitelen?: string | undefined;
1326
+ ucsur?: string | undefined;
1327
+ };
1328
+ source_language: string;
1329
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1330
+ deprecated: boolean;
1331
+ audio: {
1332
+ author: string;
1333
+ link: string;
1334
+ }[];
1335
+ usage: {
1336
+ [x: string]: number;
1337
+ };
1338
+ glyph_ids: string[];
1339
+ translations: {
1340
+ commentary: string;
1341
+ etymology: string;
1342
+ definition: string;
1343
+ };
1344
+ author_verbatim?: string | undefined;
1345
+ author_source?: string | undefined;
1346
+ ku_data?: {
1347
+ [x: string]: number;
1348
+ } | undefined;
1349
+ parent_id?: string | undefined;
1350
+ pu_verbatim?: {
1351
+ en: string;
1352
+ fr: string;
1353
+ de: string;
1354
+ eo: string;
1355
+ } | undefined;
1356
+ primary_glyph_id?: string | undefined;
1357
+ image?: string | undefined;
1358
+ svg?: string | undefined;
1359
+ };
1360
+ };
1361
+ outputFormat: "json";
1362
+ status: 200;
1363
+ } | {
1364
+ input: {
1365
+ param: {
1366
+ word: string;
1367
+ };
1368
+ };
1369
+ output: {
1370
+ success: false;
1371
+ message: string;
1372
+ };
1373
+ outputFormat: "json";
1374
+ status: 400;
1375
+ };
1376
+ };
1377
+ } & {
1378
+ "/glyphs": {
1379
+ $get: {
1380
+ input: {};
1381
+ output: {
1382
+ [x: string]: {
1383
+ id: string;
1384
+ word: string;
1385
+ word_id: string;
1386
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1387
+ author: string[];
1388
+ creation_date: string;
1389
+ see_also: string[];
1390
+ primary: boolean;
1391
+ deprecated: boolean;
1392
+ usage: {
1393
+ [x: string]: number;
1394
+ };
1395
+ translations: {
1396
+ commentary: string;
1397
+ etymology: string;
1398
+ names: string[];
1399
+ };
1400
+ author_source?: string | undefined;
1401
+ parent_id?: string | undefined;
1402
+ image?: string | undefined;
1403
+ svg?: string | undefined;
1404
+ ligature?: string | undefined;
1405
+ alias_ligatures?: string[] | undefined;
1406
+ ucsur?: string | undefined;
1407
+ };
1408
+ };
1409
+ outputFormat: "json";
1410
+ status: 200;
1411
+ };
1412
+ };
1413
+ } & {
1414
+ "/glyphs/:glyph": {
1415
+ $get: {
1416
+ input: {
1417
+ param: {
1418
+ glyph: string;
1419
+ };
1420
+ };
1421
+ output: {
1422
+ success: true;
1423
+ data: {
1424
+ id: string;
1425
+ word: string;
1426
+ word_id: string;
1427
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1428
+ author: string[];
1429
+ creation_date: string;
1430
+ see_also: string[];
1431
+ primary: boolean;
1432
+ deprecated: boolean;
1433
+ usage: {
1434
+ [x: string]: number;
1435
+ };
1436
+ translations: {
1437
+ commentary: string;
1438
+ etymology: string;
1439
+ names: string[];
1440
+ };
1441
+ author_source?: string | undefined;
1442
+ parent_id?: string | undefined;
1443
+ image?: string | undefined;
1444
+ svg?: string | undefined;
1445
+ ligature?: string | undefined;
1446
+ alias_ligatures?: string[] | undefined;
1447
+ ucsur?: string | undefined;
1448
+ };
1449
+ };
1450
+ outputFormat: "json";
1451
+ status: 200;
1452
+ } | {
1453
+ input: {
1454
+ param: {
1455
+ glyph: string;
1456
+ };
1457
+ };
1458
+ output: {
1459
+ success: false;
1460
+ message: string;
1461
+ };
1462
+ outputFormat: "json";
1463
+ status: 400;
1464
+ };
1465
+ };
1466
+ } & {
1467
+ "/sandbox": {
1468
+ $get: {
1469
+ input: {};
1470
+ output: undefined;
1471
+ outputFormat: "redirect";
1472
+ status: 302;
1473
+ };
1474
+ };
1475
+ } & {
1476
+ "/sandbox/words": {
1477
+ $get: {
1478
+ input: {};
1479
+ output: {
1480
+ [x: string]: {
1481
+ id: string;
1482
+ word: string;
1483
+ book: "pu" | "ku suli" | "ku lili" | "none";
1484
+ coined_era: "pre-pu" | "post-pu" | "post-ku";
1485
+ creation_date: string;
1486
+ author: string[];
1487
+ see_also: string[];
1488
+ resources: {
1489
+ sona_pona?: string | undefined;
1490
+ lipamanka_semantic?: string | undefined;
1491
+ };
1492
+ representations: {
1493
+ sitelen_emosi?: string | undefined;
1494
+ sitelen_jelo?: string[] | undefined;
1495
+ ligatures?: string[] | undefined;
1496
+ sitelen_sitelen?: string | undefined;
1497
+ ucsur?: string | undefined;
1498
+ };
1499
+ source_language: string;
1500
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1501
+ deprecated: boolean;
1502
+ audio: {
1503
+ author: string;
1504
+ link: string;
1505
+ }[];
1506
+ usage: {
1507
+ [x: string]: number;
1508
+ };
1509
+ glyph_ids: string[];
1510
+ translations: {
1511
+ commentary: string;
1512
+ etymology: string;
1513
+ definition: string;
1514
+ };
1515
+ author_verbatim?: string | undefined;
1516
+ author_source?: string | undefined;
1517
+ ku_data?: {
1518
+ [x: string]: number;
1519
+ } | undefined;
1520
+ parent_id?: string | undefined;
1521
+ pu_verbatim?: {
1522
+ en: string;
1523
+ fr: string;
1524
+ de: string;
1525
+ eo: string;
1526
+ } | undefined;
1527
+ primary_glyph_id?: string | undefined;
1528
+ image?: string | undefined;
1529
+ svg?: string | undefined;
1530
+ };
1531
+ };
1532
+ outputFormat: "json";
1533
+ status: 200;
1534
+ };
1535
+ };
1536
+ } & {
1537
+ "/sandbox/words/:word": {
1538
+ $get: {
1539
+ input: {
1540
+ param: {
1541
+ word: string;
1542
+ };
1543
+ };
1544
+ output: {
1545
+ success: true;
1546
+ data: {
1547
+ id: string;
1548
+ word: string;
1549
+ book: "pu" | "ku suli" | "ku lili" | "none";
1550
+ coined_era: "pre-pu" | "post-pu" | "post-ku";
1551
+ creation_date: string;
1552
+ author: string[];
1553
+ see_also: string[];
1554
+ resources: {
1555
+ sona_pona?: string | undefined;
1556
+ lipamanka_semantic?: string | undefined;
1557
+ };
1558
+ representations: {
1559
+ sitelen_emosi?: string | undefined;
1560
+ sitelen_jelo?: string[] | undefined;
1561
+ ligatures?: string[] | undefined;
1562
+ sitelen_sitelen?: string | undefined;
1563
+ ucsur?: string | undefined;
1564
+ };
1565
+ source_language: string;
1566
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1567
+ deprecated: boolean;
1568
+ audio: {
1569
+ author: string;
1570
+ link: string;
1571
+ }[];
1572
+ usage: {
1573
+ [x: string]: number;
1574
+ };
1575
+ glyph_ids: string[];
1576
+ translations: {
1577
+ commentary: string;
1578
+ etymology: string;
1579
+ definition: string;
1580
+ };
1581
+ author_verbatim?: string | undefined;
1582
+ author_source?: string | undefined;
1583
+ ku_data?: {
1584
+ [x: string]: number;
1585
+ } | undefined;
1586
+ parent_id?: string | undefined;
1587
+ pu_verbatim?: {
1588
+ en: string;
1589
+ fr: string;
1590
+ de: string;
1591
+ eo: string;
1592
+ } | undefined;
1593
+ primary_glyph_id?: string | undefined;
1594
+ image?: string | undefined;
1595
+ svg?: string | undefined;
1596
+ };
1597
+ };
1598
+ outputFormat: "json";
1599
+ status: 200;
1600
+ } | {
1601
+ input: {
1602
+ param: {
1603
+ word: string;
1604
+ };
1605
+ };
1606
+ output: {
1607
+ success: false;
1608
+ message: string;
1609
+ };
1610
+ outputFormat: "json";
1611
+ status: 400;
1612
+ };
1613
+ };
1614
+ } & {
1615
+ "/sandbox/glyphs": {
1616
+ $get: {
1617
+ input: {};
1618
+ output: {
1619
+ [x: string]: {
1620
+ id: string;
1621
+ word: string;
1622
+ word_id: string;
1623
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1624
+ author: string[];
1625
+ creation_date: string;
1626
+ see_also: string[];
1627
+ primary: boolean;
1628
+ deprecated: boolean;
1629
+ usage: {
1630
+ [x: string]: number;
1631
+ };
1632
+ translations: {
1633
+ commentary: string;
1634
+ etymology: string;
1635
+ names: string[];
1636
+ };
1637
+ author_source?: string | undefined;
1638
+ parent_id?: string | undefined;
1639
+ image?: string | undefined;
1640
+ svg?: string | undefined;
1641
+ ligature?: string | undefined;
1642
+ alias_ligatures?: string[] | undefined;
1643
+ ucsur?: string | undefined;
1644
+ };
1645
+ };
1646
+ outputFormat: "json";
1647
+ status: 200;
1648
+ };
1649
+ };
1650
+ } & {
1651
+ "/sandbox/glyphs/:glyph": {
1652
+ $get: {
1653
+ input: {
1654
+ param: {
1655
+ glyph: string;
1656
+ };
1657
+ };
1658
+ output: {
1659
+ success: true;
1660
+ data: {
1661
+ id: string;
1662
+ word: string;
1663
+ word_id: string;
1664
+ usage_category: "core" | "common" | "uncommon" | "obscure" | "sandbox";
1665
+ author: string[];
1666
+ creation_date: string;
1667
+ see_also: string[];
1668
+ primary: boolean;
1669
+ deprecated: boolean;
1670
+ usage: {
1671
+ [x: string]: number;
1672
+ };
1673
+ translations: {
1674
+ commentary: string;
1675
+ etymology: string;
1676
+ names: string[];
1677
+ };
1678
+ author_source?: string | undefined;
1679
+ parent_id?: string | undefined;
1680
+ image?: string | undefined;
1681
+ svg?: string | undefined;
1682
+ ligature?: string | undefined;
1683
+ alias_ligatures?: string[] | undefined;
1684
+ ucsur?: string | undefined;
1685
+ };
1686
+ };
1687
+ outputFormat: "json";
1688
+ status: 200;
1689
+ } | {
1690
+ input: {
1691
+ param: {
1692
+ glyph: string;
1693
+ };
1694
+ };
1695
+ output: {
1696
+ success: false;
1697
+ message: string;
1698
+ };
1699
+ outputFormat: "json";
1700
+ status: 400;
1701
+ };
1702
+ };
1703
+ } & {
1704
+ "/luka_pona/signs": {
1705
+ $get: {
1706
+ input: {};
1707
+ output: {
1708
+ [x: string]: {
1709
+ id: string;
1710
+ is_two_handed: boolean;
1711
+ etymology: {
1712
+ language: string;
1713
+ sign?: string | undefined;
1714
+ }[];
1715
+ signwriting: {
1716
+ fsw: string;
1717
+ swu: string;
1718
+ };
1719
+ definition: string;
1720
+ new_gloss: string;
1721
+ old_gloss: string;
1722
+ old_id: string;
1723
+ translations: {
1724
+ icons: string;
1725
+ parameters: {
1726
+ handshape?: string | undefined;
1727
+ movement?: string | undefined;
1728
+ placement?: string | undefined;
1729
+ orientation?: string | undefined;
1730
+ };
1731
+ };
1732
+ video?: {
1733
+ gif: string;
1734
+ mp4: string;
1735
+ } | undefined;
1736
+ };
1737
+ };
1738
+ outputFormat: "json";
1739
+ status: 200;
1740
+ };
1741
+ };
1742
+ } & {
1743
+ "/luka_pona/signs/:sign": {
1744
+ $get: {
1745
+ input: {
1746
+ param: {
1747
+ sign: string;
1748
+ };
1749
+ };
1750
+ output: {
1751
+ success: true;
1752
+ data: {
1753
+ id: string;
1754
+ is_two_handed: boolean;
1755
+ etymology: {
1756
+ language: string;
1757
+ sign?: string | undefined;
1758
+ }[];
1759
+ signwriting: {
1760
+ fsw: string;
1761
+ swu: string;
1762
+ };
1763
+ definition: string;
1764
+ new_gloss: string;
1765
+ old_gloss: string;
1766
+ old_id: string;
1767
+ translations: {
1768
+ icons: string;
1769
+ parameters: {
1770
+ handshape?: string | undefined;
1771
+ movement?: string | undefined;
1772
+ placement?: string | undefined;
1773
+ orientation?: string | undefined;
1774
+ };
1775
+ };
1776
+ video?: {
1777
+ gif: string;
1778
+ mp4: string;
1779
+ } | undefined;
1780
+ };
1781
+ };
1782
+ outputFormat: "json";
1783
+ status: 200;
1784
+ } | {
1785
+ input: {
1786
+ param: {
1787
+ sign: string;
1788
+ };
1789
+ };
1790
+ output: {
1791
+ success: false;
1792
+ message: string;
1793
+ };
1794
+ outputFormat: "json";
1795
+ status: 400;
1796
+ };
1797
+ };
1798
+ } & {
1799
+ "/luka_pona/fingerspellings": {
1800
+ $get: {
1801
+ input: {};
1802
+ output: {
1803
+ [x: string]: {
1804
+ id: string;
1805
+ is_two_handed: boolean;
1806
+ etymology: {
1807
+ language: string;
1808
+ sign?: string | undefined;
1809
+ }[];
1810
+ signwriting: {
1811
+ fsw: string;
1812
+ swu: string;
1813
+ };
1814
+ translations: {
1815
+ parameters: {
1816
+ handshape?: string | undefined;
1817
+ movement?: string | undefined;
1818
+ placement?: string | undefined;
1819
+ orientation?: string | undefined;
1820
+ };
1821
+ };
1822
+ video?: {
1823
+ gif: string;
1824
+ mp4: string;
1825
+ } | undefined;
1826
+ };
1827
+ };
1828
+ outputFormat: "json";
1829
+ status: 200;
1830
+ };
1831
+ };
1832
+ } & {
1833
+ "/luka_pona/fingerspellings/:fingerspelling": {
1834
+ $get: {
1835
+ input: {
1836
+ param: {
1837
+ fingerspelling: string;
1838
+ };
1839
+ };
1840
+ output: {
1841
+ success: true;
1842
+ data: {
1843
+ id: string;
1844
+ is_two_handed: boolean;
1845
+ etymology: {
1846
+ language: string;
1847
+ sign?: string | undefined;
1848
+ }[];
1849
+ signwriting: {
1850
+ fsw: string;
1851
+ swu: string;
1852
+ };
1853
+ translations: {
1854
+ parameters: {
1855
+ handshape?: string | undefined;
1856
+ movement?: string | undefined;
1857
+ placement?: string | undefined;
1858
+ orientation?: string | undefined;
1859
+ };
1860
+ };
1861
+ video?: {
1862
+ gif: string;
1863
+ mp4: string;
1864
+ } | undefined;
1865
+ };
1866
+ };
1867
+ outputFormat: "json";
1868
+ status: 200;
1869
+ } | {
1870
+ input: {
1871
+ param: {
1872
+ fingerspelling: string;
1873
+ };
1874
+ };
1875
+ output: {
1876
+ success: false;
1877
+ message: string;
1878
+ };
1879
+ outputFormat: "json";
1880
+ status: 400;
1881
+ };
1882
+ };
1883
+ } & {
1884
+ "/fonts": {
1885
+ $get: {
1886
+ input: {};
1887
+ output: {
1888
+ [x: string]: {
1889
+ id: string;
1890
+ author: string[];
1891
+ features: string[];
1892
+ filename: string;
1893
+ last_updated: string;
1894
+ license: string;
1895
+ ligatures: boolean;
1896
+ name: string;
1897
+ style: string;
1898
+ ucsur: boolean;
1899
+ version: string;
1900
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
1901
+ links: {
1902
+ fontfile?: string | undefined;
1903
+ repo?: string | undefined;
1904
+ webpage?: string | undefined;
1905
+ };
1906
+ };
1907
+ };
1908
+ outputFormat: "json";
1909
+ status: 200;
1910
+ };
1911
+ };
1912
+ } & {
1913
+ "/fonts/:font": {
1914
+ $get: {
1915
+ input: {
1916
+ param: {
1917
+ font: string;
1918
+ };
1919
+ };
1920
+ output: {
1921
+ success: true;
1922
+ data: {
1923
+ id: string;
1924
+ author: string[];
1925
+ features: string[];
1926
+ filename: string;
1927
+ last_updated: string;
1928
+ license: string;
1929
+ ligatures: boolean;
1930
+ name: string;
1931
+ style: string;
1932
+ ucsur: boolean;
1933
+ version: string;
1934
+ writing_system: "sitelen pona" | "sitelen sitelen" | "alphabet" | "syllabary" | "logography" | "tokiponido alphabet" | "tokiponido syllabary" | "tokiponido logography";
1935
+ links: {
1936
+ fontfile?: string | undefined;
1937
+ repo?: string | undefined;
1938
+ webpage?: string | undefined;
1939
+ };
1940
+ };
1941
+ };
1942
+ outputFormat: "json";
1943
+ status: 200;
1944
+ } | {
1945
+ input: {
1946
+ param: {
1947
+ font: string;
1948
+ };
1949
+ };
1950
+ output: {
1951
+ success: false;
1952
+ message: string;
1953
+ };
1954
+ outputFormat: "json";
1955
+ status: 400;
1956
+ };
1957
+ };
1958
+ } & {
1959
+ "/languages": {
1960
+ $get: {
1961
+ input: {};
1962
+ output: {
1963
+ [x: string]: {
1964
+ id: string;
1965
+ locale: string;
1966
+ direction: "ltr" | "rtl";
1967
+ name: {
1968
+ en: string;
1969
+ endonym: string;
1970
+ tok?: string | undefined;
1971
+ };
1972
+ };
1973
+ };
1974
+ outputFormat: "json";
1975
+ status: 200;
1976
+ };
1977
+ };
1978
+ } & {
1979
+ "/languages/:language": {
1980
+ $get: {
1981
+ input: {
1982
+ param: {
1983
+ language: string;
1984
+ };
1985
+ };
1986
+ output: {
1987
+ success: true;
1988
+ data: {
1989
+ id: string;
1990
+ locale: string;
1991
+ direction: "ltr" | "rtl";
1992
+ name: {
1993
+ en: string;
1994
+ endonym: string;
1995
+ tok?: string | undefined;
1996
+ };
1997
+ };
1998
+ };
1999
+ outputFormat: "json";
2000
+ status: 200;
2001
+ } | {
2002
+ input: {
2003
+ param: {
2004
+ language: string;
2005
+ };
2006
+ };
2007
+ output: {
2008
+ success: false;
2009
+ message: string;
2010
+ };
2011
+ outputFormat: "json";
2012
+ status: 400;
2013
+ };
2014
+ };
2015
+ }, "/", "/languages/:language">;
2016
+ };
2017
+ declare const fetchFile: <Endpoint extends EndpointConfig>(version: ApiVersion, config: Endpoint, langcode?: string) => Promise<z.ZodSafeParseResult<z.output<Endpoint["schema"]>>>;
2018
+ //#endregion
2019
+ export { ApiConfig, ApiVersion, EndpointConfig, FilesToVariables, Versions, apps, fetchFile, versions };