@isdk/ai-tool 0.0.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.
Files changed (87) hide show
  1. package/README.cn.md +261 -0
  2. package/README.md +3 -0
  3. package/dist/chunk-EZFPVSGF.mjs +22 -0
  4. package/dist/chunk-PKECBABP.mjs +5085 -0
  5. package/dist/funcs.d.mts +6 -0
  6. package/dist/funcs.d.ts +6 -0
  7. package/dist/funcs.js +5016 -0
  8. package/dist/funcs.mjs +37 -0
  9. package/dist/index-D4KjfAKl.d.mts +606 -0
  10. package/dist/index-D4KjfAKl.d.ts +606 -0
  11. package/dist/index.d.mts +1097 -0
  12. package/dist/index.d.ts +1097 -0
  13. package/dist/index.js +5239 -0
  14. package/dist/index.mjs +399 -0
  15. package/dist/test/util.d.mts +7 -0
  16. package/dist/test/util.d.ts +7 -0
  17. package/dist/test/util.js +98 -0
  18. package/dist/test/util.mjs +61 -0
  19. package/docs/.nojekyll +1 -0
  20. package/docs/README.md +5 -0
  21. package/docs/classes/AbortError.md +359 -0
  22. package/docs/classes/AlreadyExistsError.md +339 -0
  23. package/docs/classes/BaseError.md +346 -0
  24. package/docs/classes/ClientTools.md +2705 -0
  25. package/docs/classes/CommonError.md +368 -0
  26. package/docs/classes/ConfigFile.md +346 -0
  27. package/docs/classes/EventClient.md +3183 -0
  28. package/docs/classes/EventServer.md +3138 -0
  29. package/docs/classes/EventToolFunc.md +2498 -0
  30. package/docs/classes/FStringPromptTemplate.md +1236 -0
  31. package/docs/classes/FewShotPromptTemplate.md +1286 -0
  32. package/docs/classes/GolangPromptTemplate.md +1236 -0
  33. package/docs/classes/HFEnvironment.md +212 -0
  34. package/docs/classes/HFInterpreter.md +386 -0
  35. package/docs/classes/HFTemplate.md +79 -0
  36. package/docs/classes/HfPromptTemplate.md +1236 -0
  37. package/docs/classes/NotFoundError.md +339 -0
  38. package/docs/classes/NotImplementationError.md +339 -0
  39. package/docs/classes/PromptExampleSelector.md +207 -0
  40. package/docs/classes/PromptTemplate.md +1163 -0
  41. package/docs/classes/ReadableStreamError.md +359 -0
  42. package/docs/classes/ResClientTools.md +2859 -0
  43. package/docs/classes/ResServerTools.md +2783 -0
  44. package/docs/classes/SSEChannel.md +289 -0
  45. package/docs/classes/ServerTools.md +2633 -0
  46. package/docs/classes/ToolFunc.md +2124 -0
  47. package/docs/enums/ErrorCode.md +217 -0
  48. package/docs/enums/XXHashAlgorithm.md +30 -0
  49. package/docs/interfaces/AIChatAssistantMessageParam.md +84 -0
  50. package/docs/interfaces/AIChatContentPartImage.md +36 -0
  51. package/docs/interfaces/AIChatContentPartText.md +30 -0
  52. package/docs/interfaces/AIChatMessageParamBase.md +35 -0
  53. package/docs/interfaces/AIChatMessageToolCall.md +48 -0
  54. package/docs/interfaces/AIChatSystemMessageParam.md +51 -0
  55. package/docs/interfaces/AIChatToolMessageParam.md +62 -0
  56. package/docs/interfaces/AIChatUserMessageParam.md +95 -0
  57. package/docs/interfaces/AIResult.md +65 -0
  58. package/docs/interfaces/AIStreamCallbacksAndOptions.md +158 -0
  59. package/docs/interfaces/AIStreamParser.md +33 -0
  60. package/docs/interfaces/AIStreamParserOptions.md +23 -0
  61. package/docs/interfaces/BaseFunc.md +145 -0
  62. package/docs/interfaces/BaseFuncItem.md +99 -0
  63. package/docs/interfaces/ClientFuncItem.md +181 -0
  64. package/docs/interfaces/DotenvExpandOptions.md +51 -0
  65. package/docs/interfaces/DotenvExpandOutput.md +30 -0
  66. package/docs/interfaces/DotenvParseInput.md +7 -0
  67. package/docs/interfaces/DotenvParseOutput.md +7 -0
  68. package/docs/interfaces/DotenvPopulateInput.md +7 -0
  69. package/docs/interfaces/EventClientFuncParams.md +66 -0
  70. package/docs/interfaces/EventServerFuncParams.md +79 -0
  71. package/docs/interfaces/FewShotPromptTemplateOptions.md +179 -0
  72. package/docs/interfaces/FuncItem.md +130 -0
  73. package/docs/interfaces/FuncParam.md +67 -0
  74. package/docs/interfaces/FuncParams.md +7 -0
  75. package/docs/interfaces/Funcs.md +7 -0
  76. package/docs/interfaces/IOptions.md +30 -0
  77. package/docs/interfaces/JsonFilter.md +7 -0
  78. package/docs/interfaces/PromptExampleSelectorOptions.md +39 -0
  79. package/docs/interfaces/PromptTemplateOptions.md +84 -0
  80. package/docs/interfaces/RemoteFuncItem.md +167 -0
  81. package/docs/interfaces/ResClientFuncParams.md +34 -0
  82. package/docs/interfaces/ResServerFuncParams.md +79 -0
  83. package/docs/interfaces/SanitizeFilenameOptions.md +30 -0
  84. package/docs/interfaces/ServerFuncItem.md +192 -0
  85. package/docs/interfaces/ServerFuncParams.md +44 -0
  86. package/docs/modules.md +2707 -0
  87. package/package.json +112 -0
@@ -0,0 +1,368 @@
1
+ [@isdk/ai-tool](../README.md) / [Exports](../modules.md) / CommonError
2
+
3
+ # Class: CommonError
4
+
5
+ BaseError class that extends the Error class.
6
+
7
+ **`Example`**
8
+
9
+ ```ts
10
+ // Create a custom error
11
+ class CustomError extends BaseError {
12
+ static code = 'customError';
13
+ constructor(message: string) {
14
+ super(message);
15
+ }
16
+ }
17
+
18
+ // Throw the custom error
19
+ throw new CustomError('This is a custom error');
20
+ ```
21
+
22
+ **`Description`**
23
+
24
+ This class is used to create custom errors that extend the built-in Error class. It provides a way to define custom error codes and additional data associated with the error.
25
+
26
+ **`Method`**
27
+
28
+ toJSON - Returns a JSON representation of the error.
29
+
30
+ **`Method`**
31
+
32
+ fromJSON - Creates a new BaseError instance from a JSON representation.
33
+
34
+ ## Hierarchy
35
+
36
+ - [`BaseError`](BaseError.md)
37
+
38
+ ↳ **`CommonError`**
39
+
40
+ ↳↳ [`NotImplementationError`](NotImplementationError.md)
41
+
42
+ ↳↳ [`NotFoundError`](NotFoundError.md)
43
+
44
+ ↳↳ [`AlreadyExistsError`](AlreadyExistsError.md)
45
+
46
+ ↳↳ [`AbortError`](AbortError.md)
47
+
48
+ ## Table of contents
49
+
50
+ ### Constructors
51
+
52
+ - [constructor](CommonError.md#constructor)
53
+
54
+ ### Properties
55
+
56
+ - [caller](CommonError.md#caller)
57
+ - [cause](CommonError.md#cause)
58
+ - [code](CommonError.md#code)
59
+ - [data](CommonError.md#data)
60
+ - [message](CommonError.md#message)
61
+ - [name](CommonError.md#name)
62
+ - [stack](CommonError.md#stack)
63
+ - [code](CommonError.md#code-1)
64
+ - [prepareStackTrace](CommonError.md#preparestacktrace)
65
+ - [stackTraceLimit](CommonError.md#stacktracelimit)
66
+
67
+ ### Methods
68
+
69
+ - [fromJSON](CommonError.md#fromjson)
70
+ - [toJSON](CommonError.md#tojson)
71
+ - [captureStackTrace](CommonError.md#capturestacktrace)
72
+ - [createErrorClass](CommonError.md#createerrorclass)
73
+
74
+ ## Constructors
75
+
76
+ ### constructor
77
+
78
+ • **new CommonError**(`message`, `name?`, `status?`): [`CommonError`](CommonError.md)
79
+
80
+ #### Parameters
81
+
82
+ | Name | Type | Default value |
83
+ | :------ | :------ | :------ |
84
+ | `message` | `string` | `undefined` |
85
+ | `name?` | `string` \| `Record`\<`string`, `any`\> | `undefined` |
86
+ | `status` | [`ErrorCodeType`](../modules.md#errorcodetype) | `InternalErrorCode` |
87
+
88
+ #### Returns
89
+
90
+ [`CommonError`](CommonError.md)
91
+
92
+ #### Overrides
93
+
94
+ [BaseError](BaseError.md).[constructor](BaseError.md#constructor)
95
+
96
+ #### Defined in
97
+
98
+ [packages/ai-tool/src/utils/base-error.ts:141](https://github.com/isdk/ai-tool.js/blob/e7fb80e8b32da0eb475b223017e88d973ef7af19/src/utils/base-error.ts#L141)
99
+
100
+ ## Properties
101
+
102
+ ### caller
103
+
104
+ • **caller**: `string`
105
+
106
+ The name of the function that threw the error.
107
+
108
+ #### Inherited from
109
+
110
+ [BaseError](BaseError.md).[caller](BaseError.md#caller)
111
+
112
+ #### Defined in
113
+
114
+ [packages/ai-tool/src/utils/base-error.ts:64](https://github.com/isdk/ai-tool.js/blob/e7fb80e8b32da0eb475b223017e88d973ef7af19/src/utils/base-error.ts#L64)
115
+
116
+ ___
117
+
118
+ ### cause
119
+
120
+ • `Optional` **cause**: `unknown`
121
+
122
+ #### Inherited from
123
+
124
+ [BaseError](BaseError.md).[cause](BaseError.md#cause)
125
+
126
+ #### Defined in
127
+
128
+ node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2022.error.d.ts:24
129
+
130
+ ___
131
+
132
+ ### code
133
+
134
+ • **code**: [`ErrorCodeType`](../modules.md#errorcodetype)
135
+
136
+ #### Inherited from
137
+
138
+ [BaseError](BaseError.md).[code](BaseError.md#code)
139
+
140
+ #### Defined in
141
+
142
+ [packages/ai-tool/src/utils/base-error.ts:65](https://github.com/isdk/ai-tool.js/blob/e7fb80e8b32da0eb475b223017e88d973ef7af19/src/utils/base-error.ts#L65)
143
+
144
+ ___
145
+
146
+ ### data
147
+
148
+ • `Optional` **data**: `any`
149
+
150
+ Additional data associated with the error.
151
+
152
+ #### Inherited from
153
+
154
+ [BaseError](BaseError.md).[data](BaseError.md#data)
155
+
156
+ #### Defined in
157
+
158
+ [packages/ai-tool/src/utils/base-error.ts:66](https://github.com/isdk/ai-tool.js/blob/e7fb80e8b32da0eb475b223017e88d973ef7af19/src/utils/base-error.ts#L66)
159
+
160
+ ___
161
+
162
+ ### message
163
+
164
+ • **message**: `string`
165
+
166
+ #### Inherited from
167
+
168
+ [BaseError](BaseError.md).[message](BaseError.md#message)
169
+
170
+ #### Defined in
171
+
172
+ node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1077
173
+
174
+ ___
175
+
176
+ ### name
177
+
178
+ • **name**: `string`
179
+
180
+ #### Inherited from
181
+
182
+ [BaseError](BaseError.md).[name](BaseError.md#name)
183
+
184
+ #### Defined in
185
+
186
+ node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1076
187
+
188
+ ___
189
+
190
+ ### stack
191
+
192
+ • `Optional` **stack**: `string`
193
+
194
+ #### Inherited from
195
+
196
+ [BaseError](BaseError.md).[stack](BaseError.md#stack)
197
+
198
+ #### Defined in
199
+
200
+ node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1078
201
+
202
+ ___
203
+
204
+ ### code
205
+
206
+ ▪ `Static` **code**: [`ErrorCodeType`](../modules.md#errorcodetype)
207
+
208
+ The error code associated with the error.
209
+
210
+ #### Inherited from
211
+
212
+ [BaseError](BaseError.md).[code](BaseError.md#code-1)
213
+
214
+ #### Defined in
215
+
216
+ [packages/ai-tool/src/utils/base-error.ts:63](https://github.com/isdk/ai-tool.js/blob/e7fb80e8b32da0eb475b223017e88d973ef7af19/src/utils/base-error.ts#L63)
217
+
218
+ ___
219
+
220
+ ### prepareStackTrace
221
+
222
+ ▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
223
+
224
+ Optional override for formatting stack traces
225
+
226
+ **`See`**
227
+
228
+ https://v8.dev/docs/stack-trace-api#customizing-stack-traces
229
+
230
+ #### Type declaration
231
+
232
+ ▸ (`err`, `stackTraces`): `any`
233
+
234
+ ##### Parameters
235
+
236
+ | Name | Type |
237
+ | :------ | :------ |
238
+ | `err` | `Error` |
239
+ | `stackTraces` | `CallSite`[] |
240
+
241
+ ##### Returns
242
+
243
+ `any`
244
+
245
+ #### Inherited from
246
+
247
+ [BaseError](BaseError.md).[prepareStackTrace](BaseError.md#preparestacktrace)
248
+
249
+ #### Defined in
250
+
251
+ node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.d.ts:28
252
+
253
+ ___
254
+
255
+ ### stackTraceLimit
256
+
257
+ ▪ `Static` **stackTraceLimit**: `number`
258
+
259
+ #### Inherited from
260
+
261
+ [BaseError](BaseError.md).[stackTraceLimit](BaseError.md#stacktracelimit)
262
+
263
+ #### Defined in
264
+
265
+ node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.d.ts:30
266
+
267
+ ## Methods
268
+
269
+ ### fromJSON
270
+
271
+ ▸ **fromJSON**(`json`): [`BaseError`](BaseError.md)
272
+
273
+ Creates a new BaseError instance from a JSON representation.
274
+
275
+ #### Parameters
276
+
277
+ | Name | Type | Description |
278
+ | :------ | :------ | :------ |
279
+ | `json` | `any` | A JSON representation of the error. |
280
+
281
+ #### Returns
282
+
283
+ [`BaseError`](BaseError.md)
284
+
285
+ A new BaseError instance.
286
+
287
+ #### Inherited from
288
+
289
+ [BaseError](BaseError.md).[fromJSON](BaseError.md#fromjson)
290
+
291
+ #### Defined in
292
+
293
+ [packages/ai-tool/src/utils/base-error.ts:129](https://github.com/isdk/ai-tool.js/blob/e7fb80e8b32da0eb475b223017e88d973ef7af19/src/utils/base-error.ts#L129)
294
+
295
+ ___
296
+
297
+ ### toJSON
298
+
299
+ ▸ **toJSON**(): `any`
300
+
301
+ Returns a JSON representation of the error.
302
+
303
+ #### Returns
304
+
305
+ `any`
306
+
307
+ A JSON representation of the error.
308
+
309
+ #### Inherited from
310
+
311
+ [BaseError](BaseError.md).[toJSON](BaseError.md#tojson)
312
+
313
+ #### Defined in
314
+
315
+ [packages/ai-tool/src/utils/base-error.ts:109](https://github.com/isdk/ai-tool.js/blob/e7fb80e8b32da0eb475b223017e88d973ef7af19/src/utils/base-error.ts#L109)
316
+
317
+ ___
318
+
319
+ ### captureStackTrace
320
+
321
+ ▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
322
+
323
+ Create .stack property on a target object
324
+
325
+ #### Parameters
326
+
327
+ | Name | Type |
328
+ | :------ | :------ |
329
+ | `targetObject` | `object` |
330
+ | `constructorOpt?` | `Function` |
331
+
332
+ #### Returns
333
+
334
+ `void`
335
+
336
+ #### Inherited from
337
+
338
+ [BaseError](BaseError.md).[captureStackTrace](BaseError.md#capturestacktrace)
339
+
340
+ #### Defined in
341
+
342
+ node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.d.ts:21
343
+
344
+ ___
345
+
346
+ ### createErrorClass
347
+
348
+ ▸ **createErrorClass**(`aType`, `aErrorCode?`, `ParentErrorClass?`): typeof [`BaseError`](BaseError.md)
349
+
350
+ #### Parameters
351
+
352
+ | Name | Type | Default value |
353
+ | :------ | :------ | :------ |
354
+ | `aType` | `string` | `undefined` |
355
+ | `aErrorCode?` | `string` \| `number` \| typeof `AbstractError` | `undefined` |
356
+ | `ParentErrorClass` | typeof [`BaseError`](BaseError.md) | `BaseError` |
357
+
358
+ #### Returns
359
+
360
+ typeof [`BaseError`](BaseError.md)
361
+
362
+ #### Inherited from
363
+
364
+ [BaseError](BaseError.md).[createErrorClass](BaseError.md#createerrorclass)
365
+
366
+ #### Defined in
367
+
368
+ [packages/ai-tool/src/utils/base-error.ts:68](https://github.com/isdk/ai-tool.js/blob/e7fb80e8b32da0eb475b223017e88d973ef7af19/src/utils/base-error.ts#L68)
@@ -0,0 +1,346 @@
1
+ [@isdk/ai-tool](../README.md) / [Exports](../modules.md) / ConfigFile
2
+
3
+ # Class: ConfigFile
4
+
5
+ ## Table of contents
6
+
7
+ ### Constructors
8
+
9
+ - [constructor](ConfigFile.md#constructor)
10
+
11
+ ### Properties
12
+
13
+ - [configurators](ConfigFile.md#configurators)
14
+ - [fs](ConfigFile.md#fs)
15
+ - [path](ConfigFile.md#path)
16
+ - [readFile](ConfigFile.md#readfile)
17
+
18
+ ### Methods
19
+
20
+ - [load](ConfigFile.md#load)
21
+ - [loadSync](ConfigFile.md#loadsync)
22
+ - [load](ConfigFile.md#load-1)
23
+ - [loadSync](ConfigFile.md#loadsync-1)
24
+ - [register](ConfigFile.md#register)
25
+ - [setFileSystem](ConfigFile.md#setfilesystem)
26
+
27
+ ## Constructors
28
+
29
+ ### constructor
30
+
31
+ • **new ConfigFile**(`aOptions?`): [`ConfigFile`](ConfigFile.md)
32
+
33
+ #### Parameters
34
+
35
+ | Name | Type |
36
+ | :------ | :------ |
37
+ | `aOptions?` | `IConfigOptions` |
38
+
39
+ #### Returns
40
+
41
+ [`ConfigFile`](ConfigFile.md)
42
+
43
+ #### Defined in
44
+
45
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:42
46
+
47
+ • **new ConfigFile**(`aPath`, `aOptions?`): [`ConfigFile`](ConfigFile.md)
48
+
49
+ #### Parameters
50
+
51
+ | Name | Type |
52
+ | :------ | :------ |
53
+ | `aPath` | `string` |
54
+ | `aOptions?` | `IConfigOptions` |
55
+
56
+ #### Returns
57
+
58
+ [`ConfigFile`](ConfigFile.md)
59
+
60
+ #### Defined in
61
+
62
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:43
63
+
64
+ ## Properties
65
+
66
+ ### configurators
67
+
68
+ • **configurators**: `IConfigurator`
69
+
70
+ #### Defined in
71
+
72
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:37
73
+
74
+ ___
75
+
76
+ ### fs
77
+
78
+ • **fs**: `IFileSystem`
79
+
80
+ #### Defined in
81
+
82
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:38
83
+
84
+ ___
85
+
86
+ ### path
87
+
88
+ • **path**: `any`
89
+
90
+ #### Defined in
91
+
92
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:39
93
+
94
+ ___
95
+
96
+ ### readFile
97
+
98
+ • **readFile**: `any`
99
+
100
+ #### Defined in
101
+
102
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:40
103
+
104
+ ## Methods
105
+
106
+ ### load
107
+
108
+ ▸ **load**(`aPath`, `done`): `void`
109
+
110
+ #### Parameters
111
+
112
+ | Name | Type |
113
+ | :------ | :------ |
114
+ | `aPath` | `string` |
115
+ | `done` | `ConfigCallBackFn` |
116
+
117
+ #### Returns
118
+
119
+ `void`
120
+
121
+ #### Defined in
122
+
123
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:44
124
+
125
+ ▸ **load**(`done`): `void`
126
+
127
+ #### Parameters
128
+
129
+ | Name | Type |
130
+ | :------ | :------ |
131
+ | `done` | `ConfigCallBackFn` |
132
+
133
+ #### Returns
134
+
135
+ `void`
136
+
137
+ #### Defined in
138
+
139
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:45
140
+
141
+ ▸ **load**(`aPath`, `aOptions`, `done`): `void`
142
+
143
+ #### Parameters
144
+
145
+ | Name | Type |
146
+ | :------ | :------ |
147
+ | `aPath` | `string` |
148
+ | `aOptions` | `IConfigOptions` |
149
+ | `done` | `ConfigCallBackFn` |
150
+
151
+ #### Returns
152
+
153
+ `void`
154
+
155
+ #### Defined in
156
+
157
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:46
158
+
159
+ ▸ **load**(`aPath`, `aOptions?`): `Promise`\<`any`\>
160
+
161
+ #### Parameters
162
+
163
+ | Name | Type |
164
+ | :------ | :------ |
165
+ | `aPath` | `string` |
166
+ | `aOptions?` | `IConfigOptions` |
167
+
168
+ #### Returns
169
+
170
+ `Promise`\<`any`\>
171
+
172
+ #### Defined in
173
+
174
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:47
175
+
176
+ ▸ **load**(`aOptions?`): `Promise`\<`any`\>
177
+
178
+ #### Parameters
179
+
180
+ | Name | Type |
181
+ | :------ | :------ |
182
+ | `aOptions?` | `IConfigOptions` |
183
+
184
+ #### Returns
185
+
186
+ `Promise`\<`any`\>
187
+
188
+ #### Defined in
189
+
190
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:48
191
+
192
+ ___
193
+
194
+ ### loadSync
195
+
196
+ ▸ **loadSync**(`aPath`, `aOptions?`): `any`
197
+
198
+ #### Parameters
199
+
200
+ | Name | Type |
201
+ | :------ | :------ |
202
+ | `aPath` | `string` |
203
+ | `aOptions?` | `IConfigOptions` |
204
+
205
+ #### Returns
206
+
207
+ `any`
208
+
209
+ #### Defined in
210
+
211
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:49
212
+
213
+ ▸ **loadSync**(`aOptions?`): `any`
214
+
215
+ #### Parameters
216
+
217
+ | Name | Type |
218
+ | :------ | :------ |
219
+ | `aOptions?` | `IConfigOptions` |
220
+
221
+ #### Returns
222
+
223
+ `any`
224
+
225
+ #### Defined in
226
+
227
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:50
228
+
229
+ ___
230
+
231
+ ### load
232
+
233
+ ▸ **load**(`aPath`, `aOptions?`): `Promise`\<`any`\>
234
+
235
+ #### Parameters
236
+
237
+ | Name | Type |
238
+ | :------ | :------ |
239
+ | `aPath` | `string` |
240
+ | `aOptions?` | `IConfigOptions` |
241
+
242
+ #### Returns
243
+
244
+ `Promise`\<`any`\>
245
+
246
+ #### Defined in
247
+
248
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:32
249
+
250
+ ▸ **load**(`aPath`, `aOptions`, `done`): `void` \| `Promise`\<`any`\>
251
+
252
+ #### Parameters
253
+
254
+ | Name | Type |
255
+ | :------ | :------ |
256
+ | `aPath` | `string` |
257
+ | `aOptions` | `IConfigOptions` |
258
+ | `done` | ``true`` \| `ConfigCallBackFn` |
259
+
260
+ #### Returns
261
+
262
+ `void` \| `Promise`\<`any`\>
263
+
264
+ #### Defined in
265
+
266
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:33
267
+
268
+ ▸ **load**(`aPath`, `done`): `void` \| `Promise`\<`any`\>
269
+
270
+ #### Parameters
271
+
272
+ | Name | Type |
273
+ | :------ | :------ |
274
+ | `aPath` | `string` |
275
+ | `done` | ``true`` \| `ConfigCallBackFn` |
276
+
277
+ #### Returns
278
+
279
+ `void` \| `Promise`\<`any`\>
280
+
281
+ #### Defined in
282
+
283
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:34
284
+
285
+ ___
286
+
287
+ ### loadSync
288
+
289
+ ▸ **loadSync**(`aPath`, `aOptions?`): `any`
290
+
291
+ #### Parameters
292
+
293
+ | Name | Type |
294
+ | :------ | :------ |
295
+ | `aPath` | `string` |
296
+ | `aOptions?` | `IConfigOptions` |
297
+
298
+ #### Returns
299
+
300
+ `any`
301
+
302
+ #### Defined in
303
+
304
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:35
305
+
306
+ ___
307
+
308
+ ### register
309
+
310
+ ▸ **register**(`aExts`, `aProcess`, `aConfigurators?`): `any`
311
+
312
+ #### Parameters
313
+
314
+ | Name | Type |
315
+ | :------ | :------ |
316
+ | `aExts` | `string` \| `string`[] |
317
+ | `aProcess` | `ConfigAsyncProcessFn` |
318
+ | `aConfigurators?` | `IConfigurator` |
319
+
320
+ #### Returns
321
+
322
+ `any`
323
+
324
+ #### Defined in
325
+
326
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:29
327
+
328
+ ___
329
+
330
+ ### setFileSystem
331
+
332
+ ▸ **setFileSystem**(`aFileSystem`): `any`
333
+
334
+ #### Parameters
335
+
336
+ | Name | Type |
337
+ | :------ | :------ |
338
+ | `aFileSystem` | `IFileSystem` |
339
+
340
+ #### Returns
341
+
342
+ `any`
343
+
344
+ #### Defined in
345
+
346
+ node_modules/.pnpm/load-config-file@2.0.0-alpha.3/node_modules/load-config-file/lib/index.d.ts:30