node-karin 0.0.3 → 0.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 (105) hide show
  1. package/LICENSE +674 -674
  2. package/README.md +57 -57
  3. package/config/defSet/App.yaml +37 -37
  4. package/config/defSet/config.yaml +43 -43
  5. package/config/defSet/group.yaml +18 -18
  6. package/config/defSet/pm2.yaml +21 -21
  7. package/config/defSet/server.yaml +42 -42
  8. package/config/view/App.yaml +74 -74
  9. package/config/view/config.yaml +100 -100
  10. package/config/view/group.yaml +62 -62
  11. package/config/view/pm2.yaml +41 -41
  12. package/config/view/redis.yaml +25 -25
  13. package/config/view/server.yaml +93 -93
  14. package/lib/adapter/onebot/onebot11.d.ts +430 -430
  15. package/lib/adapter/onebot/onebot11.js +1265 -1302
  16. package/lib/core/init.js +4 -4
  17. package/lib/core/karin.d.ts +72 -72
  18. package/lib/core/karin.js +51 -51
  19. package/lib/core/listener.d.ts +121 -121
  20. package/lib/core/listener.js +178 -178
  21. package/lib/core/plugin.app.d.ts +15 -15
  22. package/lib/core/plugin.app.js +18 -18
  23. package/lib/core/plugin.d.ts +182 -182
  24. package/lib/core/plugin.js +132 -132
  25. package/lib/core/plugin.loader.d.ts +149 -149
  26. package/lib/core/plugin.loader.js +451 -451
  27. package/lib/core/server.d.ts +26 -26
  28. package/lib/core/server.js +209 -209
  29. package/lib/db/level.d.ts +20 -20
  30. package/lib/db/level.js +36 -36
  31. package/lib/db/redis.d.ts +41 -41
  32. package/lib/db/redis.js +131 -131
  33. package/lib/db/redis_level.d.ts +113 -113
  34. package/lib/db/redis_level.js +274 -274
  35. package/lib/event/event.d.ts +138 -138
  36. package/lib/event/event.handler.d.ts +29 -29
  37. package/lib/event/event.handler.js +138 -138
  38. package/lib/event/event.js +120 -120
  39. package/lib/event/message.d.ts +102 -102
  40. package/lib/event/message.handler.d.ts +25 -25
  41. package/lib/event/message.handler.js +237 -237
  42. package/lib/event/message.js +69 -69
  43. package/lib/event/notice.d.ts +49 -49
  44. package/lib/event/notice.js +14 -14
  45. package/lib/event/request.d.ts +49 -49
  46. package/lib/event/request.js +14 -14
  47. package/lib/event/review.handler.d.ts +54 -54
  48. package/lib/event/review.handler.js +374 -374
  49. package/lib/index.d.ts +23 -23
  50. package/lib/index.js +39 -40
  51. package/lib/renderer/app.d.ts +53 -53
  52. package/lib/renderer/app.js +88 -88
  53. package/lib/renderer/base.d.ts +30 -30
  54. package/lib/renderer/base.js +68 -68
  55. package/lib/renderer/client.d.ts +30 -30
  56. package/lib/renderer/client.js +155 -155
  57. package/lib/renderer/http.d.ts +19 -19
  58. package/lib/renderer/http.js +50 -50
  59. package/lib/renderer/server.d.ts +42 -42
  60. package/lib/renderer/server.js +110 -110
  61. package/lib/renderer/wormhole.d.ts +1 -1
  62. package/lib/renderer/wormhole.js +154 -154
  63. package/lib/types/adapter.d.ts +575 -575
  64. package/lib/types/adapter.js +1 -1
  65. package/lib/types/config.d.ts +327 -327
  66. package/lib/types/config.js +1 -1
  67. package/lib/types/element.d.ts +576 -576
  68. package/lib/types/element.js +1 -1
  69. package/lib/types/index.d.ts +8 -8
  70. package/lib/types/index.js +8 -8
  71. package/lib/types/logger.d.ts +109 -109
  72. package/lib/types/logger.js +1 -1
  73. package/lib/types/onebots11.d.ts +1371 -1371
  74. package/lib/types/onebots11.js +1 -1
  75. package/lib/types/plugin.d.ts +282 -282
  76. package/lib/types/plugin.js +1 -1
  77. package/lib/types/render.d.ts +111 -111
  78. package/lib/types/render.js +1 -1
  79. package/lib/types/reply.d.ts +40 -40
  80. package/lib/types/reply.js +1 -1
  81. package/lib/types/types.d.ts +898 -898
  82. package/lib/types/types.js +1 -1
  83. package/lib/utils/YamlEditor.d.ts +62 -62
  84. package/lib/utils/YamlEditor.js +197 -197
  85. package/lib/utils/button.d.ts +49 -49
  86. package/lib/utils/button.js +75 -75
  87. package/lib/utils/common.d.ts +123 -123
  88. package/lib/utils/common.js +396 -396
  89. package/lib/utils/config.d.ts +72 -72
  90. package/lib/utils/config.js +254 -254
  91. package/lib/utils/exec.d.ts +22 -22
  92. package/lib/utils/exec.js +36 -36
  93. package/lib/utils/ffmpeg.d.ts +12 -12
  94. package/lib/utils/ffmpeg.js +25 -25
  95. package/lib/utils/handler.d.ts +76 -76
  96. package/lib/utils/handler.js +98 -98
  97. package/lib/utils/logger.d.ts +3 -3
  98. package/lib/utils/logger.js +104 -104
  99. package/lib/utils/segment.d.ts +276 -276
  100. package/lib/utils/segment.js +420 -420
  101. package/lib/utils/update.d.ts +69 -69
  102. package/lib/utils/update.js +145 -145
  103. package/lib/utils/updateVersion.d.ts +33 -33
  104. package/lib/utils/updateVersion.js +140 -140
  105. package/package.json +92 -91
@@ -1,276 +1,276 @@
1
- import { TextElement, AtElement, ImageElement, FaceElement, BubbleFaceElement, ReplyElement, VoiceElement, VideoElement, BasketballElement, DiceElement, RpsElement, PokeElement, MusicElement, WeatherElement, LocationElement, ShareElement, GiftElement, MarketFaceElement, ForwardElement, ContactElement, JsonElement, XmlElement, FileElement, ButtonElement, CustomMusicElemen, TemplateElement, ContentElement, KarinNodeElement, KarinElement } from '../types/element.js';
2
- declare const _default: {
3
- /**
4
- * 纯文本
5
- * @param text - 文本内容
6
- * @returns {TextElement} 纯文本元素
7
- */
8
- text(text: string): TextElement;
9
- /**
10
- * 提及
11
- * 提供一个uid即可
12
- * @param uid - uid
13
- * @param uin - uin
14
- * @returns {AtElement} 提及元素
15
- */
16
- at(uid: string, uin?: string): AtElement;
17
- /**
18
- * 表情
19
- * @param id - 表情ID
20
- * @param is_big - 是否大表情,默认不是
21
- * @returns {FaceElement} 表情元素
22
- */
23
- face(id: number, is_big?: boolean): FaceElement;
24
- /**
25
- * 弹射表情
26
- * @param id - 表情ID
27
- * @param count - 数量
28
- * @returns {BubbleFaceElement} 弹射表情元素
29
- */
30
- bubble_face(id: number, count?: number): BubbleFaceElement;
31
- /**
32
- * 引用回复
33
- * @param message_id - 消息ID
34
- * @returns {ReplyElement} 引用回复元素
35
- */
36
- reply(message_id: string): ReplyElement;
37
- /**
38
- * 图片
39
- * - 一般情况提供一个file参数即可,其他参数一般为收到的消息中的参数
40
- * @param file - 图片URL或路径、Base64
41
- * @param options - 图片类型、名称、MD5、子类型、宽度、高度
42
- * @returns {ImageElement} 图片元素
43
- */
44
- image(file: string, options?: {
45
- /**
46
- * - 图片类型,show: 展示图片,flash: 闪照,original: 原图
47
- */
48
- file_type?: 'show' | 'flash' | 'original';
49
- /**
50
- * - 图片名称
51
- */
52
- name?: string;
53
- /**
54
- * - 图片MD5
55
- */
56
- md5?: string;
57
- /**
58
- * - 图片子类型
59
- */
60
- sub_type?: number;
61
- /**
62
- * - 图片宽度
63
- */
64
- width?: number;
65
- /**
66
- * - 图片高度
67
- */
68
- height?: number;
69
- }): ImageElement;
70
- /**
71
- * 语音
72
- * @description 即将废弃,请使用voice
73
- * @param file - 语音URL或路径、Base64
74
- * @param magic - 是否魔法语音,默认为 false
75
- * @param md5 - 语音md5
76
- * @param name - 语音名称
77
- * @returns {VoiceElement} 语音元素
78
- */
79
- record(file: string, magic?: boolean, md5?: string, name?: string): VoiceElement;
80
- /**
81
- * 语音
82
- * @param file - 语音URL或路径、Base64
83
- * @param magic - 是否魔法语音,默认为 false
84
- * @param md5 - 语音md5
85
- * @param name - 语音名称
86
- * @returns {VoiceElement} 语音元素
87
- */
88
- voice(file: string, magic?: boolean, md5?: string, name?: string): VoiceElement;
89
- /**
90
- * 视频
91
- * @param file - 视频URL或路径、Base64
92
- * @param md5 - 视频md5
93
- * @param name - 视频名称
94
- * @returns {VideoElement} 视频元素
95
- */
96
- video(file: string, md5?: string, name?: string): VideoElement;
97
- /**
98
- * 篮球
99
- * @param id - 篮球ID
100
- * @returns {BasketballElement} 篮球元素
101
- */
102
- basketball(id: number): BasketballElement;
103
- /**
104
- * 骰子
105
- * @param id - 骰子ID
106
- * @returns {DiceElement} 骰子元素
107
- */
108
- dice(id: number): DiceElement;
109
- /**
110
- * 石头剪刀布
111
- * @param id - 石头剪刀布ID
112
- * @returns {RpsElement} 石头剪刀布元素
113
- */
114
- rps(id: number): RpsElement;
115
- /**
116
- * 戳一戳
117
- * @param id - 戳一戳ID
118
- * @param poke_type - 戳一戳类型
119
- * @param strength - 戳一戳强度(1-5 默认1)
120
- * @returns {PokeElement} 戳一戳元素
121
- */
122
- poke(id: number, poke_type: number, strength?: number): PokeElement;
123
- /**
124
- * 自定义音乐
125
- * @param url - 跳转链接
126
- * @param audio - 音乐音频链接
127
- * @param title - 标题
128
- * @param author - 歌手
129
- * @param pic - 封面
130
- * @returns {CustomMusicElemen} 自定义音乐元素
131
- */
132
- customMusic(url: string, audio: string, title: string, author: string, pic: string): CustomMusicElemen;
133
- /**
134
- * 音乐
135
- * @param platform - 音乐平台
136
- * @param id - 音乐ID
137
- * @returns {MusicElement} 音乐元素
138
- */
139
- music(platform: 'QQ' | 'netease' | 'custom', id: string): MusicElement;
140
- /**
141
- * 天气
142
- * @param city - 城市名称
143
- * @param code - 城市代码
144
- * @returns {WeatherElement} 天气元素
145
- */
146
- weather(city: string, code: string): WeatherElement;
147
- /**
148
- * 位置
149
- * @param lat - 纬度
150
- * @param lon - 经度
151
- * @param title - 标题
152
- * @param address - 地址
153
- * @returns {LocationElement} 位置元素
154
- */
155
- location(lat: number, lon: number, title: string, address: string): LocationElement;
156
- /**
157
- * 分享
158
- * @param url - 分享链接
159
- * @param title - 分享标题
160
- * @param content - 分享内容
161
- * @param image - 分享图片
162
- * @returns {ShareElement} 分享元素
163
- */
164
- share(url: string, title: string, content: string, image: string): ShareElement;
165
- /**
166
- * 礼物
167
- * @param qq - QQ 号
168
- * @param id - 礼物ID
169
- * @returns {GiftElement} 礼物元素
170
- */
171
- gift(qq: number, id: number): GiftElement;
172
- /**
173
- * 商城表情
174
- * @param id - 表情ID
175
- * @returns {MarketFaceElement} 商城表情元素
176
- */
177
- marketFace(id: string): MarketFaceElement;
178
- /**
179
- * 转发
180
- * @param res_id - 资源ID
181
- * @param uniseq - 序列号(可能不对?)
182
- * @param summary - 摘要
183
- * @param description - 描述
184
- * @returns {ForwardElement} 转发元素
185
- */
186
- forward(res_id: string, uniseq?: string, summary?: string, description?: string): ForwardElement;
187
- /**
188
- * 分享名片
189
- * @param scene - 分享类型
190
- * @param peer - 被推荐人的QQ号或者被推荐群的群号
191
- * @returns {ContactElement} 分享名片元素
192
- */
193
- contact(scene: 'group' | 'friend', peer: string): ContactElement;
194
- /**
195
- * JSON
196
- * @param data - JSON序列化过的字符串
197
- * @returns {JsonElement} JSON元素
198
- */
199
- json(data: string): JsonElement;
200
- /**
201
- * XML
202
- * @param data - XML字符串
203
- * @returns {XmlElement} XML元素
204
- */
205
- xml(data: string): XmlElement;
206
- /**
207
- * 文件
208
- */
209
- file(options: {
210
- /**
211
- * - 文件URL
212
- */
213
- url: string;
214
- /**
215
- * - 文件名称
216
- */
217
- name?: string;
218
- /**
219
- * - 文件大小
220
- */
221
- size?: number;
222
- /**
223
- * - 文件过期时间
224
- */
225
- expire_time?: number;
226
- /**
227
- * - 文件ID
228
- */
229
- id?: string;
230
- /**
231
- * - 未知
232
- */
233
- biz?: number;
234
- /**
235
- * - 文件子ID
236
- */
237
- sub_id?: string;
238
- /**
239
- * - 文件MD5
240
- */
241
- md5?: string;
242
- }): FileElement;
243
- /**
244
- * Markdown
245
- * @param content - 原生markdown内容
246
- * @returns {ContentElement} Markdown元素
247
- */
248
- markdown(content: string, params?: Array<{
249
- /**
250
- * - 模板参数键名称
251
- */
252
- key: string;
253
- /**
254
- * - 模板参数值
255
- */
256
- values: Array<string>;
257
- }>): ContentElement | TemplateElement;
258
- /**
259
- * 按钮
260
- * @param data - 按钮数据
261
- * @returns {ButtonElement} 按钮元素
262
- */
263
- button(data: ButtonElement['data']): ButtonElement;
264
- rows(data: Array<ButtonElement['data']>): {
265
- type: 'rows';
266
- rows: Array<ButtonElement>;
267
- };
268
- /**
269
- * 转发自定义节点
270
- * @param user_id - 用户ID
271
- * @param nickname - 用户昵称
272
- * @param content - 节点内容
273
- */
274
- node(user_id: string, nickname: string, content: KarinElement | Array<KarinElement>): KarinNodeElement;
275
- };
276
- export default _default;
1
+ import { TextElement, AtElement, ImageElement, FaceElement, BubbleFaceElement, ReplyElement, VoiceElement, VideoElement, BasketballElement, DiceElement, RpsElement, PokeElement, MusicElement, WeatherElement, LocationElement, ShareElement, GiftElement, MarketFaceElement, ForwardElement, ContactElement, JsonElement, XmlElement, FileElement, ButtonElement, CustomMusicElemen, TemplateElement, ContentElement, KarinNodeElement, KarinElement } from '../types/element.js';
2
+ declare const _default: {
3
+ /**
4
+ * 纯文本
5
+ * @param text - 文本内容
6
+ * @returns {TextElement} 纯文本元素
7
+ */
8
+ text(text: string): TextElement;
9
+ /**
10
+ * 提及
11
+ * 提供一个uid即可
12
+ * @param uid - uid
13
+ * @param uin - uin
14
+ * @returns {AtElement} 提及元素
15
+ */
16
+ at(uid: string, uin?: string): AtElement;
17
+ /**
18
+ * 表情
19
+ * @param id - 表情ID
20
+ * @param is_big - 是否大表情,默认不是
21
+ * @returns {FaceElement} 表情元素
22
+ */
23
+ face(id: number, is_big?: boolean): FaceElement;
24
+ /**
25
+ * 弹射表情
26
+ * @param id - 表情ID
27
+ * @param count - 数量
28
+ * @returns {BubbleFaceElement} 弹射表情元素
29
+ */
30
+ bubble_face(id: number, count?: number): BubbleFaceElement;
31
+ /**
32
+ * 引用回复
33
+ * @param message_id - 消息ID
34
+ * @returns {ReplyElement} 引用回复元素
35
+ */
36
+ reply(message_id: string): ReplyElement;
37
+ /**
38
+ * 图片
39
+ * - 一般情况提供一个file参数即可,其他参数一般为收到的消息中的参数
40
+ * @param file - 图片URL或路径、Base64
41
+ * @param options - 图片类型、名称、MD5、子类型、宽度、高度
42
+ * @returns {ImageElement} 图片元素
43
+ */
44
+ image(file: string, options?: {
45
+ /**
46
+ * - 图片类型,show: 展示图片,flash: 闪照,original: 原图
47
+ */
48
+ file_type?: 'show' | 'flash' | 'original';
49
+ /**
50
+ * - 图片名称
51
+ */
52
+ name?: string;
53
+ /**
54
+ * - 图片MD5
55
+ */
56
+ md5?: string;
57
+ /**
58
+ * - 图片子类型
59
+ */
60
+ sub_type?: number;
61
+ /**
62
+ * - 图片宽度
63
+ */
64
+ width?: number;
65
+ /**
66
+ * - 图片高度
67
+ */
68
+ height?: number;
69
+ }): ImageElement;
70
+ /**
71
+ * 语音
72
+ * @description 即将废弃,请使用voice
73
+ * @param file - 语音URL或路径、Base64
74
+ * @param magic - 是否魔法语音,默认为 false
75
+ * @param md5 - 语音md5
76
+ * @param name - 语音名称
77
+ * @returns {VoiceElement} 语音元素
78
+ */
79
+ record(file: string, magic?: boolean, md5?: string, name?: string): VoiceElement;
80
+ /**
81
+ * 语音
82
+ * @param file - 语音URL或路径、Base64
83
+ * @param magic - 是否魔法语音,默认为 false
84
+ * @param md5 - 语音md5
85
+ * @param name - 语音名称
86
+ * @returns {VoiceElement} 语音元素
87
+ */
88
+ voice(file: string, magic?: boolean, md5?: string, name?: string): VoiceElement;
89
+ /**
90
+ * 视频
91
+ * @param file - 视频URL或路径、Base64
92
+ * @param md5 - 视频md5
93
+ * @param name - 视频名称
94
+ * @returns {VideoElement} 视频元素
95
+ */
96
+ video(file: string, md5?: string, name?: string): VideoElement;
97
+ /**
98
+ * 篮球
99
+ * @param id - 篮球ID
100
+ * @returns {BasketballElement} 篮球元素
101
+ */
102
+ basketball(id: number): BasketballElement;
103
+ /**
104
+ * 骰子
105
+ * @param id - 骰子ID
106
+ * @returns {DiceElement} 骰子元素
107
+ */
108
+ dice(id: number): DiceElement;
109
+ /**
110
+ * 石头剪刀布
111
+ * @param id - 石头剪刀布ID
112
+ * @returns {RpsElement} 石头剪刀布元素
113
+ */
114
+ rps(id: number): RpsElement;
115
+ /**
116
+ * 戳一戳
117
+ * @param id - 戳一戳ID
118
+ * @param poke_type - 戳一戳类型
119
+ * @param strength - 戳一戳强度(1-5 默认1)
120
+ * @returns {PokeElement} 戳一戳元素
121
+ */
122
+ poke(id: number, poke_type: number, strength?: number): PokeElement;
123
+ /**
124
+ * 自定义音乐
125
+ * @param url - 跳转链接
126
+ * @param audio - 音乐音频链接
127
+ * @param title - 标题
128
+ * @param author - 歌手
129
+ * @param pic - 封面
130
+ * @returns {CustomMusicElemen} 自定义音乐元素
131
+ */
132
+ customMusic(url: string, audio: string, title: string, author: string, pic: string): CustomMusicElemen;
133
+ /**
134
+ * 音乐
135
+ * @param platform - 音乐平台
136
+ * @param id - 音乐ID
137
+ * @returns {MusicElement} 音乐元素
138
+ */
139
+ music(platform: 'QQ' | 'netease' | 'custom', id: string): MusicElement;
140
+ /**
141
+ * 天气
142
+ * @param city - 城市名称
143
+ * @param code - 城市代码
144
+ * @returns {WeatherElement} 天气元素
145
+ */
146
+ weather(city: string, code: string): WeatherElement;
147
+ /**
148
+ * 位置
149
+ * @param lat - 纬度
150
+ * @param lon - 经度
151
+ * @param title - 标题
152
+ * @param address - 地址
153
+ * @returns {LocationElement} 位置元素
154
+ */
155
+ location(lat: number, lon: number, title: string, address: string): LocationElement;
156
+ /**
157
+ * 分享
158
+ * @param url - 分享链接
159
+ * @param title - 分享标题
160
+ * @param content - 分享内容
161
+ * @param image - 分享图片
162
+ * @returns {ShareElement} 分享元素
163
+ */
164
+ share(url: string, title: string, content: string, image: string): ShareElement;
165
+ /**
166
+ * 礼物
167
+ * @param qq - QQ 号
168
+ * @param id - 礼物ID
169
+ * @returns {GiftElement} 礼物元素
170
+ */
171
+ gift(qq: number, id: number): GiftElement;
172
+ /**
173
+ * 商城表情
174
+ * @param id - 表情ID
175
+ * @returns {MarketFaceElement} 商城表情元素
176
+ */
177
+ marketFace(id: string): MarketFaceElement;
178
+ /**
179
+ * 转发
180
+ * @param res_id - 资源ID
181
+ * @param uniseq - 序列号(可能不对?)
182
+ * @param summary - 摘要
183
+ * @param description - 描述
184
+ * @returns {ForwardElement} 转发元素
185
+ */
186
+ forward(res_id: string, uniseq?: string, summary?: string, description?: string): ForwardElement;
187
+ /**
188
+ * 分享名片
189
+ * @param scene - 分享类型
190
+ * @param peer - 被推荐人的QQ号或者被推荐群的群号
191
+ * @returns {ContactElement} 分享名片元素
192
+ */
193
+ contact(scene: 'group' | 'friend', peer: string): ContactElement;
194
+ /**
195
+ * JSON
196
+ * @param data - JSON序列化过的字符串
197
+ * @returns {JsonElement} JSON元素
198
+ */
199
+ json(data: string): JsonElement;
200
+ /**
201
+ * XML
202
+ * @param data - XML字符串
203
+ * @returns {XmlElement} XML元素
204
+ */
205
+ xml(data: string): XmlElement;
206
+ /**
207
+ * 文件
208
+ */
209
+ file(options: {
210
+ /**
211
+ * - 文件URL
212
+ */
213
+ url: string;
214
+ /**
215
+ * - 文件名称
216
+ */
217
+ name?: string;
218
+ /**
219
+ * - 文件大小
220
+ */
221
+ size?: number;
222
+ /**
223
+ * - 文件过期时间
224
+ */
225
+ expire_time?: number;
226
+ /**
227
+ * - 文件ID
228
+ */
229
+ id?: string;
230
+ /**
231
+ * - 未知
232
+ */
233
+ biz?: number;
234
+ /**
235
+ * - 文件子ID
236
+ */
237
+ sub_id?: string;
238
+ /**
239
+ * - 文件MD5
240
+ */
241
+ md5?: string;
242
+ }): FileElement;
243
+ /**
244
+ * Markdown
245
+ * @param content - 原生markdown内容
246
+ * @returns {ContentElement} Markdown元素
247
+ */
248
+ markdown(content: string, params?: Array<{
249
+ /**
250
+ * - 模板参数键名称
251
+ */
252
+ key: string;
253
+ /**
254
+ * - 模板参数值
255
+ */
256
+ values: Array<string>;
257
+ }>): ContentElement | TemplateElement;
258
+ /**
259
+ * 按钮
260
+ * @param data - 按钮数据
261
+ * @returns {ButtonElement} 按钮元素
262
+ */
263
+ button(data: ButtonElement['data']): ButtonElement;
264
+ rows(data: Array<ButtonElement['data']>): {
265
+ type: 'rows';
266
+ rows: Array<ButtonElement>;
267
+ };
268
+ /**
269
+ * 转发自定义节点
270
+ * @param user_id - 用户ID
271
+ * @param nickname - 用户昵称
272
+ * @param content - 节点内容
273
+ */
274
+ node(user_id: string, nickname: string, content: KarinElement | Array<KarinElement>): KarinNodeElement;
275
+ };
276
+ export default _default;