generaltranslation 8.2.6 → 8.2.7

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 (162) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/ApiError-4zIP-twr.cjs +24 -0
  3. package/dist/ApiError-4zIP-twr.cjs.map +1 -0
  4. package/dist/ApiError-Bv7vlzyQ.mjs +19 -0
  5. package/dist/ApiError-Bv7vlzyQ.mjs.map +1 -0
  6. package/dist/errors.cjs +3 -0
  7. package/dist/errors.d.cts +11 -0
  8. package/dist/errors.d.mts +11 -0
  9. package/dist/errors.mjs +2 -0
  10. package/dist/id-CPbVYREY.mjs +74 -0
  11. package/dist/id-CPbVYREY.mjs.map +1 -0
  12. package/dist/id-VXBgyXu2.cjs +89 -0
  13. package/dist/id-VXBgyXu2.cjs.map +1 -0
  14. package/dist/id.cjs +5 -0
  15. package/dist/{id/hashSource.d.ts → id.d.cts} +20 -5
  16. package/dist/id.d.mts +40 -0
  17. package/dist/id.mjs +2 -0
  18. package/dist/index.cjs +3354 -0
  19. package/dist/index.cjs.map +1 -0
  20. package/dist/index.d.cts +1157 -0
  21. package/dist/index.d.mts +1157 -0
  22. package/dist/index.mjs +3305 -0
  23. package/dist/index.mjs.map +1 -0
  24. package/dist/internal-CTeI8uLd.mjs +774 -0
  25. package/dist/internal-CTeI8uLd.mjs.map +1 -0
  26. package/dist/internal-PCKq4YMW.cjs +1012 -0
  27. package/dist/internal-PCKq4YMW.cjs.map +1 -0
  28. package/dist/internal.cjs +43 -0
  29. package/dist/{internal.d.ts → internal.d.cts} +62 -114
  30. package/dist/internal.d.mts +242 -0
  31. package/dist/internal.mjs +3 -0
  32. package/dist/sha2-DKowBr6H.cjs +747 -0
  33. package/dist/sha2-DKowBr6H.cjs.map +1 -0
  34. package/dist/stableStringify-DgDlE_pD.mjs +53 -0
  35. package/dist/stableStringify-DgDlE_pD.mjs.map +1 -0
  36. package/dist/types-D2fTTTvZ.d.cts +737 -0
  37. package/dist/types-fUW4_Ole.d.mts +737 -0
  38. package/dist/types.cjs +17 -0
  39. package/dist/types.cjs.map +1 -0
  40. package/dist/types.d.cts +2 -0
  41. package/dist/types.d.mts +2 -0
  42. package/dist/types.mjs +16 -0
  43. package/dist/types.mjs.map +1 -0
  44. package/package.json +52 -32
  45. package/dist/backwards-compatability/dataConversion.d.ts +0 -23
  46. package/dist/backwards-compatability/oldHashJsxChildren.d.ts +0 -23
  47. package/dist/backwards-compatability/oldTypes.d.ts +0 -21
  48. package/dist/backwards-compatability/typeChecking.d.ts +0 -21
  49. package/dist/cache/IntlCache.d.ts +0 -26
  50. package/dist/cache/types.d.ts +0 -32
  51. package/dist/derive/condenseVars.d.ts +0 -7
  52. package/dist/derive/declareVar.d.ts +0 -26
  53. package/dist/derive/decodeVars.d.ts +0 -9
  54. package/dist/derive/derive.d.ts +0 -38
  55. package/dist/derive/extractVars.d.ts +0 -9
  56. package/dist/derive/index.d.ts +0 -7
  57. package/dist/derive/indexVars.d.ts +0 -6
  58. package/dist/derive/utils/constants.d.ts +0 -2
  59. package/dist/derive/utils/regex.d.ts +0 -2
  60. package/dist/derive/utils/sanitizeVar.d.ts +0 -12
  61. package/dist/derive/utils/traverseHelpers.d.ts +0 -4
  62. package/dist/derive/utils/traverseIcu.d.ts +0 -20
  63. package/dist/derive/utils/types.d.ts +0 -23
  64. package/dist/errors/ApiError.d.ts +0 -7
  65. package/dist/errors/formattingErrors.d.ts +0 -1
  66. package/dist/errors.cjs.min.cjs +0 -2
  67. package/dist/errors.cjs.min.cjs.map +0 -1
  68. package/dist/errors.d.ts +0 -9
  69. package/dist/errors.esm.min.mjs +0 -2
  70. package/dist/errors.esm.min.mjs.map +0 -1
  71. package/dist/formatting/custom-formats/CutoffFormat/CutoffFormat.d.ts +0 -59
  72. package/dist/formatting/custom-formats/CutoffFormat/constants.d.ts +0 -4
  73. package/dist/formatting/custom-formats/CutoffFormat/types.d.ts +0 -48
  74. package/dist/formatting/format.d.ts +0 -1
  75. package/dist/id/hashTemplate.d.ts +0 -4
  76. package/dist/id/types.d.ts +0 -7
  77. package/dist/id.cjs.min.cjs +0 -2
  78. package/dist/id.cjs.min.cjs.map +0 -1
  79. package/dist/id.d.ts +0 -86
  80. package/dist/id.esm.min.mjs +0 -2
  81. package/dist/id.esm.min.mjs.map +0 -1
  82. package/dist/index.cjs.min.cjs +0 -2
  83. package/dist/index.cjs.min.cjs.map +0 -1
  84. package/dist/index.d.ts +0 -1627
  85. package/dist/index.esm.min.mjs +0 -2
  86. package/dist/index.esm.min.mjs.map +0 -1
  87. package/dist/internal.cjs.min.cjs +0 -2
  88. package/dist/internal.cjs.min.cjs.map +0 -1
  89. package/dist/internal.esm.min.mjs +0 -2
  90. package/dist/internal.esm.min.mjs.map +0 -1
  91. package/dist/locales/customLocaleMapping.d.ts +0 -11
  92. package/dist/locales/determineLocale.d.ts +0 -1
  93. package/dist/locales/getLocaleDirection.d.ts +0 -1
  94. package/dist/locales/getLocaleEmoji.d.ts +0 -2
  95. package/dist/locales/getLocaleName.d.ts +0 -1
  96. package/dist/locales/getLocaleProperties.d.ts +0 -32
  97. package/dist/locales/getPluralForm.d.ts +0 -9
  98. package/dist/locales/getRegionProperties.d.ts +0 -7
  99. package/dist/locales/isSameDialect.d.ts +0 -1
  100. package/dist/locales/isSameLanguage.d.ts +0 -1
  101. package/dist/locales/isSupersetLocale.d.ts +0 -1
  102. package/dist/locales/isValidLocale.d.ts +0 -1
  103. package/dist/locales/requiresTranslation.d.ts +0 -1
  104. package/dist/locales/resolveAliasLocale.d.ts +0 -8
  105. package/dist/locales/resolveCanonicalLocale.d.ts +0 -8
  106. package/dist/logging/errors.d.ts +0 -10
  107. package/dist/logging/logger.d.ts +0 -117
  108. package/dist/logging/warnings.d.ts +0 -2
  109. package/dist/projects/getProjectData.d.ts +0 -1
  110. package/dist/settings/plurals.d.ts +0 -3
  111. package/dist/settings/settings.d.ts +0 -2
  112. package/dist/settings/settingsUrls.d.ts +0 -3
  113. package/dist/translate/api.d.ts +0 -1
  114. package/dist/translate/awaitJobs.d.ts +0 -19
  115. package/dist/translate/checkJobStatus.d.ts +0 -8
  116. package/dist/translate/createBranch.d.ts +0 -10
  117. package/dist/translate/createTag.d.ts +0 -19
  118. package/dist/translate/downloadFileBatch.d.ts +0 -1
  119. package/dist/translate/enqueueFiles.d.ts +0 -8
  120. package/dist/translate/getOrphanedFiles.d.ts +0 -8
  121. package/dist/translate/processFileMoves.d.ts +0 -25
  122. package/dist/translate/publishFiles.d.ts +0 -17
  123. package/dist/translate/queryBranchData.d.ts +0 -3
  124. package/dist/translate/queryFileData.d.ts +0 -42
  125. package/dist/translate/querySourceFile.d.ts +0 -1
  126. package/dist/translate/setupProject.d.ts +0 -11
  127. package/dist/translate/submitUserEditDiffs.d.ts +0 -12
  128. package/dist/translate/translateMany.d.ts +0 -1
  129. package/dist/translate/uploadSourceFiles.d.ts +0 -1
  130. package/dist/translate/uploadTranslations.d.ts +0 -1
  131. package/dist/translate/utils/apiRequest.d.ts +0 -1
  132. package/dist/translate/utils/batch.d.ts +0 -52
  133. package/dist/translate/utils/fetchWithTimeout.d.ts +0 -1
  134. package/dist/translate/utils/generateRequestHeaders.d.ts +0 -2
  135. package/dist/translate/utils/handleFetchError.d.ts +0 -1
  136. package/dist/translate/utils/validateResponse.d.ts +0 -1
  137. package/dist/types-dir/api/branch.d.ts +0 -10
  138. package/dist/types-dir/api/checkFileTranslations.d.ts +0 -37
  139. package/dist/types-dir/api/downloadFile.d.ts +0 -3
  140. package/dist/types-dir/api/downloadFileBatch.d.ts +0 -34
  141. package/dist/types-dir/api/enqueueEntries.d.ts +0 -21
  142. package/dist/types-dir/api/enqueueFiles.d.ts +0 -56
  143. package/dist/types-dir/api/entry.d.ts +0 -36
  144. package/dist/types-dir/api/fetchTranslations.d.ts +0 -11
  145. package/dist/types-dir/api/file.d.ts +0 -54
  146. package/dist/types-dir/api/project.d.ts +0 -7
  147. package/dist/types-dir/api/translate.d.ts +0 -34
  148. package/dist/types-dir/api/translateMany.d.ts +0 -5
  149. package/dist/types-dir/api/translationStatus.d.ts +0 -9
  150. package/dist/types-dir/api/uploadFiles.d.ts +0 -43
  151. package/dist/types-dir/jsx/content.d.ts +0 -61
  152. package/dist/types-dir/jsx/variables.d.ts +0 -9
  153. package/dist/types-dir/transformations.d.ts +0 -8
  154. package/dist/types.cjs.min.cjs +0 -2
  155. package/dist/types.cjs.min.cjs.map +0 -1
  156. package/dist/types.d.ts +0 -652
  157. package/dist/types.esm.min.mjs +0 -2
  158. package/dist/types.esm.min.mjs.map +0 -1
  159. package/dist/utils/base64.d.ts +0 -2
  160. package/dist/utils/isVariable.d.ts +0 -2
  161. package/dist/utils/minify.d.ts +0 -2
  162. package/dist/utils/stableStringify.d.ts +0 -1
@@ -0,0 +1,242 @@
1
+ import { At as VariableType, Ct as JsxChild, St as IcuMessage, Tt as JsxElement, _t as GTProp, jt as LocaleProperties, kt as Variable, l as _Content, p as VariableTransformationSuffix, wt as JsxChildren } from "./types-fUW4_Ole.mjs";
2
+
3
+ //#region src/settings/settingsUrls.d.ts
4
+ declare const defaultCacheUrl: "https://cdn.gtx.dev";
5
+ declare const defaultBaseUrl: "https://api2.gtx.dev";
6
+ declare const defaultRuntimeApiUrl: "https://runtime2.gtx.dev";
7
+ //#endregion
8
+ //#region src/settings/settings.d.ts
9
+ declare const libraryDefaultLocale: "en";
10
+ declare const defaultTimeout = 60000;
11
+ //#endregion
12
+ //#region src/settings/plurals.d.ts
13
+ declare const pluralForms: readonly ["singular", "plural", "dual", "zero", "one", "two", "few", "many", "other"];
14
+ type PluralType = (typeof pluralForms)[number];
15
+ declare function isAcceptedPluralForm(form: string): form is PluralType;
16
+ //#endregion
17
+ //#region src/locales/getPluralForm.d.ts
18
+ /**
19
+ * Given a number and a list of allowed plural forms, return the plural form that best fits the number.
20
+ *
21
+ * @param {number} n - The number to determine the plural form for.
22
+ * @param {locales[]} forms - The allowed plural forms.
23
+ * @returns {PluralType} The determined plural form, or an empty string if none fit.
24
+ */
25
+ declare function _getPluralForm(n: number, forms?: PluralType[], locales?: string[]): PluralType | '';
26
+ //#endregion
27
+ //#region src/utils/isVariable.d.ts
28
+ declare function isVariable(obj: unknown): obj is Variable;
29
+ //#endregion
30
+ //#region src/utils/minify.d.ts
31
+ declare function minifyVariableType(variableType: VariableTransformationSuffix): VariableType;
32
+ //#endregion
33
+ //#region src/utils/base64.d.ts
34
+ declare function encode(data: string): string;
35
+ declare function decode(base64: string): string;
36
+ //#endregion
37
+ //#region src/derive/decodeVars.d.ts
38
+ /**
39
+ * Given an encoded ICU string, interpolate only _gt_ variables that have been marked with declareVar()
40
+ * @example
41
+ * const encodedIcu = "Hi" + declareVar("Brian") + ", my name is {name}"
42
+ * // 'Hi {_gt_, select, other {Brian}}, my name is {name}'
43
+ * decodeVars(encodedIcu)
44
+ * // 'Hi Brian, my name is {name}'
45
+ */
46
+ declare function decodeVars(icuString: string): string;
47
+ //#endregion
48
+ //#region src/derive/declareVar.d.ts
49
+ /**
50
+ * Mark as a non-translatable string. Use within a derive() call to mark content as not derivable (e.g., not possible to statically analyze).
51
+ *
52
+ * @example
53
+ * function nonDerivableFunction() {
54
+ * return Math.random();
55
+ * }
56
+ *
57
+ * function derivableFunction() {
58
+ * if (condition) {
59
+ * return declareVar(nonDerivableFunction())
60
+ * }
61
+ * return 'John Doe';
62
+ * }
63
+ *
64
+ * const gt = useGT();
65
+ * gt(`My name is ${derive(derivableFunction())}`);
66
+ *
67
+ * @param {string | number | boolean | null | undefined} variable - The variable to sanitize.
68
+ * @param {Object} [options] - The options for the sanitization.
69
+ * @param {string} [options.$name] - The name of the variable.
70
+ * @returns {string} The sanitized value.
71
+ */
72
+ declare function declareVar(variable: string | number | boolean | null | undefined, options?: {
73
+ $name?: string;
74
+ }): string;
75
+ //#endregion
76
+ //#region src/derive/derive.d.ts
77
+ /**
78
+ * derive() is a powerful but dangerous function which marks its argument as derivable (statically analyzable) for the compiler and CLI tool.
79
+ *
80
+ * This function is dangerous because it can cause the compiler and CLI tool to throw an error if the argument is not derivable.
81
+ *
82
+ * @example
83
+ * ```jsx
84
+ * function getSubject() {
85
+ * return (Math.random() > 0.5) ? "Alice" : "Brian";
86
+ * }
87
+ * ...
88
+ * gt(`My name is ${derive(getSubject())}`);
89
+ * ```
90
+ *
91
+ * @param {T extends string | boolean | number | null | undefined} content - Content to mark as derivable.
92
+ * @returns content
93
+ */
94
+ declare function derive<T extends string | boolean | number | null | undefined>(content: T): T;
95
+ /**
96
+ * @deprecated Use derive() instead.
97
+ *
98
+ * declareStatic() is a powerful but dangerous function which marks its argument as derivable (statically analyzable) for the compiler and CLI tool.
99
+ *
100
+ * This function is dangerous because it can cause the compiler and CLI tool to throw an error if the argument is not derivable.
101
+ *
102
+ * @example
103
+ * ```jsx
104
+ * function getSubject() {
105
+ * return (Math.random() > 0.5) ? "Alice" : "Brian";
106
+ * }
107
+ * ...
108
+ * gt(`My name is ${declareStatic(getSubject())}`);
109
+ * ```
110
+ *
111
+ * @param {T extends string | boolean | number | null | undefined} content - Content to mark as derivable.
112
+ * @returns content
113
+ */
114
+ declare const declareStatic: typeof derive;
115
+ //#endregion
116
+ //#region src/derive/indexVars.d.ts
117
+ /**
118
+ * Given an ICU string adds identifiers to each _gt_ placeholder
119
+ * indexVars('Hello {_gt_} {_gt_} World') => 'Hello {_gt_1_} {_gt_2_} World'
120
+ */
121
+ declare function indexVars(icuString: IcuMessage): string;
122
+ //#endregion
123
+ //#region src/derive/extractVars.d.ts
124
+ /**
125
+ * Given an unindexed ICU string, extracts all the _gt_ variables and an indexed mapping of the variable to the values
126
+ *
127
+ * extractVars('Hello {_gt_, select, other {World}}') => { _gt_1: 'World' }
128
+ *
129
+ * @param {string} icuString - The ICU string to extract variables from.
130
+ * @returns {Record<string, string>} A mapping of the variable to the value.
131
+ */
132
+ declare function extractVars(icuString: string): Record<string, string>;
133
+ //#endregion
134
+ //#region src/derive/condenseVars.d.ts
135
+ /**
136
+ * Given an indexed ICU string, condenses any select to an argument
137
+ * indexVars('Hello {_gt_1, select, other {World}}') => 'Hello {_gt_1}'
138
+ * @param {string} icuString - The ICU string to condense.
139
+ * @returns {string} The condensed ICU string.
140
+ */
141
+ declare function condenseVars(icuString: string): string;
142
+ //#endregion
143
+ //#region src/derive/utils/constants.d.ts
144
+ declare const VAR_IDENTIFIER = "_gt_";
145
+ declare const VAR_NAME_IDENTIFIER = "_gt_var_name";
146
+ //#endregion
147
+ //#region src/backwards-compatability/oldTypes.d.ts
148
+ type OldBranchType = 'branch' | 'plural';
149
+ type OldGTProp = {
150
+ id: number;
151
+ transformation?: OldBranchType;
152
+ branches?: Record<string, OldJsxChildren>;
153
+ };
154
+ type OldJsxElement = {
155
+ type: string;
156
+ props: {
157
+ children?: OldJsxChildren;
158
+ 'data-_gt': OldGTProp;
159
+ };
160
+ };
161
+ type OldVariableType = 'number' | 'variable' | 'datetime' | 'currency';
162
+ type OldVariableObject = {
163
+ variable?: OldVariableType;
164
+ key: string;
165
+ id?: number;
166
+ };
167
+ type OldJsxChild = OldJsxElement | OldVariableObject | string;
168
+ type OldJsxChildren = OldJsxChild | OldJsxChild[];
169
+ //#endregion
170
+ //#region src/backwards-compatability/dataConversion.d.ts
171
+ /**
172
+ * Convert request data from old format to new format
173
+ */
174
+ declare function getNewJsxChild(child: OldJsxChild): JsxChild;
175
+ declare function getNewJsxChildren(children: OldJsxChildren): JsxChildren;
176
+ declare function getNewJsxElement(element: OldJsxElement): JsxElement;
177
+ declare function getNewBranchType(branch: OldBranchType): 'b' | 'p';
178
+ declare function getNewVariableType(variable: OldVariableType): VariableType;
179
+ declare function getNewVariableObject(variable: OldVariableObject): Variable;
180
+ declare function getNewGTProp(dataGT: OldGTProp): GTProp;
181
+ /**
182
+ * Convert response data from old format to new format
183
+ */
184
+ declare function getOldJsxChild(child: JsxChild): OldJsxChild;
185
+ declare function getOldJsxChildren(children: JsxChildren | OldJsxChildren): OldJsxChildren;
186
+ declare function getOldJsxElement(element: JsxElement): OldJsxElement;
187
+ declare function getOldBranchType(branch: 'b' | 'p'): OldBranchType;
188
+ declare function getOldVariableType(variable: VariableType): OldVariableType;
189
+ declare function getOldVariableObject(variable: Variable): OldVariableObject;
190
+ declare function getOldGTProp(dataGT: GTProp, i: number): OldGTProp;
191
+ //#endregion
192
+ //#region src/backwards-compatability/typeChecking.d.ts
193
+ /**
194
+ * Checks if a JSX child is an old variable object format
195
+ * @param child - The JSX child to check
196
+ * @returns True if the child is an old variable object (has 'key' property)
197
+ */
198
+ declare function isOldVariableObject(child: OldJsxChild | JsxChild): child is OldVariableObject;
199
+ /**
200
+ * Checks if a JSX child is a new variable object format
201
+ * @param child - The JSX child to check
202
+ * @returns True if the child is a new variable object (has 'k' property)
203
+ */
204
+ declare function isNewVariableObject(child: OldJsxChild | JsxChild): child is Variable;
205
+ /**
206
+ * Checks if JSX children follow the old format
207
+ * @param children - The JSX children to check (can be string, array, or single child)
208
+ * @returns True if all children are in the old format
209
+ */
210
+ declare function isOldJsxChildren(children: OldJsxChildren | JsxChildren): children is OldJsxChildren;
211
+ //#endregion
212
+ //#region src/backwards-compatability/oldHashJsxChildren.d.ts
213
+ /**
214
+ * Calculates a unique hash for a given string using sha256.
215
+ *
216
+ * @param {string} string - The string to be hashed.
217
+ * @returns {string} - The resulting hash as a hexadecimal string.
218
+ */
219
+ declare function oldHashString(string: string): string;
220
+ /**
221
+ * Calculates a unique ID for the given children objects by hashing their sanitized JSON string representation.
222
+ *
223
+ * @param {any} childrenAsObjects - The children objects to be hashed.
224
+ * @param {string} context - The context for the children
225
+ * @param {string} id - The id for the JSX Children object
226
+ * @param {function} hashFunction custom hash function
227
+ * @returns {string} - The unique has of the children.
228
+ */
229
+ declare function oldHashJsxChildren({
230
+ source,
231
+ context,
232
+ id,
233
+ dataFormat
234
+ }: {
235
+ source: OldJsxChildren;
236
+ context?: string;
237
+ id?: string;
238
+ dataFormat: string;
239
+ }, hashFunction?: (string: string) => string): string;
240
+ //#endregion
241
+ export { JsxChild, JsxChildren, JsxElement, LocaleProperties, type OldBranchType, type OldGTProp, type OldJsxChild, type OldJsxChildren, type OldJsxElement, type OldVariableObject, type OldVariableType, VAR_IDENTIFIER, VAR_NAME_IDENTIFIER, _Content, condenseVars, declareStatic, declareVar, decode, decodeVars, defaultBaseUrl, defaultCacheUrl, defaultRuntimeApiUrl, defaultTimeout, derive, encode, extractVars, getNewBranchType, getNewGTProp, getNewJsxChild, getNewJsxChildren, getNewJsxElement, getNewVariableObject, getNewVariableType, getOldBranchType, getOldGTProp, getOldJsxChild, getOldJsxChildren, getOldJsxElement, getOldVariableObject, getOldVariableType, _getPluralForm as getPluralForm, indexVars, isAcceptedPluralForm, isNewVariableObject, isOldJsxChildren, isOldVariableObject, isVariable, libraryDefaultLocale, minifyVariableType, oldHashJsxChildren, oldHashString, pluralForms };
242
+ //# sourceMappingURL=internal.d.mts.map
@@ -0,0 +1,3 @@
1
+ import { A as encode, B as libraryDefaultLocale, C as declareStatic, D as VAR_IDENTIFIER, E as decodeVars, F as defaultBaseUrl, I as defaultCacheUrl, L as defaultRuntimeApiUrl, M as _getPluralForm, N as isAcceptedPluralForm, O as VAR_NAME_IDENTIFIER, P as pluralForms, S as indexVars, T as declareVar, _ as isNewVariableObject, a as getNewJsxChild, b as condenseVars, c as getNewVariableObject, d as getOldGTProp, f as getOldJsxChild, g as getOldVariableType, h as getOldVariableObject, i as getNewGTProp, j as minifyVariableType, k as decode, l as getNewVariableType, m as getOldJsxElement, n as oldHashString, o as getNewJsxChildren, p as getOldJsxChildren, r as getNewBranchType, s as getNewJsxElement, t as oldHashJsxChildren, u as getOldBranchType, v as isOldJsxChildren, w as derive, x as extractVars, y as isOldVariableObject, z as defaultTimeout } from "./internal-CTeI8uLd.mjs";
2
+ import { n as isVariable } from "./stableStringify-DgDlE_pD.mjs";
3
+ export { VAR_IDENTIFIER, VAR_NAME_IDENTIFIER, condenseVars, declareStatic, declareVar, decode, decodeVars, defaultBaseUrl, defaultCacheUrl, defaultRuntimeApiUrl, defaultTimeout, derive, encode, extractVars, getNewBranchType, getNewGTProp, getNewJsxChild, getNewJsxChildren, getNewJsxElement, getNewVariableObject, getNewVariableType, getOldBranchType, getOldGTProp, getOldJsxChild, getOldJsxChildren, getOldJsxElement, getOldVariableObject, getOldVariableType, _getPluralForm as getPluralForm, indexVars, isAcceptedPluralForm, isNewVariableObject, isOldJsxChildren, isOldVariableObject, isVariable, libraryDefaultLocale, minifyVariableType, oldHashJsxChildren, oldHashString, pluralForms };