karin-plugin-kkk 2.40.3 → 2.41.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.
@@ -2,7 +2,7 @@ import { EventEmitter as EventEmitter$1 } from "node:events";
2
2
  import zod from "zod";
3
3
  import { AxiosRequestConfig, AxiosResponse, RawAxiosResponseHeaders } from "axios";
4
4
  import express from "express";
5
- //#region ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.d.ts
5
+ //#region ../../node_modules/.pnpm/chalk@6.0.0/node_modules/chalk/source/vendor/supports-color/index.d.ts
6
6
  /**
7
7
  Levels:
8
8
  - `0` - All colors disabled.
@@ -12,7 +12,7 @@ Levels:
12
12
  */
13
13
  type ColorSupportLevel = 0 | 1 | 2 | 3;
14
14
  //#endregion
15
- //#region ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.d.ts
15
+ //#region ../../node_modules/.pnpm/chalk@6.0.0/node_modules/chalk/source/index.d.ts
16
16
  interface ChalkInstance {
17
17
  (...text: unknown[]): string;
18
18
  /**
@@ -25,6 +25,8 @@ interface ChalkInstance {
25
25
  - `1` - Basic 16 colors support.
26
26
  - `2` - ANSI 256 colors support.
27
27
  - `3` - Truecolor 16 million colors support.
28
+
29
+ @throws If the assigned value is not an integer from 0 to 3.
28
30
  */
29
31
  level: ColorSupportLevel;
30
32
  /**
@@ -54,6 +56,8 @@ interface ChalkInstance {
54
56
  /**
55
57
  Use an [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color.
56
58
 
59
+ The value is downsampled to the 16-color palette on terminals that only support basic colors (level 1), so `chalk.ansi256(196)` becomes 91 (ANSI escape for bright red).
60
+
57
61
  @example
58
62
  ```
59
63
  import chalk from 'chalk';
@@ -87,7 +91,9 @@ interface ChalkInstance {
87
91
  */
88
92
  bgHex: (color: string) => this;
89
93
  /**
90
- Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set background color.
94
+ Use an [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set background color.
95
+
96
+ The value is downsampled to the 16-color palette on terminals that only support basic colors (level 1), so `chalk.bgAnsi256(196)` becomes 101 (ANSI escape for bright red background).
91
97
 
92
98
  @example
93
99
  ```
@@ -97,6 +103,49 @@ interface ChalkInstance {
97
103
  ```
98
104
  */
99
105
  bgAnsi256: (index: number) => this;
106
+ /**
107
+ Use RGB values to set underline color.
108
+
109
+ The underline color is only visible when an underline style is also applied.
110
+
111
+ @example
112
+ ```
113
+ import chalk from 'chalk';
114
+
115
+ chalk.underlineRgb(222, 173, 237).underlineCurly('Hello, world!');
116
+ ```
117
+ */
118
+ underlineRgb: (red: number, green: number, blue: number) => this;
119
+ /**
120
+ Use HEX value to set underline color.
121
+
122
+ The underline color is only visible when an underline style is also applied.
123
+
124
+ @param color - Hexadecimal value representing the desired color.
125
+
126
+ @example
127
+ ```
128
+ import chalk from 'chalk';
129
+
130
+ chalk.underlineHex('#DEADED').underlineCurly('Hello, world!');
131
+ ```
132
+ */
133
+ underlineHex: (color: string) => this;
134
+ /**
135
+ Use an [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set underline color.
136
+
137
+ The underline color is only visible when an underline style is also applied.
138
+
139
+ The value is downsampled to the first 16 palette entries on terminals that only support basic colors (level 1), so `chalk.underlineAnsi256(196)` becomes 9 (the palette index for bright red).
140
+
141
+ @example
142
+ ```
143
+ import chalk from 'chalk';
144
+
145
+ chalk.underlineAnsi256(201).underlineCurly('Hello, world!');
146
+ ```
147
+ */
148
+ underlineAnsi256: (index: number) => this;
100
149
  /**
101
150
  Modifier: Reset the current style.
102
151
  */
@@ -117,6 +166,22 @@ interface ChalkInstance {
117
166
  Modifier: Put a horizontal line below the text. *(Not widely supported)*
118
167
  */
119
168
  readonly underline: this;
169
+ /**
170
+ Modifier: Put a double horizontal line below the text. *(Not widely supported)*
171
+ */
172
+ readonly underlineDouble: this;
173
+ /**
174
+ Modifier: Put a curly horizontal line below the text. *(Not widely supported)*
175
+ */
176
+ readonly underlineCurly: this;
177
+ /**
178
+ Modifier: Put a dotted horizontal line below the text. *(Not widely supported)*
179
+ */
180
+ readonly underlineDotted: this;
181
+ /**
182
+ Modifier: Put a dashed horizontal line below the text. *(Not widely supported)*
183
+ */
184
+ readonly underlineDashed: this;
120
185
  /**
121
186
  Modifier: Put a horizontal line above the text. *(Not widely supported)*
122
187
  */
@@ -147,11 +212,11 @@ interface ChalkInstance {
147
212
  readonly magenta: this;
148
213
  readonly cyan: this;
149
214
  readonly white: this;
150
- /*
215
+ /**
151
216
  Alias for `blackBright`.
152
217
  */
153
218
  readonly gray: this;
154
- /*
219
+ /**
155
220
  Alias for `blackBright`.
156
221
  */
157
222
  readonly grey: this;
@@ -171,11 +236,11 @@ interface ChalkInstance {
171
236
  readonly bgMagenta: this;
172
237
  readonly bgCyan: this;
173
238
  readonly bgWhite: this;
174
- /*
239
+ /**
175
240
  Alias for `bgBlackBright`.
176
241
  */
177
242
  readonly bgGray: this;
178
- /*
243
+ /**
179
244
  Alias for `bgBlackBright`.
180
245
  */
181
246
  readonly bgGrey: this;
@@ -187,6 +252,30 @@ interface ChalkInstance {
187
252
  readonly bgMagentaBright: this;
188
253
  readonly bgCyanBright: this;
189
254
  readonly bgWhiteBright: this;
255
+ readonly underlineBlack: this;
256
+ readonly underlineRed: this;
257
+ readonly underlineGreen: this;
258
+ readonly underlineYellow: this;
259
+ readonly underlineBlue: this;
260
+ readonly underlineMagenta: this;
261
+ readonly underlineCyan: this;
262
+ readonly underlineWhite: this;
263
+ /**
264
+ Alias for `underlineBlackBright`.
265
+ */
266
+ readonly underlineGray: this;
267
+ /**
268
+ Alias for `underlineBlackBright`.
269
+ */
270
+ readonly underlineGrey: this;
271
+ readonly underlineBlackBright: this;
272
+ readonly underlineRedBright: this;
273
+ readonly underlineGreenBright: this;
274
+ readonly underlineYellowBright: this;
275
+ readonly underlineBlueBright: this;
276
+ readonly underlineMagentaBright: this;
277
+ readonly underlineCyanBright: this;
278
+ readonly underlineWhiteBright: this;
190
279
  }
191
280
  //#endregion
192
281
  //#region ../amagi/packages/core/dist/default/index.d.ts
@@ -217,11 +306,11 @@ declare const bv2av: (bvid: string) => number;
217
306
  //#region src/types/ReturnDataType/Bilibili/ProtobufDanmaku/ProtobufDanmaku_V0.d.ts
218
307
  type BiliProtobufDanmaku_V0 = {
219
308
  code: number;
220
- data: DataData$29;
309
+ data: DataData$30;
221
310
  message: string;
222
311
  [property: string]: any;
223
312
  };
224
- type DataData$29 = {
313
+ type DataData$30 = {
225
314
  elems: Elem[];
226
315
  [property: string]: any;
227
316
  };
@@ -338,7 +427,7 @@ interface BilibiliMethodOptionsMap {
338
427
  };
339
428
  /** 获取用户相关数据 */
340
429
  UserParams: {
341
- methodType: 'userCard' | 'userDynamicList' | 'uploaderTotalViews' | 'userSpaceInfo';
430
+ methodType: 'userCard' | 'userDynamicList' | 'userLiveStatus' | 'uploaderTotalViews' | 'userSpaceInfo';
342
431
  /** UP主UID */
343
432
  host_mid: number;
344
433
  };
@@ -544,6 +633,7 @@ type BilibiliMethodOptMap = {
544
633
  commentReplies: BilibiliMethodOptionsMap['CommentReplyParams'];
545
634
  userCard: BilibiliMethodOptionsMap['UserParams'];
546
635
  userDynamicList: BilibiliMethodOptionsMap['UserParams'];
636
+ userLiveStatus: BilibiliMethodOptionsMap['UserParams'];
547
637
  userSpaceInfo: BilibiliMethodOptionsMap['UserParams'];
548
638
  uploaderTotalViews: BilibiliMethodOptionsMap['UserParams'];
549
639
  emojiList: BilibiliMethodOptionsMap['EmojiParams'];
@@ -665,24 +755,31 @@ declare const BilibiliValidationSchemas: {
665
755
  number?: number;
666
756
  }, unknown>>;
667
757
  readonly userCard: zod.ZodType<{
668
- methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
758
+ methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
669
759
  host_mid: number;
670
760
  }, unknown, zod.core.$ZodTypeInternals<{
671
- methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
761
+ methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
672
762
  host_mid: number;
673
763
  }, unknown>>;
674
764
  readonly userDynamicList: zod.ZodType<{
675
- methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
765
+ methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
676
766
  host_mid: number;
677
767
  }, unknown, zod.core.$ZodTypeInternals<{
678
- methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
768
+ methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
769
+ host_mid: number;
770
+ }, unknown>>;
771
+ readonly userLiveStatus: zod.ZodType<{
772
+ methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
773
+ host_mid: number;
774
+ }, unknown, zod.core.$ZodTypeInternals<{
775
+ methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
679
776
  host_mid: number;
680
777
  }, unknown>>;
681
778
  readonly userSpaceInfo: zod.ZodType<{
682
- methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
779
+ methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
683
780
  host_mid: number;
684
781
  }, unknown, zod.core.$ZodTypeInternals<{
685
- methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
782
+ methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
686
783
  host_mid: number;
687
784
  }, unknown>>;
688
785
  readonly emojiList: zod.ZodType<{
@@ -754,10 +851,10 @@ declare const BilibiliValidationSchemas: {
754
851
  qrcode_key: string;
755
852
  }, unknown>>;
756
853
  readonly uploaderTotalViews: zod.ZodType<{
757
- methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
854
+ methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
758
855
  host_mid: number;
759
856
  }, unknown, zod.core.$ZodTypeInternals<{
760
- methodType: "userCard" | "userDynamicList" | "uploaderTotalViews" | "userSpaceInfo";
857
+ methodType: "userCard" | "userDynamicList" | "userLiveStatus" | "uploaderTotalViews" | "userSpaceInfo";
761
858
  host_mid: number;
762
859
  }, unknown>>;
763
860
  readonly avToBv: zod.ZodType<{
@@ -844,6 +941,7 @@ declare const BilibiliMethodRoutes: {
844
941
  readonly commentReplies: "/fetch_comment_reply";
845
942
  readonly userCard: "/fetch_user_profile";
846
943
  readonly userDynamicList: "/fetch_user_dynamic";
944
+ readonly userLiveStatus: "/fetch_user_live_status";
847
945
  readonly userSpaceInfo: "/fetch_user_space_info";
848
946
  readonly emojiList: "/fetch_emoji_list";
849
947
  readonly bangumiInfo: "/fetch_bangumi_video_info";
@@ -2024,12 +2122,12 @@ declare const createErrorResponse: (error: APIErrorType, message: string, code?:
2024
2122
  //#region src/types/ReturnDataType/Bilibili/ArticleCard/ArticleCard_V0.d.ts
2025
2123
  type ArticleCard_V0 = {
2026
2124
  code: number;
2027
- data: DataData$28;
2125
+ data: DataData$29;
2028
2126
  message: string;
2029
2127
  ttl: number;
2030
2128
  [property: string]: any;
2031
2129
  };
2032
- type DataData$28 = {
2130
+ type DataData$29 = {
2033
2131
  av2: Av2;
2034
2132
  cv1: Cv1;
2035
2133
  cv2: Cv2;
@@ -2391,12 +2489,12 @@ type ArticleCard = ArticleCard_V0;
2391
2489
  //#region src/types/ReturnDataType/Bilibili/ArticleContent/ArticleContent.d.ts
2392
2490
  type ArticleContent_V0 = {
2393
2491
  code: number;
2394
- data: DataData$27;
2492
+ data: DataData$28;
2395
2493
  message: string;
2396
2494
  ttl: number;
2397
2495
  [property: string]: any;
2398
2496
  };
2399
- type DataData$27 = {
2497
+ type DataData$28 = {
2400
2498
  act_id: number;
2401
2499
  apply_time: string;
2402
2500
  authenMark: null;
@@ -2611,12 +2709,12 @@ type ArticleContent = ArticleContent_V0;
2611
2709
  //#region src/types/ReturnDataType/Bilibili/ArticleInfo/ArticleInfo_V0.d.ts
2612
2710
  type ArticleInfo_V0 = {
2613
2711
  code: number;
2614
- data: DataData$26;
2712
+ data: DataData$27;
2615
2713
  message: string;
2616
2714
  ttl: number;
2617
2715
  [property: string]: any;
2618
2716
  };
2619
- type DataData$26 = {
2717
+ type DataData$27 = {
2620
2718
  attention: boolean;
2621
2719
  author_name: string;
2622
2720
  banner_url: string;
@@ -3400,12 +3498,12 @@ type BiliEmojiList = BiliEmojiList_V0;
3400
3498
  //#region src/types/ReturnDataType/Bilibili/BiliCommentReply/BiliCommentReply_V0.d.ts
3401
3499
  type BiliCommentReply_V0 = {
3402
3500
  code: number;
3403
- data: DataData$25;
3501
+ data: DataData$26;
3404
3502
  message: string;
3405
3503
  ttl: number;
3406
3504
  [property: string]: any;
3407
3505
  };
3408
- type DataData$25 = {
3506
+ type DataData$26 = {
3409
3507
  assist: number;
3410
3508
  blacklist: number;
3411
3509
  callbacks: {
@@ -3916,12 +4014,12 @@ type BiliBv2AV = BiliBv2AV_V0;
3916
4014
  //#region src/types/ReturnDataType/Bilibili/Captcha/ApplyCaptcha/ApplyCaptcha_V0.d.ts
3917
4015
  type ApplyCaptcha_V0 = {
3918
4016
  code: number;
3919
- data: DataData$24;
4017
+ data: DataData$25;
3920
4018
  message: string;
3921
4019
  ttl: number;
3922
4020
  [property: string]: any;
3923
4021
  };
3924
- type DataData$24 = {
4022
+ type DataData$25 = {
3925
4023
  biliword: null;
3926
4024
  geetest: Geetest;
3927
4025
  phone: null;
@@ -3943,12 +4041,12 @@ type ApplyCaptcha = ApplyCaptcha_V0;
3943
4041
  //#region src/types/ReturnDataType/Bilibili/Captcha/ValidateCaptcha/ValidateCaptcha_V0.d.ts
3944
4042
  type ValidateCaptcha_V0 = {
3945
4043
  code: number;
3946
- data: DataData$23;
4044
+ data: DataData$24;
3947
4045
  message: string;
3948
4046
  ttl: number;
3949
4047
  [property: string]: any;
3950
4048
  };
3951
- type DataData$23 = {
4049
+ type DataData$24 = {
3952
4050
  grisk_id: string;
3953
4051
  is_valid: number;
3954
4052
  [property: string]: any;
@@ -3960,12 +4058,12 @@ type ValidateCaptcha = ValidateCaptcha_V0;
3960
4058
  //#region src/types/ReturnDataType/Bilibili/ColumnInfo/ColumnInfo_V0.d.ts
3961
4059
  type ColumnInfo_V0 = {
3962
4060
  code: number;
3963
- data: DataData$22;
4061
+ data: DataData$23;
3964
4062
  message: string;
3965
4063
  ttl: number;
3966
4064
  [property: string]: any;
3967
4065
  };
3968
- type DataData$22 = {
4066
+ type DataData$23 = {
3969
4067
  articles: null;
3970
4068
  attention: boolean;
3971
4069
  author: Author$9;
@@ -4071,12 +4169,12 @@ type ColumnInfo = ColumnInfo_V0;
4071
4169
  //#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_ARTICLE/DYNAMIC_TYPE_ARTICLE_V0.d.ts
4072
4170
  type DynamicTypeArticle_V0 = {
4073
4171
  code: number;
4074
- data: DataData$21;
4172
+ data: DataData$22;
4075
4173
  message: string;
4076
4174
  ttl: number;
4077
4175
  [property: string]: any;
4078
4176
  };
4079
- type DataData$21 = {
4177
+ type DataData$22 = {
4080
4178
  item: Item$16;
4081
4179
  [property: string]: any;
4082
4180
  };
@@ -4335,12 +4433,12 @@ type DynamicTypeArticle = DynamicTypeArticle_V0;
4335
4433
  //#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_AV/DYNAMIC_TYPE_AV_V0.d.ts
4336
4434
  type DynamicTypeAV_V0$1 = {
4337
4435
  code: number;
4338
- data: DataData$20;
4436
+ data: DataData$21;
4339
4437
  message: string;
4340
4438
  ttl: number;
4341
4439
  [property: string]: any;
4342
4440
  };
4343
- type DataData$20 = {
4441
+ type DataData$21 = {
4344
4442
  item: Item$15;
4345
4443
  [property: string]: any;
4346
4444
  };
@@ -4616,12 +4714,12 @@ type DynamicTypeAV = DynamicTypeAV_V0$1;
4616
4714
  //#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_DRAW/DYNAMIC_TYPE_DRAW_V0.d.ts
4617
4715
  type DynamicTypeDraw_V0$1 = {
4618
4716
  code: number;
4619
- data: DataData$19;
4717
+ data: DataData$20;
4620
4718
  message: string;
4621
4719
  ttl: number;
4622
4720
  [property: string]: any;
4623
4721
  };
4624
- type DataData$19 = {
4722
+ type DataData$20 = {
4625
4723
  item: Item$14;
4626
4724
  [property: string]: any;
4627
4725
  };
@@ -4976,12 +5074,12 @@ type DynamicTypeDraw = DynamicTypeDraw_V0$1;
4976
5074
  //#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_AV/DYNAMIC_TYPE_AV_V0.d.ts
4977
5075
  type DynamicTypeAV_V0 = {
4978
5076
  code: number;
4979
- data: DataData$18;
5077
+ data: DataData$19;
4980
5078
  message: string;
4981
5079
  ttl: number;
4982
5080
  [property: string]: any;
4983
5081
  };
4984
- type DataData$18 = {
5082
+ type DataData$19 = {
4985
5083
  item: Item$13;
4986
5084
  [property: string]: any;
4987
5085
  };
@@ -5511,12 +5609,12 @@ type Stat$2 = {
5511
5609
  //#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_AV/DYNAMIC_TYPE_AV_V1.d.ts
5512
5610
  type DynamicTypeAV_V1 = {
5513
5611
  code: number;
5514
- data: DataData$17;
5612
+ data: DataData$18;
5515
5613
  message: string;
5516
5614
  ttl: number;
5517
5615
  [property: string]: any;
5518
5616
  };
5519
- type DataData$17 = {
5617
+ type DataData$18 = {
5520
5618
  item: Item$12;
5521
5619
  [property: string]: any;
5522
5620
  };
@@ -6018,12 +6116,12 @@ type DynamicTypeAV$1 = DynamicTypeAV_V0 | DynamicTypeAV_V1;
6018
6116
  //#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_DRAW/DYNAMIC_TYPE_DRAW_V0.d.ts
6019
6117
  type DynamicTypeDraw_V0 = {
6020
6118
  code: number;
6021
- data: DataData$16;
6119
+ data: DataData$17;
6022
6120
  message: string;
6023
6121
  ttl: number;
6024
6122
  [property: string]: any;
6025
6123
  };
6026
- type DataData$16 = {
6124
+ type DataData$17 = {
6027
6125
  item: Item$11;
6028
6126
  [property: string]: any;
6029
6127
  };
@@ -6556,12 +6654,12 @@ type SummaryRichTextNode$2 = {
6556
6654
  //#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_DRAW/DYNAMIC_TYPE_DRAW_V1.d.ts
6557
6655
  type DynamicTypeDraw_V1 = {
6558
6656
  code: number;
6559
- data: DataData$15;
6657
+ data: DataData$16;
6560
6658
  message: string;
6561
6659
  ttl: number;
6562
6660
  [property: string]: any;
6563
6661
  };
6564
- type DataData$15 = {
6662
+ type DataData$16 = {
6565
6663
  item: Item$10;
6566
6664
  [property: string]: any;
6567
6665
  };
@@ -7097,12 +7195,12 @@ type DynamicTypeDraw$1 = DynamicTypeDraw_V0 | DynamicTypeDraw_V1;
7097
7195
  //#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_LIVE_RCMD/DYNAMIC_TYPE_LIVE_RCMD_V0.d.ts
7098
7196
  type DynamicTypeLiveRcmd_V0$1 = {
7099
7197
  code: number;
7100
- data: DataData$14;
7198
+ data: DataData$15;
7101
7199
  message: string;
7102
7200
  ttl: number;
7103
7201
  [property: string]: any;
7104
7202
  };
7105
- type DataData$14 = {
7203
+ type DataData$15 = {
7106
7204
  item: Item$9;
7107
7205
  [property: string]: any;
7108
7206
  };
@@ -7581,12 +7679,12 @@ type DynamicTypeLiveRcmd$1 = DynamicTypeLiveRcmd_V0$1;
7581
7679
  //#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_FORWARD/Forward/DYNAMIC_TYPE_WORD/DYNAMIC_TYPE_WORD_V0.d.ts
7582
7680
  type DynamicTypeWord_V0$1 = {
7583
7681
  code: number;
7584
- data: DataData$13;
7682
+ data: DataData$14;
7585
7683
  message: string;
7586
7684
  ttl: number;
7587
7685
  [property: string]: any;
7588
7686
  };
7589
- type DataData$13 = {
7687
+ type DataData$14 = {
7590
7688
  item: Item$8;
7591
7689
  [property: string]: any;
7592
7690
  };
@@ -8179,7 +8277,7 @@ type OriginalDynamicItemMap = {
8179
8277
  };
8180
8278
  type ItemBasic = DynamicTypeWord$1['data']['item']['basic'] | DynamicTypeLiveRcmd$1['data']['item']['basic'] | DynamicTypeDraw$1['data']['item']['basic'] | DynamicTypeAV$1['data']['item']['basic'];
8181
8279
  type ItemModules = DynamicTypeWord$1['data']['item']['modules'] | DynamicTypeLiveRcmd$1['data']['item']['modules'] | DynamicTypeDraw$1['data']['item']['modules'] | DynamicTypeAV$1['data']['item']['modules'];
8182
- type DataData$12<T extends keyof OriginalDynamicItemMap> = {
8280
+ type DataData$13<T extends keyof OriginalDynamicItemMap> = {
8183
8281
  item: {
8184
8282
  basic: ItemBasic;
8185
8283
  id_str: string;
@@ -8193,7 +8291,7 @@ type DataData$12<T extends keyof OriginalDynamicItemMap> = {
8193
8291
  };
8194
8292
  type DynamicTypeForward<T extends keyof OriginalDynamicItemMap> = {
8195
8293
  code: number;
8196
- data: DataData$12<T>;
8294
+ data: DataData$13<T>;
8197
8295
  message: string;
8198
8296
  ttl: number;
8199
8297
  [property: string]: any;
@@ -8203,12 +8301,12 @@ type DynamicTypeForwardUnion = DynamicTypeForward<DynamicType.AV> | DynamicTypeF
8203
8301
  //#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_LIVE_RCMD/DYNAMIC_TYPE_LIVE_RCMD_V0.d.ts
8204
8302
  type DynamicTypeLiveRcmd_V0 = {
8205
8303
  code: number;
8206
- data: DataData$11;
8304
+ data: DataData$12;
8207
8305
  message: string;
8208
8306
  ttl: number;
8209
8307
  [property: string]: any;
8210
8308
  };
8211
- type DataData$11 = {
8309
+ type DataData$12 = {
8212
8310
  item: Item$7;
8213
8311
  [property: string]: any;
8214
8312
  };
@@ -8483,12 +8581,12 @@ type DynamicTypeLiveRcmd = DynamicTypeLiveRcmd_V0;
8483
8581
  //#region src/types/ReturnDataType/Bilibili/Dynamic/DYNAMIC_TYPE_WORD/DYNAMIC_TYPE_WORD_V0.d.ts
8484
8582
  type DynamicTypeWord_V0 = {
8485
8583
  code: number;
8486
- data: DataData$10;
8584
+ data: DataData$11;
8487
8585
  message: string;
8488
8586
  ttl: number;
8489
8587
  [property: string]: any;
8490
8588
  };
8491
- type DataData$10 = {
8589
+ type DataData$11 = {
8492
8590
  item: Item$6;
8493
8591
  [property: string]: any;
8494
8592
  };
@@ -8896,12 +8994,12 @@ type DynamicTypeItemMap$1 = {
8896
8994
  [DynamicType.FORWARD]: DynamicTypeForwardUnion['data']['item'];
8897
8995
  [DynamicType.ARTICLE]: DynamicTypeArticle['data']['item'];
8898
8996
  };
8899
- type DataData$9<T extends DynamicType> = {
8997
+ type DataData$10<T extends DynamicType> = {
8900
8998
  item: DynamicTypeItemMap$1[T];
8901
8999
  };
8902
9000
  type BiliDynamicInfo<T extends DynamicType> = {
8903
9001
  code: number;
8904
- data: DataData$9<T>;
9002
+ data: DataData$10<T>;
8905
9003
  message: string;
8906
9004
  ttl: number;
8907
9005
  [property: string]: any;
@@ -9225,7 +9323,7 @@ type BiliOneWork = BiliOneWork_V0;
9225
9323
  //#region src/types/ReturnDataType/Bilibili/UserDynamic/index.d.ts
9226
9324
  type BiliUserDynamic = {
9227
9325
  code: number;
9228
- data: DataData$8;
9326
+ data: DataData$9;
9229
9327
  message: string;
9230
9328
  ttl: number;
9231
9329
  [property: string]: any;
@@ -9244,7 +9342,7 @@ type DynamicTypeItemMap = {
9244
9342
  [DynamicType.FORWARD]: ForwardItem;
9245
9343
  [DynamicType.ARTICLE]: ArticleItem;
9246
9344
  };
9247
- type DataData$8<T extends DynamicType = DynamicType> = {
9345
+ type DataData$9<T extends DynamicType = DynamicType> = {
9248
9346
  has_more: boolean;
9249
9347
  items: DynamicTypeItemMap[T][];
9250
9348
  offset: string;
@@ -9281,6 +9379,32 @@ type Article = {
9281
9379
  //#region src/types/ReturnDataType/Bilibili/UserFullView/index.d.ts
9282
9380
  type BiliUserFullView = BiliUserFullView_V0;
9283
9381
  //#endregion
9382
+ //#region src/types/ReturnDataType/Bilibili/UserLiveStatus/UserLiveStatus_V0.d.ts
9383
+ type BiliUserLiveStatus_V0 = {
9384
+ code: number;
9385
+ data: DataData$8;
9386
+ message: string;
9387
+ ttl: number;
9388
+ [property: string]: any;
9389
+ };
9390
+ type DataData$8 = {
9391
+ broadcast_type: number;
9392
+ cover: string;
9393
+ link: string;
9394
+ liveStatus: number;
9395
+ online: number;
9396
+ online_hidden: number;
9397
+ roomid: number;
9398
+ roomStatus: number;
9399
+ roundStatus: number;
9400
+ title: string;
9401
+ url: string;
9402
+ [property: string]: any;
9403
+ };
9404
+ //#endregion
9405
+ //#region src/types/ReturnDataType/Bilibili/UserLiveStatus/index.d.ts
9406
+ type BiliUserLiveStatus = BiliUserLiveStatus_V0;
9407
+ //#endregion
9284
9408
  //#region src/types/ReturnDataType/Bilibili/UserProfile/UserProfile_V0.d.ts
9285
9409
  type BiliUserProfile_V0 = {
9286
9410
  code: number;
@@ -11768,6 +11892,7 @@ interface BilibiliReturnTypeMap {
11768
11892
  commentReplies: BiliCommentReply;
11769
11893
  userCard: BiliUserProfile;
11770
11894
  userDynamicList: BiliUserDynamic;
11895
+ userLiveStatus: BiliUserLiveStatus;
11771
11896
  userSpaceInfo: UserSpaceInfo;
11772
11897
  emojiList: BiliEmojiList;
11773
11898
  bangumiInfo: BiliBangumiVideoInfo;
@@ -26297,6 +26422,7 @@ declare const BilibiliInternalMethods: {
26297
26422
  readonly COMMENT_REPLIES: "指定评论的回复";
26298
26423
  readonly USER_CARD: "用户主页数据";
26299
26424
  readonly USER_DYNAMICS: "用户主页动态列表数据";
26425
+ readonly USER_LIVE_STATUS: "用户直播状态";
26300
26426
  readonly USER_SPACE_INFO: "用户空间详细信息";
26301
26427
  readonly USER_TOTAL_VIEWS: "获取UP主总播放量";
26302
26428
  readonly DYNAMIC_DETAIL: "动态详情数据";
@@ -26327,6 +26453,7 @@ declare const BilibiliFetcherMethods: {
26327
26453
  readonly COMMENT_REPLIES: "fetchCommentReplies";
26328
26454
  readonly USER_CARD: "fetchUserCard";
26329
26455
  readonly USER_DYNAMICS: "fetchUserDynamicList";
26456
+ readonly USER_LIVE_STATUS: "fetchUserLiveStatus";
26330
26457
  readonly USER_SPACE_INFO: "fetchUserSpaceInfo";
26331
26458
  readonly USER_TOTAL_VIEWS: "fetchUploaderTotalViews";
26332
26459
  readonly DYNAMIC_DETAIL: "fetchDynamicDetail";
@@ -26462,6 +26589,7 @@ declare const MethodMaps: {
26462
26589
  readonly COMMENT_REPLIES: "指定评论的回复";
26463
26590
  readonly USER_CARD: "用户主页数据";
26464
26591
  readonly USER_DYNAMICS: "用户主页动态列表数据";
26592
+ readonly USER_LIVE_STATUS: "用户直播状态";
26465
26593
  readonly USER_SPACE_INFO: "用户空间详细信息";
26466
26594
  readonly USER_TOTAL_VIEWS: "获取UP主总播放量";
26467
26595
  readonly DYNAMIC_DETAIL: "动态详情数据";
@@ -26491,6 +26619,7 @@ declare const MethodMaps: {
26491
26619
  readonly COMMENT_REPLIES: "fetchCommentReplies";
26492
26620
  readonly USER_CARD: "fetchUserCard";
26493
26621
  readonly USER_DYNAMICS: "fetchUserDynamicList";
26622
+ readonly USER_LIVE_STATUS: "fetchUserLiveStatus";
26494
26623
  readonly USER_SPACE_INFO: "fetchUserSpaceInfo";
26495
26624
  readonly USER_TOTAL_VIEWS: "fetchUploaderTotalViews";
26496
26625
  readonly DYNAMIC_DETAIL: "fetchDynamicDetail";
@@ -26696,6 +26825,13 @@ declare class BilibiliAPI {
26696
26825
  getDynamicCard(data: BilibiliMethodOptionsWithoutMethodType['DynamicParams']): string;
26697
26826
  /** 获取用户名片信息 */
26698
26827
  getUserCard(data: BilibiliMethodOptionsWithoutMethodType['UserParams']): string;
26828
+ /**
26829
+ * 按用户 UID 获取直播状态。
26830
+ *
26831
+ * @remarks
26832
+ * 该接口直接返回用户当前直播状态,不依赖空间动态中的直播推荐卡片。
26833
+ */
26834
+ getUserLiveStatus(data: BilibiliMethodOptionsWithoutMethodType['UserParams']): string;
26699
26835
  /** 获取直播间信息 */
26700
26836
  getLiveRoomInfo(data: BilibiliMethodOptionsWithoutMethodType['LiveRoomParams']): string;
26701
26837
  /** 获取直播间初始化信息 */
@@ -26895,6 +27031,10 @@ interface IBilibiliFetcher {
26895
27031
  * 获取B站用户动态列表
26896
27032
  */
26897
27033
  fetchUserDynamicList: MethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userDynamicList']>;
27034
+ /**
27035
+ * 按用户 UID 获取B站直播状态
27036
+ */
27037
+ fetchUserLiveStatus: MethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userLiveStatus']>;
26898
27038
  /**
26899
27039
  * 获取B站用户空间详细信息
26900
27040
  */
@@ -27349,22 +27489,70 @@ interface FetcherConfig {
27349
27489
  requestConfig?: RequestConfig;
27350
27490
  }
27351
27491
  //#endregion
27492
+ //#region src/model/fetchers/shared/request-types.d.ts
27493
+ type RequestHeaders = NonNullable<RequestConfig['headers']>;
27494
+ /**
27495
+ * 未显式覆盖 Cookie 的单次请求配置。
27496
+ *
27497
+ * Cookie 请求头必须使用大写 `Cookie`。小写 `cookie` 会被类型系统拒绝,
27498
+ * 避免 Axios 请求头与平台签名逻辑读取到不同字段。
27499
+ */
27500
+ type FetcherRequestConfigWithoutCookie = Omit<RequestConfig, 'headers'> & {
27501
+ headers?: RequestHeaders & {
27502
+ Cookie?: never;
27503
+ cookie?: never;
27504
+ };
27505
+ };
27506
+ /**
27507
+ * 显式覆盖 Cookie 的单次请求配置。
27508
+ *
27509
+ * 裸 Fetcher 会把 `Cookie` 的字符串字面量与 cookie 参数关联起来:
27510
+ * 两处必须传入相同的值。
27511
+ */
27512
+ type FetcherRequestConfigWithCookie<TCookie extends string> = Omit<RequestConfig, 'headers'> & {
27513
+ headers: RequestHeaders & {
27514
+ Cookie: TCookie;
27515
+ cookie?: never;
27516
+ };
27517
+ };
27518
+ /** 裸 Fetcher 匿名请求使用的严格配置。 */
27519
+ type AnonymousFetcherRequestConfig = FetcherRequestConfigWithCookie<''>;
27520
+ /**
27521
+ * 根据裸 Fetcher 的单次请求配置推导 cookie 参数类型。
27522
+ *
27523
+ * - 大写 `Cookie`:cookie 参数必须与请求头字符串字面量一致。
27524
+ * - 小写 `cookie`:返回 `never`,拒绝大小写错误。
27525
+ * - 未显式声明 Cookie:保持原有的可选字符串参数。
27526
+ */
27527
+ type FetcherCookieForRequestConfig<TRequestConfig extends RequestConfig> = TRequestConfig extends {
27528
+ headers: infer THeaders;
27529
+ } ? THeaders extends {
27530
+ cookie: unknown;
27531
+ } ? never : THeaders extends {
27532
+ Cookie: infer TCookie;
27533
+ } ? TCookie extends string ? TCookie : never : string | undefined : string | undefined;
27534
+ //#endregion
27352
27535
  //#region src/model/fetchers/shared/overload-types.d.ts
27353
27536
  /**
27354
27537
  * 为单个方法生成函数重载类型
27355
27538
  * @template TOptions - 方法的选项参数类型
27356
27539
  * @template TStrictReturn - typeMode='strict' 时的返回类型
27357
- * @template TCookie - Cookie 参数类型(可选)
27358
- * @template TRequestConfig - 请求配置参数类型(可选)
27359
27540
  */
27360
- type MethodOverload<TOptions, TStrictReturn, TCookie extends string | undefined = string | undefined, TRequestConfig extends RequestConfig | undefined = RequestConfig | undefined> = {
27541
+ type MethodOverload<TOptions, TStrictReturn> = {
27361
27542
  (options: TOptions & {
27362
27543
  typeMode: 'strict';
27363
- }, ...args: TCookie extends undefined ? TRequestConfig extends undefined ? [] : [requestConfig?: TRequestConfig] : TRequestConfig extends undefined ? [cookie?: TCookie] : [cookie?: TCookie, requestConfig?: TRequestConfig]): Promise<Result<TStrictReturn>>;
27364
- (options: TOptions, ...args: TCookie extends undefined ? TRequestConfig extends undefined ? [] : [requestConfig?: TRequestConfig] : TRequestConfig extends undefined ? [cookie?: TCookie] : [cookie?: TCookie, requestConfig?: TRequestConfig]): Promise<Result<any>>;
27544
+ }, cookie?: string): Promise<Result<TStrictReturn>>;
27545
+ <const TRequestConfig extends RequestConfig>(options: TOptions & {
27546
+ typeMode: 'strict';
27547
+ }, cookie: NoInfer<FetcherCookieForRequestConfig<TRequestConfig>>, requestConfig: TRequestConfig): Promise<Result<TStrictReturn>>;
27548
+ (options: TOptions, cookie?: string): Promise<Result<any>>;
27549
+ <const TRequestConfig extends RequestConfig>(options: TOptions, cookie: NoInfer<FetcherCookieForRequestConfig<TRequestConfig>>, requestConfig: TRequestConfig): Promise<Result<any>>;
27365
27550
  };
27366
27551
  /**
27367
27552
  * 为绑定 Cookie 的方法生成函数重载类型(少了 cookie 参数)
27553
+ *
27554
+ * 第二个参数用于覆盖当前调用的请求配置。绑定 Fetcher 的实现会将它与
27555
+ * 实例级配置合并,不会修改实例本身。
27368
27556
  */
27369
27557
  type BoundMethodOverload<TOptions, TStrictReturn, TRequestConfig extends RequestConfig | undefined = RequestConfig | undefined> = {
27370
27558
  (options: TOptions & {
@@ -27375,16 +27563,24 @@ type BoundMethodOverload<TOptions, TStrictReturn, TRequestConfig extends Request
27375
27563
  /**
27376
27564
  * 为无参数方法生成函数重载类型
27377
27565
  */
27378
- type NoParamMethodOverload<TStrictReturn, TCookie extends string | undefined = string | undefined, TRequestConfig extends RequestConfig | undefined = RequestConfig | undefined> = {
27566
+ type NoParamMethodOverload<TStrictReturn> = {
27379
27567
  (options: {
27380
27568
  typeMode: 'strict';
27381
- }, ...args: TCookie extends undefined ? TRequestConfig extends undefined ? [] : [requestConfig?: TRequestConfig] : TRequestConfig extends undefined ? [cookie?: TCookie] : [cookie?: TCookie, requestConfig?: TRequestConfig]): Promise<Result<TStrictReturn>>;
27569
+ }, cookie?: string): Promise<Result<TStrictReturn>>;
27570
+ <const TRequestConfig extends RequestConfig>(options: {
27571
+ typeMode: 'strict';
27572
+ }, cookie: NoInfer<FetcherCookieForRequestConfig<TRequestConfig>>, requestConfig: TRequestConfig): Promise<Result<TStrictReturn>>;
27382
27573
  (options?: {
27383
27574
  typeMode?: TypeMode;
27384
- }, ...args: TCookie extends undefined ? TRequestConfig extends undefined ? [] : [requestConfig?: TRequestConfig] : TRequestConfig extends undefined ? [cookie?: TCookie] : [cookie?: TCookie, requestConfig?: TRequestConfig]): Promise<Result<any>>;
27575
+ }, cookie?: string): Promise<Result<any>>;
27576
+ <const TRequestConfig extends RequestConfig>(options: {
27577
+ typeMode?: TypeMode;
27578
+ } | undefined, cookie: NoInfer<FetcherCookieForRequestConfig<TRequestConfig>>, requestConfig: TRequestConfig): Promise<Result<any>>;
27385
27579
  };
27386
27580
  /**
27387
27581
  * 为绑定 Cookie 的无参数方法生成函数重载类型
27582
+ *
27583
+ * `requestConfig` 只影响当前调用,并由绑定 Fetcher 与实例级配置合并。
27388
27584
  */
27389
27585
  type BoundNoParamMethodOverload<TStrictReturn, TRequestConfig extends RequestConfig | undefined = RequestConfig | undefined> = {
27390
27586
  (options: {
@@ -27397,14 +27593,20 @@ type BoundNoParamMethodOverload<TStrictReturn, TRequestConfig extends RequestCon
27397
27593
  /**
27398
27594
  * 为带可选参数的方法生成函数重载类型(参数可选但可能包含额外字段)
27399
27595
  */
27400
- type OptionalParamMethodOverload<TOptions, TStrictReturn, TCookie extends string | undefined = string | undefined, TRequestConfig extends RequestConfig | undefined = RequestConfig | undefined> = {
27596
+ type OptionalParamMethodOverload<TOptions, TStrictReturn> = {
27401
27597
  (options: TOptions & {
27402
27598
  typeMode: 'strict';
27403
- }, ...args: TCookie extends undefined ? TRequestConfig extends undefined ? [] : [requestConfig?: TRequestConfig] : TRequestConfig extends undefined ? [cookie?: TCookie] : [cookie?: TCookie, requestConfig?: TRequestConfig]): Promise<Result<TStrictReturn>>;
27404
- (options?: TOptions, ...args: TCookie extends undefined ? TRequestConfig extends undefined ? [] : [requestConfig?: TRequestConfig] : TRequestConfig extends undefined ? [cookie?: TCookie] : [cookie?: TCookie, requestConfig?: TRequestConfig]): Promise<Result<any>>;
27599
+ }, cookie?: string): Promise<Result<TStrictReturn>>;
27600
+ <const TRequestConfig extends RequestConfig>(options: TOptions & {
27601
+ typeMode: 'strict';
27602
+ }, cookie: NoInfer<FetcherCookieForRequestConfig<TRequestConfig>>, requestConfig: TRequestConfig): Promise<Result<TStrictReturn>>;
27603
+ (options?: TOptions, cookie?: string): Promise<Result<any>>;
27604
+ <const TRequestConfig extends RequestConfig>(options: TOptions | undefined, cookie: NoInfer<FetcherCookieForRequestConfig<TRequestConfig>>, requestConfig: TRequestConfig): Promise<Result<any>>;
27405
27605
  };
27406
27606
  /**
27407
27607
  * 为绑定 Cookie 的带可选参数方法生成函数重载类型
27608
+ *
27609
+ * `requestConfig` 只影响当前调用,并由绑定 Fetcher 与实例级配置合并。
27408
27610
  */
27409
27611
  type BoundOptionalParamMethodOverload<TOptions, TStrictReturn, TRequestConfig extends RequestConfig | undefined = RequestConfig | undefined> = {
27410
27612
  (options: TOptions & {
@@ -27433,6 +27635,8 @@ interface IBoundBilibiliFetcher {
27433
27635
  fetchUserCard: BoundMethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userCard']>;
27434
27636
  /** 获取B站用户动态列表 */
27435
27637
  fetchUserDynamicList: BoundMethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userDynamicList']>;
27638
+ /** 按用户 UID 获取B站直播状态 */
27639
+ fetchUserLiveStatus: BoundMethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userLiveStatus']>;
27436
27640
  /** 获取B站用户空间详细信息 */
27437
27641
  fetchUserSpaceInfo: BoundMethodOverload<BilibiliUserOptions, BilibiliReturnTypeMap['userSpaceInfo']>;
27438
27642
  /** 获取B站 UP 主总播放量 */
@@ -29339,6 +29543,7 @@ declare const BilibiliMethodMapping: {
29339
29543
  readonly 指定评论的回复: "fetchCommentReplies";
29340
29544
  readonly 用户主页数据: "fetchUserCard";
29341
29545
  readonly 用户主页动态列表数据: "fetchUserDynamicList";
29546
+ readonly 用户直播状态: "fetchUserLiveStatus";
29342
29547
  readonly 用户空间详细信息: "fetchUserSpaceInfo";
29343
29548
  readonly 获取UP主总播放量: "fetchUploaderTotalViews";
29344
29549
  readonly 动态详情数据: "fetchDynamicDetail";
@@ -29424,6 +29629,7 @@ declare const BilibiliApiRoutes: {
29424
29629
  readonly commentReplies: "/comment-replies";
29425
29630
  readonly userCard: "/user";
29426
29631
  readonly userDynamicList: "/user/dynamics";
29632
+ readonly userLiveStatus: "/user/live-status";
29427
29633
  readonly userSpaceInfo: "/user/space";
29428
29634
  readonly uploaderTotalViews: "/user/total-views";
29429
29635
  readonly dynamicDetail: "/dynamic";
@@ -29553,4 +29759,4 @@ declare const CreateApp: AmagiConstructor;
29553
29759
  declare const Client: typeof CreateApp;
29554
29760
  declare const amagi: typeof Client;
29555
29761
  //#endregion
29556
- export { APIErrorType, AdditionalType, AmagiEventMap, AmagiEventType, type ApiEndpoint, ApiError, ApiErrorEventData, ApiResponse, ApiSuccessEventData, ArticleCard, ArticleContent, ArticleInfo, ArticleWork, BaseRequestOptions, BaseResponse, BiliAv2Bv, BiliBangumiVideoInfo, BiliBangumiVideoPlayurlIsLogin, BiliBangumiVideoPlayurlNoLogin, BiliBiliVideoPlayurlNoLogin, BiliBv2AV, BiliCheckQrcode, BiliCommentReply, BiliDynamicCard, BiliDynamicInfo, BiliDynamicInfoUnion, BiliEmojiList, BiliLiveRoomDef, BiliLiveRoomDetail, BiliNewLoginQrcode, BiliOneWork, BiliProtobufDanmaku, BiliUserDynamic, BiliUserFullView, BiliUserProfile, BiliVideoPlayurlIsLogin, BiliWorkComments, BilibiliApiRoutes, type BilibiliApplyCaptchaOptions, BilibiliApplyCaptchaParamsSchema, type BilibiliArticleCardOptions, BilibiliArticleCardParamsSchema, BilibiliArticleInfoParamsSchema, type BilibiliArticleOptions, BilibiliArticleParamsSchema, type BilibiliAv2BvOptions, BilibiliAv2BvParamsSchema, type BilibiliBangumiInfoOptions, BilibiliBangumiInfoParamsSchema, type BilibiliBangumiStreamOptions, BilibiliBangumiStreamParamsSchema, type BilibiliBv2AvOptions, BilibiliBv2AvParamsSchema, BilibiliColumnInfoParamsSchema, BilibiliCommentParamsSchema, type BilibiliCommentRepliesOptions, BilibiliCommentReplyParamsSchema, type BilibiliCommentsOptions, type BilibiliDanmakuOptions, BilibiliDanmakuParamsSchema, BilibiliDataOptions, BilibiliDataOptionsMap, type BilibiliDynamicOptions, BilibiliDynamicParamsSchema, BilibiliEmojiParamsSchema, type BilibiliFetcher, BilibiliFetcherMethodKey, BilibiliFetcherMethods, BilibiliInternalMethodKey, BilibiliInternalMethods, BilibiliLiveParamsSchema, type BilibiliLiveRoomOptions, BilibiliLoginParamsSchema, type BilibiliMethodKey, BilibiliMethodMapping, BilibiliMethodOptMap, BilibiliMethodOptionsMap, BilibiliMethodRoutes, BilibiliMethodToFetcher, BilibiliMethodType, type BilibiliMethodValue, BilibiliQrcodeParamsSchema, type BilibiliQrcodeStatusOptions, BilibiliQrcodeStatusParamsSchema, BilibiliReturnTypeMap, type BilibiliUserOptions, BilibiliUserParamsSchema, type BilibiliValidateCaptchaOptions, BilibiliValidateCaptchaParamsSchema, BilibiliValidationSchemas, BilibiliVideoDownloadParamsSchema, type BilibiliVideoInfoOptions, BilibiliVideoParamsSchema, type BilibiliVideoStreamOptions, BoundBilibiliApi, type BoundBilibiliFetcher, BoundDouyinApi, type BoundDouyinFetcher, BoundKuaishouApi, type BoundKuaishouFetcher, BoundXiaohongshuApi, type BoundXiaohongshuFetcher, ColumnInfo, CommentReply, CommentType, ConditionalReturnType, CookieConfig, CreateApp, DouyinApiRoutes, DouyinCommentParamsSchema, type DouyinCommentRepliesOptions, DouyinCommentReplyParamsSchema, type DouyinCommentsOptions, type DouyinDanmakuOptions, DouyinDanmakuParamsSchema, DouyinDataOptions, DouyinDataOptionsMap, DouyinEmojiListParamsSchema, DouyinEmojiProParamsSchema, type DouyinFetcher, DouyinFetcherMethodKey, DouyinFetcherMethods, DouyinHotWordsParamsSchema, DouyinInternalMethodKey, DouyinInternalMethods, type DouyinLiveRoomOptions, DouyinLiveRoomParamsSchema, type DouyinMethodKey, DouyinMethodMapping, DouyinMethodOptMap, DouyinMethodOptionsMap, DouyinMethodRoutes, DouyinMethodToFetcher, DouyinMethodType, type DouyinMethodValue, type DouyinMusicOptions, DouyinMusicParamsSchema, type DouyinQrcodeOptions, DouyinQrcodeParamsSchema, DouyinReturnTypeMap, type DouyinSearchOptions, DouyinSearchParamsSchema, type DouyinSuggestWordsOptions, type DouyinUserListOptions, DouyinUserListParamsSchema, type DouyinUserOptions, DouyinUserParamsSchema, DouyinValidationSchemas, type DouyinWorkOptions, DouyinWorkParamsSchema, DyDanmakuList, DyEmojiList, DyEmojiProList, DyImageAlbumWork, DyMusicWork, DySearchInfo, DySlidesWork, DySuggestWords, DyUserInfo, DyUserLiveVideos, DyUserPostVideos, DyVideoWork, DyWorkComments, DynamicType, DynamicTypeAV, DynamicTypeArticle, DynamicTypeDraw, DynamicTypeForward, DynamicTypeForwardUnion, DynamicTypeLiveRcmd, DynamicTypeWord, ErrorResult, ExtractTypeMode, FetcherConfig, HomeFeed, type HttpMethod, HttpRequestEventData, HttpResponseEventData, type IBilibiliFetcher, type IBoundBilibiliFetcher, type IBoundDouyinFetcher, type IBoundKuaishouFetcher, type IBoundXiaohongshuFetcher, type IDouyinFetcher, type IKuaishouFetcher, type IXiaohongshuFetcher, type KsBannedStatus, KsEmojiList, KsLiveRoomInfo, KsOneWork, type KsUserHomeWork, KsUserProfile, type KsUserProfileCounts, type KsUserProfileGameInfo, type KsUserProfileLiveInfo, type KsUserProfileSensitiveInfo, type KsUserProfileUserInfo, KsUserWorkList, type KsVerifiedStatus, KsWorkComments, KuaishouApiRoutes, KuaishouCommentParamsSchema, type KuaishouCommentsOptions, KuaishouDataOptions, KuaishouDataOptionsMap, KuaishouEmojiParamsSchema, type KuaishouFetcher, KuaishouFetcherMethodKey, KuaishouFetcherMethods, type KuaishouGraphqlRequest, KuaishouInternalMethodKey, KuaishouInternalMethods, type KuaishouLiveApiRequest, type KuaishouLiveRoomInfoOptions, KuaishouLiveRoomInfoParamsSchema, type KuaishouMethodKey, KuaishouMethodMapping, KuaishouMethodOptMap, KuaishouMethodOptionsMap, KuaishouMethodRoutes, KuaishouMethodToFetcher, KuaishouMethodType, type KuaishouMethodValue, KuaishouReturnTypeMap, type KuaishouUserProfileOptions, KuaishouUserProfileParamsSchema, type KuaishouUserWorkListOptions, KuaishouUserWorkListParamsSchema, KuaishouValidationSchemas, KuaishouVideoParamsSchema, type KuaishouVideoWorkOptions, LogEventData, MajorType, MethodMaps, NetworkErrorEventData, NetworkRetryEventData, type NetworksConfigType, NoteComments, OmitMethodType, OneNote, Options, type Platform, RequestConfig, Result, SearchInfoGeneralData, SearchInfoUser, SearchInfoVideo, SearchNotes, SuccessResult, TypeControl, TypeMode, ValidationError, XiaohongshuApiRoutes, type XiaohongshuCommentsOptions, XiaohongshuDataOptions, XiaohongshuDataOptionsMap, XiaohongshuEmojiList, type XiaohongshuFetcher, XiaohongshuFetcherMethodKey, XiaohongshuFetcherMethods, type XiaohongshuHomeFeedOptions, XiaohongshuInternalMethodKey, XiaohongshuInternalMethods, type XiaohongshuMethodKey, XiaohongshuMethodMapping, XiaohongshuMethodOptMap, XiaohongshuMethodOptionsMap, XiaohongshuMethodRoutes, XiaohongshuMethodToFetcher, XiaohongshuMethodType, type XiaohongshuMethodValue, type XiaohongshuNoteDetailOptions, XiaohongshuReturnTypeMap, type XiaohongshuSearchNotesOptions, type XiaohongshuUserNotesOptions, XiaohongshuUserProfile, type XiaohongshuUserProfileOptions, 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 };
29762
+ export { APIErrorType, AdditionalType, AmagiEventMap, AmagiEventType, type AnonymousFetcherRequestConfig, type ApiEndpoint, ApiError, ApiErrorEventData, ApiResponse, ApiSuccessEventData, ArticleCard, ArticleContent, ArticleInfo, ArticleWork, BaseRequestOptions, BaseResponse, BiliAv2Bv, BiliBangumiVideoInfo, BiliBangumiVideoPlayurlIsLogin, BiliBangumiVideoPlayurlNoLogin, BiliBiliVideoPlayurlNoLogin, BiliBv2AV, BiliCheckQrcode, BiliCommentReply, BiliDynamicCard, BiliDynamicInfo, BiliDynamicInfoUnion, BiliEmojiList, BiliLiveRoomDef, BiliLiveRoomDetail, BiliNewLoginQrcode, BiliOneWork, BiliProtobufDanmaku, BiliUserDynamic, BiliUserFullView, BiliUserLiveStatus, BiliUserProfile, BiliVideoPlayurlIsLogin, BiliWorkComments, BilibiliApiRoutes, type BilibiliApplyCaptchaOptions, BilibiliApplyCaptchaParamsSchema, type BilibiliArticleCardOptions, BilibiliArticleCardParamsSchema, BilibiliArticleInfoParamsSchema, type BilibiliArticleOptions, BilibiliArticleParamsSchema, type BilibiliAv2BvOptions, BilibiliAv2BvParamsSchema, type BilibiliBangumiInfoOptions, BilibiliBangumiInfoParamsSchema, type BilibiliBangumiStreamOptions, BilibiliBangumiStreamParamsSchema, type BilibiliBv2AvOptions, BilibiliBv2AvParamsSchema, BilibiliColumnInfoParamsSchema, BilibiliCommentParamsSchema, type BilibiliCommentRepliesOptions, BilibiliCommentReplyParamsSchema, type BilibiliCommentsOptions, type BilibiliDanmakuOptions, BilibiliDanmakuParamsSchema, BilibiliDataOptions, BilibiliDataOptionsMap, type BilibiliDynamicOptions, BilibiliDynamicParamsSchema, BilibiliEmojiParamsSchema, type BilibiliFetcher, BilibiliFetcherMethodKey, BilibiliFetcherMethods, BilibiliInternalMethodKey, BilibiliInternalMethods, BilibiliLiveParamsSchema, type BilibiliLiveRoomOptions, BilibiliLoginParamsSchema, type BilibiliMethodKey, BilibiliMethodMapping, BilibiliMethodOptMap, BilibiliMethodOptionsMap, BilibiliMethodRoutes, BilibiliMethodToFetcher, BilibiliMethodType, type BilibiliMethodValue, BilibiliQrcodeParamsSchema, type BilibiliQrcodeStatusOptions, BilibiliQrcodeStatusParamsSchema, BilibiliReturnTypeMap, type BilibiliUserOptions, BilibiliUserParamsSchema, type BilibiliValidateCaptchaOptions, BilibiliValidateCaptchaParamsSchema, BilibiliValidationSchemas, BilibiliVideoDownloadParamsSchema, type BilibiliVideoInfoOptions, BilibiliVideoParamsSchema, type BilibiliVideoStreamOptions, BoundBilibiliApi, type BoundBilibiliFetcher, BoundDouyinApi, type BoundDouyinFetcher, BoundKuaishouApi, type BoundKuaishouFetcher, BoundXiaohongshuApi, type BoundXiaohongshuFetcher, ColumnInfo, CommentReply, CommentType, ConditionalReturnType, CookieConfig, CreateApp, DouyinApiRoutes, DouyinCommentParamsSchema, type DouyinCommentRepliesOptions, DouyinCommentReplyParamsSchema, type DouyinCommentsOptions, type DouyinDanmakuOptions, DouyinDanmakuParamsSchema, DouyinDataOptions, DouyinDataOptionsMap, DouyinEmojiListParamsSchema, DouyinEmojiProParamsSchema, type DouyinFetcher, DouyinFetcherMethodKey, DouyinFetcherMethods, DouyinHotWordsParamsSchema, DouyinInternalMethodKey, DouyinInternalMethods, type DouyinLiveRoomOptions, DouyinLiveRoomParamsSchema, type DouyinMethodKey, DouyinMethodMapping, DouyinMethodOptMap, DouyinMethodOptionsMap, DouyinMethodRoutes, DouyinMethodToFetcher, DouyinMethodType, type DouyinMethodValue, type DouyinMusicOptions, DouyinMusicParamsSchema, type DouyinQrcodeOptions, DouyinQrcodeParamsSchema, DouyinReturnTypeMap, type DouyinSearchOptions, DouyinSearchParamsSchema, type DouyinSuggestWordsOptions, type DouyinUserListOptions, DouyinUserListParamsSchema, type DouyinUserOptions, DouyinUserParamsSchema, DouyinValidationSchemas, type DouyinWorkOptions, DouyinWorkParamsSchema, DyDanmakuList, DyEmojiList, DyEmojiProList, DyImageAlbumWork, DyMusicWork, DySearchInfo, DySlidesWork, DySuggestWords, DyUserInfo, DyUserLiveVideos, DyUserPostVideos, DyVideoWork, DyWorkComments, DynamicType, DynamicTypeAV, DynamicTypeArticle, DynamicTypeDraw, DynamicTypeForward, DynamicTypeForwardUnion, DynamicTypeLiveRcmd, DynamicTypeWord, ErrorResult, ExtractTypeMode, FetcherConfig, type FetcherCookieForRequestConfig, type FetcherRequestConfigWithCookie, type FetcherRequestConfigWithoutCookie, HomeFeed, type HttpMethod, HttpRequestEventData, HttpResponseEventData, type IBilibiliFetcher, type IBoundBilibiliFetcher, type IBoundDouyinFetcher, type IBoundKuaishouFetcher, type IBoundXiaohongshuFetcher, type IDouyinFetcher, type IKuaishouFetcher, type IXiaohongshuFetcher, type KsBannedStatus, KsEmojiList, KsLiveRoomInfo, KsOneWork, type KsUserHomeWork, KsUserProfile, type KsUserProfileCounts, type KsUserProfileGameInfo, type KsUserProfileLiveInfo, type KsUserProfileSensitiveInfo, type KsUserProfileUserInfo, KsUserWorkList, type KsVerifiedStatus, KsWorkComments, KuaishouApiRoutes, KuaishouCommentParamsSchema, type KuaishouCommentsOptions, KuaishouDataOptions, KuaishouDataOptionsMap, KuaishouEmojiParamsSchema, type KuaishouFetcher, KuaishouFetcherMethodKey, KuaishouFetcherMethods, type KuaishouGraphqlRequest, KuaishouInternalMethodKey, KuaishouInternalMethods, type KuaishouLiveApiRequest, type KuaishouLiveRoomInfoOptions, KuaishouLiveRoomInfoParamsSchema, type KuaishouMethodKey, KuaishouMethodMapping, KuaishouMethodOptMap, KuaishouMethodOptionsMap, KuaishouMethodRoutes, KuaishouMethodToFetcher, KuaishouMethodType, type KuaishouMethodValue, KuaishouReturnTypeMap, type KuaishouUserProfileOptions, KuaishouUserProfileParamsSchema, type KuaishouUserWorkListOptions, KuaishouUserWorkListParamsSchema, KuaishouValidationSchemas, KuaishouVideoParamsSchema, type KuaishouVideoWorkOptions, LogEventData, MajorType, MethodMaps, NetworkErrorEventData, NetworkRetryEventData, type NetworksConfigType, NoteComments, OmitMethodType, OneNote, Options, type Platform, RequestConfig, Result, SearchInfoGeneralData, SearchInfoUser, SearchInfoVideo, SearchNotes, SuccessResult, TypeControl, TypeMode, ValidationError, XiaohongshuApiRoutes, type XiaohongshuCommentsOptions, XiaohongshuDataOptions, XiaohongshuDataOptionsMap, XiaohongshuEmojiList, type XiaohongshuFetcher, XiaohongshuFetcherMethodKey, XiaohongshuFetcherMethods, type XiaohongshuHomeFeedOptions, XiaohongshuInternalMethodKey, XiaohongshuInternalMethods, type XiaohongshuMethodKey, XiaohongshuMethodMapping, XiaohongshuMethodOptMap, XiaohongshuMethodOptionsMap, XiaohongshuMethodRoutes, XiaohongshuMethodToFetcher, XiaohongshuMethodType, type XiaohongshuMethodValue, type XiaohongshuNoteDetailOptions, XiaohongshuReturnTypeMap, type XiaohongshuSearchNotesOptions, type XiaohongshuUserNotesOptions, XiaohongshuUserProfile, type XiaohongshuUserProfileOptions, 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 };