karin-plugin-kkk 2.31.0 → 2.31.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,79 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [2.31.2](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.31.1...v2.31.2) (2026-05-27)
6
+
7
+
8
+ ### 🐛 错误修复
9
+
10
+ * cn ([80bbe06](https://github.com/ikenxuan/karin-plugin-kkk/commit/80bbe06b7e92da7c90c5bd941e0109ca3d50497d))
11
+ * theme ([40b97d5](https://github.com/ikenxuan/karin-plugin-kkk/commit/40b97d599a2baaf271cda5af262aed3ae92fab9c))
12
+ * 修复二维码生成使用错误的属性 ([43396cc](https://github.com/ikenxuan/karin-plugin-kkk/commit/43396cc92a6f630c9c8daf1a52ebfc56f44aebc2))
13
+ * 细优 ([705faca](https://github.com/ikenxuan/karin-plugin-kkk/commit/705faca5de99b3b38ff7b9bdd5dd677b5d609221))
14
+
15
+
16
+ ### 💄 UI 优化
17
+
18
+ * **bilibili:** 优化部分间距 ([129b53a](https://github.com/ikenxuan/karin-plugin-kkk/commit/129b53a95f08bf23052da4019c66fb1bd617d5d5))
19
+ * 细节优化 ([3f5d40c](https://github.com/ikenxuan/karin-plugin-kkk/commit/3f5d40cbbf8789e68fdb9321a08958783a385192))
20
+ * 间距 ([83c5d09](https://github.com/ikenxuan/karin-plugin-kkk/commit/83c5d09fcbd6b86995787c1ef6d638a21bf9a3c1))
21
+
22
+
23
+ ### 🧰 其他更新
24
+
25
+ * use ahooks ([bd7857c](https://github.com/ikenxuan/karin-plugin-kkk/commit/bd7857ca3fb604d606e5c067fa0ac64c7f736474))
26
+
27
+
28
+ ### ♻️ 代码重构
29
+
30
+ * 引用解析时扫码使用 @ikenxuan/qrcode 的实现 ([#309](https://github.com/ikenxuan/karin-plugin-kkk/issues/309)) ([6fecaaa](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fecaaa01b04aae68d938dc8c5a971cc8d513eef))
31
+ * 替换二维码生成实现 ([#308](https://github.com/ikenxuan/karin-plugin-kkk/issues/308)) ([c211d4e](https://github.com/ikenxuan/karin-plugin-kkk/commit/c211d4ee2075d5d4e98ba9416c37a05daaa762f2))
32
+
33
+
34
+ ### 📦 依赖更新
35
+
36
+ * update ([f9a0f48](https://github.com/ikenxuan/karin-plugin-kkk/commit/f9a0f48def45a8a77dd08969da26dc38c2b16960))
37
+
38
+
39
+ ### 💯 细节优化
40
+
41
+ * add tailwind-merge ([6fd58ef](https://github.com/ikenxuan/karin-plugin-kkk/commit/6fd58ef8c303ba8595000bf04b16f9f912eb2fbc))
42
+ * 添加debug日志 ([c7d8c6d](https://github.com/ikenxuan/karin-plugin-kkk/commit/c7d8c6db074891faf64df95ac4be21974092e08b))
43
+
44
+ ## [2.31.1](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.31.0...v2.31.1) (2026-05-23)
45
+
46
+
47
+ ### 🐛 错误修复
48
+
49
+ * **抖音:** 视频索引错误导致断点续传损坏视频文件 ([aa72ba8](https://github.com/ikenxuan/karin-plugin-kkk/commit/aa72ba84a6d463f52afac7ac5526ed19c0b00f22))
50
+
51
+
52
+ ### 💄 UI 优化
53
+
54
+ * update icon ([ede8e9c](https://github.com/ikenxuan/karin-plugin-kkk/commit/ede8e9c3533700ad5cb484f1e86ae3162b31cab7))
55
+ * 修复 B站视频动态组件中共创者信息的显示位置和样式 ([d2e965c](https://github.com/ikenxuan/karin-plugin-kkk/commit/d2e965cc38aeccaf453aefc40bd9e5e6821efe14))
56
+ * 提取部分公共组件、视频动态添加原动态正文信息。 ([33ec0f2](https://github.com/ikenxuan/karin-plugin-kkk/commit/33ec0f2d7e186c1a74bef6157ded869c68908d3d))
57
+ * 添加水平分隔线节点及相关功能,支持图片下方注释 ([19e2d24](https://github.com/ikenxuan/karin-plugin-kkk/commit/19e2d244a2f6486fbc871cd2431b5d5584f3e78f))
58
+ * 添加额外内容卡片支持,更新相关组件和类型定义 ([c6145f5](https://github.com/ikenxuan/karin-plugin-kkk/commit/c6145f503bca76b462e0f7a0c248019d8ca48a57))
59
+ * 细优 ([9261164](https://github.com/ikenxuan/karin-plugin-kkk/commit/92611644f35f75dbad5090b97215e0aed65dda0c))
60
+ * 间距 ([92bf6ad](https://github.com/ikenxuan/karin-plugin-kkk/commit/92bf6adbf68f13ca11350429ccdc9d23f121d7bb))
61
+
62
+
63
+ ### ♻️ 代码重构
64
+
65
+ * 优化 Bilibili 动态处理逻辑,简化代码结构;调整视频内容组件样式 ([15bc5db](https://github.com/ikenxuan/karin-plugin-kkk/commit/15bc5db4702a8daa114f17978fb0b838d8a366d7))
66
+
67
+
68
+ ### ⚙️ 配置变更
69
+
70
+ * 移除次级评论解析深度相关配置及逻辑,更新文档说明 ([f07f91c](https://github.com/ikenxuan/karin-plugin-kkk/commit/f07f91c005fd6f97d9597ac2838fca8c30c62b4d))
71
+ * 移除真实评论数量相关配置及逻辑 ([af75c69](https://github.com/ikenxuan/karin-plugin-kkk/commit/af75c69ba0772739679314fc2fc2852d56827c76))
72
+
73
+
74
+ ### 💯 细节优化
75
+
76
+ * 1 ([4509fb0](https://github.com/ikenxuan/karin-plugin-kkk/commit/4509fb08b658c0e085b068a4b1e05fc177834eea))
77
+
5
78
  ## [2.31.0](https://github.com/ikenxuan/karin-plugin-kkk/compare/v2.30.4...v2.31.0) (2026-05-19)
6
79
 
7
80
 
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "2.31.0",
3
- "buildTime": "2026-05-19T13:31:48.765Z",
4
- "buildTimestamp": 1779197508765,
2
+ "version": "2.31.2",
3
+ "buildTime": "2026-05-27T05:51:51.729Z",
4
+ "buildTimestamp": 1779861111729,
5
5
  "name": "karin-plugin-kkk",
6
6
  "description": "Karin 的「抖音」「B 站」视频解析/动态推送插件",
7
7
  "homepage": "https://github.com/ikenxuan/karin-plugin-kkk",
8
- "commitHash": "f7281591cbdfb2d59e879769daff2f59ab123518",
9
- "shortCommitHash": "f7281591"
8
+ "commitHash": "85cc8d6888d006a77675242f8792cc1540d7d6e5",
9
+ "shortCommitHash": "85cc8d68"
10
10
  }
@@ -1,2 +1,2 @@
1
- import { $n as KuaishouCommentParamsSchema, $r as emitLogError, $t as createAmagiClient, An as isNetworkErrorResult, Ar as BilibiliColumnInfoParamsSchema, At as KuaishouMethodMapping, Bn as douyinSign, Br as BilibiliQrcodeStatusParamsSchema, Bt as DouyinMethodToFetcher, Cn as httpLogger, Cr as BilibiliArticleCardParamsSchema, Ct as amagi, Dn as fetchData, Dr as BilibiliBangumiInfoParamsSchema, Dt as DouyinApiRoutes, En as logger, Er as BilibiliAv2BvParamsSchema, Et as BilibiliMethodMapping, Fn as kuaishouSign, Fr as BilibiliEmojiParamsSchema, Ft as BilibiliFetcherMethods, Gn as validateBilibiliParams, Gr as BilibiliVideoParamsSchema, Gt as XiaohongshuFetcherMethods, Hn as createBoundBilibiliFetcher, Hr as BilibiliValidateCaptchaParamsSchema, Ht as KuaishouInternalMethods, In as kuaishouApiUrls, Ir as BilibiliLiveParamsSchema, It as BilibiliInternalMethods, Jn as validateXiaohongshuParams, Jr as emitApiSuccess, Jt as toFetcherMethod, Kn as validateDouyinParams, Kr as amagiEvents, Kt as XiaohongshuInternalMethods, Ln as douyinFetcher, Lr as BilibiliLoginParamsSchema, Lt as BilibiliMethodToFetcher, Mn as xiaohongshuFetcher, Mr as BilibiliCommentReplyParamsSchema, Mt as XiaohongshuMethodMapping, Nn as createBoundKuaishouFetcher, Nr as BilibiliDanmakuParamsSchema, Nt as getApiRoute, On as fetchResponse, Or as BilibiliBangumiStreamParamsSchema, Ot as DouyinMethodMapping, Pn as kuaishouFetcher, Pr as BilibiliDynamicParamsSchema, Pt as getEnglishMethodName, Qn as xiaohongshuSign, Qr as emitLogDebug, Qt as CommentType, Rn as createBoundDouyinFetcher, Rr as BilibiliMethodRoutes, Rt as DouyinFetcherMethods, Sn as qtparam, Sr as BilibiliApplyCaptchaParamsSchema, St as CreateApp, Tn as logMiddleware, Tr as BilibiliArticleParamsSchema, Tt as BilibiliApiRoutes, Un as createErrorResponse, Ur as BilibiliValidationSchemas, Ut as KuaishouMethodToFetcher, Vn as bilibiliFetcher, Vr as BilibiliUserParamsSchema, Vt as KuaishouFetcherMethods, Wn as createSuccessResponse, Wr as BilibiliVideoDownloadParamsSchema, Wt as MethodMaps, Xn as XiaohongshuValidationSchemas, Xr as emitHttpResponse, Xt as AdditionalType, Yn as XiaohongshuMethodRoutes, Yr as emitHttpRequest, Yt as DynamicType, Zn as xiaohongshuApiUrls, Zr as emitLog, Zt as MajorType, _n as bilibiliErrorCodeMap, _r as DouyinSearchParamsSchema, ai as bilibili, an as createKuaishouRoutes, ar as KuaishouValidationSchemas, bn as av2bv, br as DouyinValidationSchemas, ci as getBilibiliData, cn as douyinUtils, cr as DouyinCommentReplyParamsSchema, dn as douyin, dr as DouyinEmojiProParamsSchema, ei as emitLogInfo, en as xiaohongshuUtils, er as KuaishouEmojiParamsSchema, fn as bilibiliUtils, fr as DouyinHotWordsParamsSchema, gn as handleError, gr as DouyinQrcodeParamsSchema, hn as ValidationError, hr as DouyinMusicParamsSchema, ii as emitNetworkRetry, in as kuaishouUtils, ir as KuaishouUserWorkListParamsSchema, jn as createBoundXiaohongshuFetcher, jr as BilibiliCommentParamsSchema, jt as XiaohongshuApiRoutes, kn as getHeadersAndData, kr as BilibiliBv2AvParamsSchema, kt as KuaishouApiRoutes, li as getDouyinData, ln as createDouyinRoutes, lr as DouyinDanmakuParamsSchema, mn as ApiError, mr as DouyinMethodRoutes, ni as emitLogWarn, nn as createBoundXiaohongshuApi, nr as KuaishouMethodRoutes, oi as createBoundBilibiliApi, on as createBoundKuaishouApi, or as KuaishouVideoParamsSchema, pn as createBilibiliRoutes, pr as DouyinLiveRoomParamsSchema, qn as validateKuaishouParams, qr as emitApiError, qt as XiaohongshuMethodToFetcher, ri as emitNetworkError, rn as xiaohongshu, rr as KuaishouUserProfileParamsSchema, si as bilibiliApiUrls, sn as kuaishou, sr as DouyinCommentParamsSchema, ti as emitLogMark, tn as createXiaohongshuRoutes, tr as KuaishouLiveRoomInfoParamsSchema, ui as getKuaishouData, un as createBoundDouyinApi, ur as DouyinEmojiListParamsSchema, vn as wbi_sign, vr as DouyinUserListParamsSchema, wn as initLogger, wr as BilibiliArticleInfoParamsSchema, wt as amagiClient, xn as bv2av, xr as DouyinWorkParamsSchema, yn as parseDmSegMobileReply, yr as DouyinUserParamsSchema, zn as douyinApiUrls, zr as BilibiliQrcodeParamsSchema, zt as DouyinInternalMethods } from "./main.js";
1
+ import { $n as xiaohongshuSign, $r as emitLogDebug, $t as CommentType, An as getHeadersAndData, Ar as BilibiliBv2AvParamsSchema, At as KuaishouApiRoutes, Bn as douyinApiUrls, Br as BilibiliQrcodeParamsSchema, Bt as DouyinInternalMethods, Cn as qtparam, Cr as BilibiliApplyCaptchaParamsSchema, Ct as CreateApp, Dn as logger, Dr as BilibiliAv2BvParamsSchema, Dt as BilibiliMethodMapping, En as logMiddleware, Er as BilibiliArticleParamsSchema, Et as BilibiliApiRoutes, Fn as kuaishouFetcher, Fr as BilibiliDynamicParamsSchema, Ft as getEnglishMethodName, Gn as createSuccessResponse, Gr as BilibiliVideoDownloadParamsSchema, Gt as MethodMaps, Hn as bilibiliFetcher, Hr as BilibiliUserParamsSchema, Ht as KuaishouFetcherMethods, In as kuaishouSign, Ir as BilibiliEmojiParamsSchema, It as BilibiliFetcherMethods, Jn as validateKuaishouParams, Jr as emitApiError, Jt as XiaohongshuMethodToFetcher, Kn as validateBilibiliParams, Kr as BilibiliVideoParamsSchema, Kt as XiaohongshuFetcherMethods, Ln as kuaishouApiUrls, Lr as BilibiliLiveParamsSchema, Lt as BilibiliInternalMethods, Mn as createBoundXiaohongshuFetcher, Mr as BilibiliCommentParamsSchema, Mt as XiaohongshuApiRoutes, Nn as xiaohongshuFetcher, Nr as BilibiliCommentReplyParamsSchema, Nt as XiaohongshuMethodMapping, On as fetchData, Or as BilibiliBangumiInfoParamsSchema, Ot as DouyinApiRoutes, Pn as createBoundKuaishouFetcher, Pr as BilibiliDanmakuParamsSchema, Pt as getApiRoute, Qn as xiaohongshuApiUrls, Qr as emitLog, Qt as MajorType, Rn as douyinFetcher, Rr as BilibiliLoginParamsSchema, Rt as BilibiliMethodToFetcher, Sn as bv2av, Sr as DouyinWorkParamsSchema, Tn as initLogger, Tr as BilibiliArticleInfoParamsSchema, Tt as amagiClient, Un as createBoundBilibiliFetcher, Ur as BilibiliValidateCaptchaParamsSchema, Ut as KuaishouInternalMethods, Vn as douyinSign, Vr as BilibiliQrcodeStatusParamsSchema, Vt as DouyinMethodToFetcher, Wn as createErrorResponse, Wr as BilibiliValidationSchemas, Wt as KuaishouMethodToFetcher, Xn as XiaohongshuMethodRoutes, Xr as emitHttpRequest, Xt as DynamicType, Yn as validateXiaohongshuParams, Yr as emitApiSuccess, Yt as toFetcherMethod, Zn as XiaohongshuValidationSchemas, Zr as emitHttpResponse, Zt as AdditionalType, _n as handleError, _r as DouyinQrcodeParamsSchema, ai as emitNetworkRetry, an as kuaishouUtils, ar as KuaishouUserWorkListParamsSchema, bn as parseDmSegMobileReply, br as DouyinUserParamsSchema, ci as bilibiliApiUrls, cn as kuaishou, cr as DouyinCommentParamsSchema, di as getKuaishouData, dn as createBoundDouyinApi, dr as DouyinEmojiListParamsSchema, ei as emitLogError, en as createAmagiClient, er as KuaishouCommentParamsSchema, fn as douyin, fr as DouyinEmojiProParamsSchema, gn as ValidationError, gr as DouyinMusicParamsSchema, hn as ApiError, hr as DouyinMethodRoutes, ii as emitNetworkError, in as xiaohongshu, ir as KuaishouUserProfileParamsSchema, jn as isNetworkErrorResult, jr as BilibiliColumnInfoParamsSchema, jt as KuaishouMethodMapping, kn as fetchResponse, kr as BilibiliBangumiStreamParamsSchema, kt as DouyinMethodMapping, li as getBilibiliData, ln as douyinUtils, lr as DouyinCommentReplyParamsSchema, mn as createBilibiliRoutes, mr as DouyinLiveRoomParamsSchema, ni as emitLogMark, nn as createXiaohongshuRoutes, nr as KuaishouLiveRoomInfoParamsSchema, oi as bilibili, on as createKuaishouRoutes, or as KuaishouValidationSchemas, pn as bilibiliUtils, pr as DouyinHotWordsParamsSchema, qn as validateDouyinParams, qr as amagiEvents, qt as XiaohongshuInternalMethods, ri as emitLogWarn, rn as createBoundXiaohongshuApi, rr as KuaishouMethodRoutes, si as createBoundBilibiliApi, sn as createBoundKuaishouApi, sr as KuaishouVideoParamsSchema, ti as emitLogInfo, tn as xiaohongshuUtils, tr as KuaishouEmojiParamsSchema, ui as getDouyinData, un as createDouyinRoutes, ur as DouyinDanmakuParamsSchema, vn as bilibiliErrorCodeMap, vr as DouyinSearchParamsSchema, wn as httpLogger, wr as BilibiliArticleCardParamsSchema, wt as amagi, xn as av2bv, xr as DouyinValidationSchemas, yn as wbi_sign, yr as DouyinUserListParamsSchema, zn as createBoundDouyinFetcher, zr as BilibiliMethodRoutes, zt as DouyinFetcherMethods } from "./main.js";
2
2
  export { AdditionalType, ApiError, BilibiliApiRoutes, BilibiliApplyCaptchaParamsSchema, BilibiliArticleCardParamsSchema, BilibiliArticleInfoParamsSchema, BilibiliArticleParamsSchema, BilibiliAv2BvParamsSchema, BilibiliBangumiInfoParamsSchema, BilibiliBangumiStreamParamsSchema, BilibiliBv2AvParamsSchema, BilibiliColumnInfoParamsSchema, BilibiliCommentParamsSchema, BilibiliCommentReplyParamsSchema, BilibiliDanmakuParamsSchema, BilibiliDynamicParamsSchema, BilibiliEmojiParamsSchema, BilibiliFetcherMethods, BilibiliInternalMethods, BilibiliLiveParamsSchema, BilibiliLoginParamsSchema, BilibiliMethodMapping, BilibiliMethodRoutes, BilibiliMethodToFetcher, BilibiliQrcodeParamsSchema, BilibiliQrcodeStatusParamsSchema, BilibiliUserParamsSchema, BilibiliValidateCaptchaParamsSchema, BilibiliValidationSchemas, BilibiliVideoDownloadParamsSchema, BilibiliVideoParamsSchema, CommentType, CreateApp, DouyinApiRoutes, DouyinCommentParamsSchema, DouyinCommentReplyParamsSchema, DouyinDanmakuParamsSchema, DouyinEmojiListParamsSchema, DouyinEmojiProParamsSchema, DouyinFetcherMethods, DouyinHotWordsParamsSchema, DouyinInternalMethods, DouyinLiveRoomParamsSchema, DouyinMethodMapping, DouyinMethodRoutes, DouyinMethodToFetcher, DouyinMusicParamsSchema, DouyinQrcodeParamsSchema, DouyinSearchParamsSchema, DouyinUserListParamsSchema, DouyinUserParamsSchema, DouyinValidationSchemas, DouyinWorkParamsSchema, DynamicType, KuaishouApiRoutes, KuaishouCommentParamsSchema, KuaishouEmojiParamsSchema, KuaishouFetcherMethods, KuaishouInternalMethods, KuaishouLiveRoomInfoParamsSchema, KuaishouMethodMapping, KuaishouMethodRoutes, KuaishouMethodToFetcher, KuaishouUserProfileParamsSchema, KuaishouUserWorkListParamsSchema, KuaishouValidationSchemas, KuaishouVideoParamsSchema, MajorType, MethodMaps, ValidationError, XiaohongshuApiRoutes, XiaohongshuFetcherMethods, XiaohongshuInternalMethods, XiaohongshuMethodMapping, XiaohongshuMethodRoutes, XiaohongshuMethodToFetcher, XiaohongshuValidationSchemas, amagi, amagiClient, amagiEvents, av2bv, bilibili, bilibiliApiUrls, bilibiliErrorCodeMap, bilibiliFetcher, bilibiliUtils, bv2av, createAmagiClient, createBilibiliRoutes, createBilibiliRoutes as registerBilibiliRoutes, createBoundBilibiliApi, createBoundBilibiliFetcher, createBoundDouyinApi, createBoundDouyinFetcher, createBoundKuaishouApi, createBoundKuaishouFetcher, createBoundXiaohongshuApi, createBoundXiaohongshuFetcher, createDouyinRoutes, createDouyinRoutes as registerDouyinRoutes, createErrorResponse, createKuaishouRoutes, createKuaishouRoutes as registerKuaishouRoutes, createSuccessResponse, createXiaohongshuRoutes, createXiaohongshuRoutes as registerXiaohongshuRoutes, douyin, douyinApiUrls, douyinFetcher, douyinSign, douyinUtils, emitApiError, emitApiSuccess, emitHttpRequest, emitHttpResponse, emitLog, emitLogDebug, emitLogError, emitLogInfo, emitLogMark, emitLogWarn, emitNetworkError, emitNetworkRetry, fetchData, fetchResponse, getApiRoute, getBilibiliData, getDouyinData, getEnglishMethodName, getHeadersAndData, getKuaishouData, handleError, httpLogger, initLogger, isNetworkErrorResult, kuaishou, kuaishouApiUrls, kuaishouFetcher, kuaishouSign, kuaishouUtils, logMiddleware, logger, parseDmSegMobileReply, qtparam, toFetcherMethod, validateBilibiliParams, validateDouyinParams, validateKuaishouParams, validateXiaohongshuParams, wbi_sign, xiaohongshu, xiaohongshuApiUrls, xiaohongshuFetcher, xiaohongshuSign, xiaohongshuUtils };
@@ -1,2 +1,2 @@
1
- import { bt as reloadAmagiConfig } from "./main.js";
1
+ import { xt as reloadAmagiConfig } from "./main.js";
2
2
  export { reloadAmagiConfig };
@@ -10,7 +10,7 @@ type RichTextNode = RichTextInlineNode | RichTextBlockNode;
10
10
  /** 行内节点。 */
11
11
  type RichTextInlineNode = RichTextTextNode | RichTextEmojiNode | RichTextMentionNode | RichTextSearchKeywordNode | RichTextLineBreakNode | RichTextTopicNode | RichTextAtNode | RichTextLotteryNode | RichTextWebLinkNode | RichTextVoteNode | RichTextViewPictureNode;
12
12
  /** 块级节点。 */
13
- type RichTextBlockNode = RichTextHeadingNode | RichTextParagraphNode | RichTextImageNode | RichTextBlockquoteNode | RichTextListNode | RichTextListItemNode | RichTextCodeBlockNode | RichTextLinkCardNode;
13
+ type RichTextBlockNode = RichTextHeadingNode | RichTextParagraphNode | RichTextImageNode | RichTextBlockquoteNode | RichTextListNode | RichTextListItemNode | RichTextCodeBlockNode | RichTextLinkCardNode | RichTextHorizontalRuleNode;
14
14
  /**
15
15
  * 富文本文档。
16
16
  *
@@ -140,6 +140,12 @@ interface RichTextImageNode {
140
140
  src: string;
141
141
  /** 替代文本 */
142
142
  alt?: string;
143
+ /** 图片下方注释/说明文字 */
144
+ caption?: string;
145
+ }
146
+ /** 水平分隔线节点。 */
147
+ interface RichTextHorizontalRuleNode {
148
+ type: 'horizontalRule';
143
149
  }
144
150
  /** 引用块节点。 */
145
151
  interface RichTextBlockquoteNode {
@@ -266,7 +272,9 @@ declare const createHeadingNode: (level: 1 | 2 | 3 | 4 | 5 | 6, nodes: RichTextN
266
272
  /** 创建段落节点。 */
267
273
  declare const createParagraphNode: (nodes: RichTextNode[]) => RichTextParagraphNode;
268
274
  /** 创建图片节点。 */
269
- declare const createImageNode: (src: string, alt?: string) => RichTextImageNode;
275
+ declare const createImageNode: (src: string, alt?: string, caption?: string) => RichTextImageNode;
276
+ /** 创建水平分隔线节点。 */
277
+ declare const createHorizontalRuleNode: () => RichTextHorizontalRuleNode;
270
278
  /** 创建引用块节点。 */
271
279
  declare const createBlockquoteNode: (nodes: RichTextNode[]) => RichTextBlockquoteNode;
272
280
  /** 创建列表节点。 */
@@ -313,4 +321,4 @@ declare const createRichTextDocument: (nodes: RichTextNode[], options?: {
313
321
  */
314
322
  declare const renderRichTextToReact: (document: RichTextDocument, options?: RichTextRenderOptions) => ReactNode;
315
323
  //#endregion
316
- export { RichTextEmojiNode as A, RichTextMentionNode as B, normalizeRichTextNodes as C, RichTextCodeBlockNode as D, RichTextBlockquoteNode as E, RichTextLineBreakNode as F, RichTextSearchKeywordNode as G, RichTextNodeStyleConfig as H, RichTextLinkCardNode as I, RichTextTopicNode as J, RichTextSearchKeywordStyleConfig as K, RichTextListItemNode as L, RichTextImageNode as M, RichTextInlineNode as N, RichTextDocument as O, RichTextInlineStyle as P, RichTextListNode as R, extractRichTextPlainText as S, RichTextBlockNode as T, RichTextParagraphNode as U, RichTextNode as V, RichTextRenderOptions as W, RichTextVoteNode as X, RichTextViewPictureNode as Y, RichTextWebLinkNode as Z, createTextNode as _, createEmojiNode as a, createVoteNode as b, createLineBreakNode as c, createListNode as d, createLotteryNode as f, createSearchKeywordNode as g, createRichTextDocument as h, createCodeBlockNode as i, RichTextHeadingNode as j, RichTextEmojiDefinition as k, createLinkCardNode as l, createParagraphNode as m, createAtNode as n, createHeadingNode as o, createMentionNode as p, RichTextTextNode as q, createBlockquoteNode as r, createImageNode as s, renderRichTextToReact as t, createListItemNode as u, createTopicNode as v, RichTextAtNode as w, createWebLinkNode as x, createViewPictureNode as y, RichTextLotteryNode as z };
324
+ export { RichTextWebLinkNode as $, RichTextEmojiDefinition as A, RichTextListNode as B, extractRichTextPlainText as C, RichTextBlockquoteNode as D, RichTextBlockNode as E, RichTextInlineNode as F, RichTextParagraphNode as G, RichTextMentionNode as H, RichTextInlineStyle as I, RichTextSearchKeywordStyleConfig as J, RichTextRenderOptions as K, RichTextLineBreakNode as L, RichTextHeadingNode as M, RichTextHorizontalRuleNode as N, RichTextCodeBlockNode as O, RichTextImageNode as P, RichTextVoteNode as Q, RichTextLinkCardNode as R, createWebLinkNode as S, RichTextAtNode as T, RichTextNode as U, RichTextLotteryNode as V, RichTextNodeStyleConfig as W, RichTextTopicNode as X, RichTextTextNode as Y, RichTextViewPictureNode as Z, createSearchKeywordNode as _, createEmojiNode as a, createViewPictureNode as b, createImageNode as c, createListItemNode as d, createListNode as f, createRichTextDocument as g, createParagraphNode as h, createCodeBlockNode as i, RichTextEmojiNode as j, RichTextDocument as k, createLineBreakNode as l, createMentionNode as m, createAtNode as n, createHeadingNode as o, createLotteryNode as p, RichTextSearchKeywordNode as q, createBlockquoteNode as r, createHorizontalRuleNode as s, renderRichTextToReact as t, createLinkCardNode as u, createTextNode as v, normalizeRichTextNodes as w, createVoteNode as x, createTopicNode as y, RichTextListItemNode as z };