@ikenxuan/amagi 6.6.0 → 7.0.0-beta.1

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.
@@ -0,0 +1,1121 @@
1
+ import { $a as UserFavoriteListError, $c as GuestMusicParams, $i as RiskChallenge, $n as SearchInfoVideo, $o as DynamicEmojiList_V0, $r as SearchNoteType, $s as LoginQrcodeError, $t as BiliUserProfile, A as xiaohongshuUtils, Aa as DanmakuListError$1, Ac as BangumiInfoError, Ai as LoginSession, An as ArticleInfo, Ao as GuestUserInfo, Ar as emitApiSuccess, As as UserLiveStatusSuccess, At as OneNote, B as createDouyinRoutes, Ba as UserVideoList, Bc as ArticleInfo_V0, Bi as AmagiSuccess, Bn as BilibiliMethodType, Bo as GuestMusicAwemeListSuccess, Br as emitNetworkRetry, Bs as UploaderTotalViews, Bt as KsUserProfileGameInfo, C as validateBilibiliParams, Ca as VideoWorkSuccess$1, Cc as CommentRepliesSuccess, Ci as AmagiBusEventName, Cn as BiliBv2AV, Co as LiveRoomInfo$1, Cr as HttpRequestEventData, Cs as VideoDanmaku_V0, Ct as XiaohongshuDataOptions, D as ApiError, Da as EmojiListSuccess$2, Dc as BangumiStreamSuccess, Di as Credential, Dn as BiliBangumiVideoPlayurlIsLogin, Do as ImageAlbumWork, Dr as NetworkRetryEventData, Ds as UserSpaceInfo_V0, Dt as XiaohongshuUserNoteList, E as validateXiaohongshuParams, Ea as EmojiListError$2, Ec as BangumiStreamError, Ei as ChallengeAnswer, En as BiliBangumiVideoPlayurlNoLogin, Eo as LiveRoomInfo_V0, Er as NetworkErrorEventData, Es as UserSpaceInfoSuccess, Et as XiaohongshuUserProfile, F as kuaishouSign, Fa as CommentsSuccess$2, Fc as ArticleListInfoSuccess, Fi as SmsChallenge, Fn as KuaishouMethodOptMap, Fo as GuestMusicInfoError, Fr as emitLogError, Fs as UserDynamicList_V0, Ft as KsUserWorkList, G as parseDmSegMobileReply, Ga as UserRecommendListError, Gc as ArticleCards, Gi as EndpointDef, Gn as DySearchInfo, Go as EmojiResourceMeta_V0, Gr as AmagiRequest, Gs as QrcodeStatusError, Gt as KsOneWork, H as bilibiliUtils, Ha as UserVideoListSuccess, Hc as ArticleContentError, Hi as isFailure, Hn as BilibiliMethodOptionsMap, Ho as EmojiResourceMeta, Hr as FacadeServerOptions, Hs as UploaderTotalViewsSuccess, Ht as KsUserProfileSensitiveInfo, I as KuaishouGraphqlRequest, Ia as Comments_V0$2, Ic as ArticleListInfo_V0, Ii as WatchHandlers, In as KuaishouMethodOptionsMap, Io as GuestMusicInfoSuccess, Ir as emitLogInfo, Is as UserCard, It as KsUserProfile, J as wbi_sign, Ja as UserProfile, Jc as ArticleCards_V0, Ji as TraceReason, Jn as DyUserPostVideos, Jo as EmojiListSuccess$1, Jr as StaticFetcherOf, Js as LoginStatus, Jt as KsDanmaku, K as av2bv, Ka as UserRecommendListSuccess, Kc as ArticleCardsError, Ki as AmagiMeta, Kn as DyWorkComments, Ko as EmojiList$1, Kr as AmagiRequestConfig, Ks as QrcodeStatusSuccess, Kt as KsLiveRoomInfo, L as KuaishouLiveApiRequest, La as VideoWork, Lc as ArticleInfo$1, Li as WatchOptions, Ln as DouyinMethodType, Lo as GuestMusicInfo_V0, Lr as emitLogMark, Ls as UserCardError, Lt as KsUserHomeWork, M as xiaohongshuSign, Ma as DanmakuList_V0$1, Mc as BangumiInfo_V0, Mi as Qrcode, Mn as ArticleCard, Mo as GuestUserInfoSuccess, Mr as emitHttpResponse, Ms as UserDynamicList, Mt as HomeFeed, N as kuaishouUtils, Na as Comments$2, Nc as ArticleListInfo, Ni as QrcodeLoginStrategy, Nn as NetworksConfigType, No as GuestUserInfo_V0, Nr as emitLog, Ns as UserDynamicListError, Nt as KuaishouReturnTypeMap, O as ValidationError, Oa as EmojiList_V0$2, Oc as BangumiStream_V0, Oi as LoginChallenge, On as BiliBangumiVideoInfo, Oo as ImageAlbumWorkError, Or as amagiEvents, Os as UserLiveStatus, Ot as XiaohongshuEmojiList, P as createKuaishouRoutes, Pa as CommentsError$2, Pc as ArticleListInfoError, Pi as SessionCtx, Pn as KuaishouMethodType, Po as GuestMusicInfo, Pr as emitLogDebug, Ps as UserDynamicListSuccess, Pt as KsWorkComments, Q as createBoundXiaohongshuFetcher, Qa as UserFavoriteList, Qc as GuestMusicListParams, Qi as ErrorKind, Qn as DySlidesWork, Qo as DynamicEmojiListSuccess, Qr as XiaohongshuMethodOptionsMap, Qs as LoginQrcode, Qt as BiliVideoPlayurlIsLogin, R as kuaishouApiUrls, Ra as VideoWorkError, Rc as ArticleInfoError, Ri as AmagiFailure, Rn as DouyinMethodOptMap, Ro as GuestMusicAwemeList, Rr as emitLogWarn, Rs as UserCardSuccess, Rt as KsBannedStatus, S as createSuccessResponse, Sa as VideoWorkError$1, Sc as CommentRepliesError, Si as AmagiBusEventMap, Sn as ColumnInfo, So as MusicInfo_V0, Sr as ApiSuccessEventData, Ss as VideoDanmakuSuccess, St as OmitMethodType, T as validateKuaishouParams, Ta as EmojiList$2, Tc as BangumiStream, Ti as CaptchaChallenge, Tn as BiliEmojiList, To as LiveRoomInfoSuccess$1, Tr as LogEventData, Ts as UserSpaceInfoError, Tt as XiaohongshuReturnTypeMap, U as createBilibiliRoutes, Ua as UserVideoList_V0, Uc as ArticleContentSuccess, Ui as isSuccess, Un as CommentType, Uo as EmojiResourceMetaError, Ur as createClient, Us as UploaderTotalViews_V0, Ut as KsUserProfileUserInfo, V as douyinSign, Va as UserVideoListError, Vc as ArticleContent$1, Vi as AmagiThrownError, Vn as BilibiliMethodOptMap, Vo as GuestMusicAwemeList_V0, Vr as ClientOptions, Vs as UploaderTotalViewsError, Vt as KsUserProfileLiveInfo, W as qtparam, Wa as UserRecommendList, Wc as ArticleContent_V0, Wi as unwrap, Wn as DouyinReturnTypeMap, Wo as EmojiResourceMetaSuccess, Wr as AmagiAxiosTrack, Ws as QrcodeStatus, Wt as KsVerifiedStatus, X as SuccessXiaohongshuFetcher, Xa as UserProfileSuccess, Xc as CommentsParams, Xi as AmagiError, Xn as DyUserInfo, Xo as DynamicEmojiList, Xr as xiaohongshuApiUrls, Xs as LoginStatusSuccess, Xt as BiliWorkComments, Y as BoundXiaohongshuFetcher, Ya as UserProfileError, Yc as CommentRepliesParams, Yi as Platform, Yn as DyUserLiveVideos, Yo as EmojiList_V0, Yr as XiaohongshuMethodOptionsWithoutMethodType, Ys as LoginStatusError, Yt as BilibiliReturnTypeMap, Z as XiaohongshuFetcher, Za as UserProfile_V0, Zc as DanmakuListParams, Zi as AmagiErrorCode, Zn as DySuggestWords, Zo as DynamicEmojiListError, Zr as XiaohongshuMethodOptMap, Zs as LoginStatus_V0, Zt as BiliBiliVideoPlayurlNoLogin, _ as assertValidBilibiliParams, _a as EmojiList$3, _c as Comments, _i as BvToAvData, _l as DyPassportVerifyContext, _n as DynamicTypeForwardUnion, _o as ParseWorkError, _s as VideoInfoError, _t as BilibiliDataOptionsMap, a as KUAISHOU_PC_CAPTCHA_RESULT, aa as SearchNotes$1, ac as LiveRoomInit_V0, ai as searchNotes, al as SuggestWordsParams, an as BiliNewLoginQrcode, ao as TextWork_V0, ar as DyGuestUserInfo, as as CommentsError$1, at as BoundDouyinFetcher, b as assertValidXiaohongshuParams, ba as EmojiList_V0$3, bc as Comments_V0$1, bi as FetcherOf, bl as RequestConfig$1, bn as DynamicTypeArticle, bo as MusicInfoError, br as AmagiEventType, bs as VideoDanmaku, bt as KuaishouDataOptions, c as CookieConfig, ca as SearchNotes_V0, cc as LiveRoomInfoSuccess, ci as CommentParams, cl as WorkParams, cn as BiliLiveRoomDetail, co as SuggestWordsSuccess, cr as DyEmojiResourceMeta, cs as CommentReplies$1, ct as SuccessDouyinFetcher, da as NoteDetailSuccess, dc as EmojiListError, di as KuaishouH5Request, dl as DyPassportQrcode, dn as BiliDynamicInfoUnion, do as SlidesWorkError, dr as DyDanmakuList, ds as CommentReplies_V0, dt as checkPassportQrcode, ea as ValidationIssue, ec as LoginQrcodeSuccess, ei as SearchSortType, el as GuestUserParams, en as BiliUserLiveStatus, eo as UserFavoriteListSuccess, er as SearchInfoUser, es as DanmakuList, et as BoundKuaishouFetcher, f as douyinApiUrls, fa as NoteDetail_V0, fc as EmojiListSuccess, fi as KuaishouLiveApiRequest$1, fl as DyPassportQrcodeStatus, fn as AdditionalType, fo as SlidesWorkSuccess, fr as CommentReply, fs as VideoStream, ft as requestPassportQrcode, g as isNetworkErrorResult, ga as HomeFeed_V0, gc as DynamicDetailSuccess, gi as VideoInfoParams, gl as DyPassportValidateCodeResult, gn as DynamicTypeForward, go as ParseWork, gr as SuccessBilibiliFetcher, gs as VideoInfo, gt as BilibiliDataOptions, h as fetchResponse, ha as HomeFeedSuccess, hc as DynamicDetailError, hi as UserWorkListParams, hl as DyPassportValidateCode, hn as DynamicTypeLiveRcmd, ho as SearchSuccess, hr as BoundBilibiliFetcher, hs as VideoStream_V0, ht as APIErrorType, i as KUAISHOU_H5_CAPTCHA_RESULT, ia as UserProfile_V0$1, ic as LiveRoomInitSuccess, ii as noteDetail, il as SearchParams, in as BiliOneWork, io as TextWorkSuccess, ir as DyImageAlbumWork, is as Comments$1, j as createXiaohongshuRoutes, ja as DanmakuListSuccess$1, jc as BangumiInfoSuccess, ji as LoginState, jn as ArticleContent, jo as GuestUserInfoError, jr as emitHttpRequest, js as UserLiveStatus_V0, jt as NoteComments, k as handleError, ka as DanmakuList$1, kc as BangumiInfo, ki as LoginNamespace, kn as BiliAv2Bv, ko as ImageAlbumWorkSuccess, kr as emitApiError, ks as UserLiveStatusError, kt as SearchNotes, l as Options, la as NoteDetail, lc as LiveRoomInfo_V0$1, li as DanmakuParams, ll as index_d_exports, ln as BiliLiveRoomDef, lo as SuggestWords_V0, lr as DyEmojiProList, ls as CommentRepliesError$1, lt as createBoundDouyinFetcher, m as fetchData, ma as HomeFeedError, mc as DynamicDetail, mi as UserProfileParams$1, ml as DyPassportSendCodeResult, mn as DynamicTypeWord, mo as SearchError, mr as BilibiliFetcher, ms as VideoStreamSuccess, mt as validatePassportVerifyCode, n as CreateApp, na as UserProfileError$1, nc as LiveRoomInit, ni as homeFeed, nl as LoginQrcodeParams, nn as BiliUserDynamic, no as TextWork, nr as DyMusicWork, ns as DanmakuListSuccess, nt as SuccessKuaishouFetcher, o as KuaishouCaptchaChallenge, oa as SearchNotesError, oc as LiveRoomInfo, oi as userNoteList, ol as UserListParams, on as BiliLoginStatus, oo as SuggestWords, or as DyGuestMusicInfo, os as CommentsSuccess$1, ot as DouyinFetcher, p as bilibiliApiUrls, pa as HomeFeed$1, pc as EmojiList_V0$1, pi as LiveRoomInfoParams$1, pl as DyPassportSendCode, pn as MajorType, po as Search, pr as ArticleWork, ps as VideoStreamError, pt as sendPassportVerifyCode, q as bv2av, qa as UserRecommendList_V0, qc as ArticleCardsSuccess, qi as RequestTrace, qn as DyVideoWork, qo as EmojiListError$1, qr as AmagiRequestMethod, qs as QrcodeStatus_V0, qt as KsEmojiList, r as amagi, ra as UserProfileSuccess$1, rc as LiveRoomInitError, ri as noteComments, rl as MusicInfoParams, rn as BiliProtobufDanmaku, ro as TextWorkError, rr as DyLoginQrcode, rs as DanmakuList_V0, rt as createBoundKuaishouFetcher, s as parseKuaishouCaptcha, sa as SearchNotesSuccess, sc as LiveRoomInfoError, si as userProfile, sl as UserProfileParams, sn as BiliCheckQrcode, so as SuggestWordsError, sr as DyGuestMusicAwemeList, ss as Comments_V0, st as DouyinStaticFetcher, ta as UserProfile$1, tc as LoginQrcode_V0, ti as emojiList, tl as LiveRoomInfoParams, tn as BiliUserFullView, to as UserFavoriteList_V0, tr as SearchInfoGeneralData, ts as DanmakuListError, tt as KuaishouFetcher, u as RequestConfig, ua as NoteDetailError, uc as EmojiList, ui as KuaishouGraphqlRequest$1, ul as DyPassportPollResult, un as BiliDynamicInfo, uo as SlidesWork, ur as DyEmojiList, us as CommentRepliesSuccess$1, v as assertValidDouyinParams, va as EmojiListError$3, vc as CommentsError, vi as AvToBvData, vl as DyPassportVerifyWay, vn as DynamicTypeDraw, vo as ParseWorkSuccess, vr as createBoundBilibiliFetcher, vs as VideoInfoSuccess, vt as DouyinDataOptions, w as validateDouyinParams, wa as VideoWork_V0, wc as CommentReplies_V0$1, wi as EventBus, wn as BiliCommentReply, wo as LiveRoomInfoError$1, wr as HttpResponseEventData, ws as UserSpaceInfo, wt as XiaohongshuDataOptionsMap, x as createErrorResponse, xa as VideoWork$1, xc as CommentReplies, xi as AMAGI_BUS_EVENT_NAMES, xn as DynamicType, xo as MusicInfoSuccess, xr as ApiErrorEventData, xs as VideoDanmakuError, xt as KuaishouDataOptionsMap, y as assertValidKuaishouParams, ya as EmojiListSuccess$3, yc as CommentsSuccess, yi as BilibiliAPI, yl as AmagiRequestOptions, yn as DynamicTypeAV, yo as MusicInfo, yr as AmagiEventMap, ys as VideoInfo_V0, yt as DouyinDataOptionsMap, z as douyinUtils, za as VideoWorkSuccess, zc as ArticleInfoSuccess, zi as AmagiResult, zn as DouyinMethodOptionsMap, zo as GuestMusicAwemeListError, zr as emitNetworkError, zs as UserCard_V0, zt as KsUserProfileCounts } from "../index-nCXqYNq0.js";
2
+ //#region src/exports/compat.d.ts
3
+ /** v6 失败信封里 `error.amagiError` 的形状 */
4
+ interface LegacyAmagiError {
5
+ /** v6 的错误说明(≈ v7 的 `error.message`) */
6
+ errorDescription: string;
7
+ /** v6 的请求类型(端点短名,如 `videoWork`) */
8
+ requestType: string;
9
+ /** v6 的请求地址(v7 无等价稳定字段,恒 undefined) */
10
+ requestUrl?: string;
11
+ }
12
+ /** v6 失败信封里 `error` 的形状 */
13
+ interface LegacyErrorBody {
14
+ /** 平台业务码优先,取不到退回 amagi 错误码 */
15
+ code: string | number;
16
+ /** 原始响应体;默认 null(与 v6 `createErrorResponse` 一致) */
17
+ data: unknown;
18
+ /** v6 的 amagiError 嵌套 */
19
+ amagiError: LegacyAmagiError;
20
+ /** 冗余的文案层,v6 各家取法不一 */
21
+ amagiMessage: string;
22
+ }
23
+ /** v6 成功信封。`error` 键运行时在(undefined)、类型为 never,与 v6 原状一致 */
24
+ interface LegacySuccess<T> {
25
+ /** 判别键 */
26
+ success: true;
27
+ /** v6 顶层固定 200 */
28
+ code: 200;
29
+ /** 面向人的说明 */
30
+ message: string;
31
+ /** 端点返回数据 */
32
+ data: T;
33
+ /** v6 类型层面的死键 */
34
+ error: never;
35
+ }
36
+ /** v6 失败信封。`data` 键运行时在(undefined)、类型为 never */
37
+ interface LegacyFailure {
38
+ /** 判别键 */
39
+ success: false;
40
+ /** v6 数字码(ErrorKind 近似映射,见 {@link KIND_LEGACY_CODE}) */
41
+ code: number;
42
+ /** 面向人的说明,等价于 `error.amagiError.errorDescription` */
43
+ message: string;
44
+ /** v6 类型层面的死键 */
45
+ data: never;
46
+ /** v6 错误载体 */
47
+ error: LegacyErrorBody;
48
+ }
49
+ /** v6 信封(与 `validation/index.ts` 的 `Result` 同形,顶层 `code` 恒在) */
50
+ type LegacyResult<T> = LegacySuccess<T> | LegacyFailure;
51
+ /**
52
+ * `ErrorKind` → v6 信封顶层 `code`。
53
+ *
54
+ * v6 信封顶层 `code` 的语义并不统一(ApiError code 直接当 HTTP 状态、
55
+ * 平台码与 amagi 错误码混用),因此这里是近似而非逐字还原:取
56
+ * kind → HTTP 语义码的稳定映射,平台原文码保留在 `error.code`。
57
+ */
58
+ declare const KIND_LEGACY_CODE: Record<ErrorKind, number>;
59
+ /**
60
+ * 把 v7 信封回填成 v6 信封(纯函数,不抛错)。
61
+ *
62
+ * - 成功:`code: 200`,`error` 键运行时补 `undefined`
63
+ * - 失败:顶层 `code` 取 {@link KIND_LEGACY_CODE};平台码进 `error.code`;
64
+ * 原始响应体进 `error.data`(没有则 null)
65
+ */
66
+ declare const toLegacy: <T>(r: AmagiResult<T>) => LegacyResult<T>;
67
+ /** 方法类型映射:`AmagiResult<T>` → `LegacyResult<T>`;非 v7 信封方法原样保留 */
68
+ type CompatMethod<M> = M extends ((...args: infer A) => Promise<AmagiResult<infer T>>) ? (...args: A) => Promise<LegacyResult<T>> : M;
69
+ /** fetcher 对象的 compat 版类型 */
70
+ type CompatFetcher<F> = { [K in keyof F]: CompatMethod<F[K]>; };
71
+ /**
72
+ * 把一个 fetcher 对象包装成「结果转 v6 信封」的版本。
73
+ *
74
+ * 包装发生在 get 时,方法集合自动跟随原对象;每个方法只包一次并缓存
75
+ * (WeakMap 按目标对象 + 键)。非函数属性(若存在)原样透传。
76
+ */
77
+ declare const wrapFetcher: <F extends object>(fetcher: F) => CompatFetcher<F>;
78
+ /** 兼容版 client 工厂:`createAmagiClient` 的每个平台 fetcher 包一层 */
79
+ declare const compatCreateAmagiClient: (options?: Options) => {
80
+ startServer: (port?: number | undefined, serverOptions?: FacadeServerOptions) => import("express").Application;
81
+ events: EventBus;
82
+ on: <K extends AmagiBusEventName>(event: K, listener: (payload: AmagiBusEventMap[K]) => void) => EventBus;
83
+ once: <K extends AmagiBusEventName>(event: K, listener: (payload: AmagiBusEventMap[K]) => void) => EventBus;
84
+ douyin: {
85
+ sign: typeof douyinSign;
86
+ passport: typeof index_d_exports;
87
+ apiUrls: {
88
+ browserVersion: string;
89
+ getBaseParams(): Record<string, any>;
90
+ getWorkDetail(data: WorkParams): string;
91
+ getComments(data: CommentsParams): string;
92
+ getCommentReplies(data: CommentRepliesParams): string;
93
+ getSlidesInfo(data: WorkParams): string;
94
+ getEmojiList(): string;
95
+ getGuestUserInfo(data: GuestUserParams): string;
96
+ getGuestMusicInfo(data: GuestMusicParams): string;
97
+ getGuestMusicAwemeList(data: GuestMusicListParams): string;
98
+ getEmojiResourceMeta(): string;
99
+ getUserVideoList(data: UserListParams): string;
100
+ getUserFavoriteList(data: UserListParams): string;
101
+ getUserRecommendList(data: UserListParams): string;
102
+ getUserProfile(data: UserProfileParams): string;
103
+ getSuggestWords(data: SuggestWordsParams): string;
104
+ search(data: SearchParams): string;
105
+ getDynamicEmojiList(): string;
106
+ getMusicInfo(data: MusicInfoParams): string;
107
+ getLiveRoomInfo(data: LiveRoomInfoParams): string;
108
+ getLoginQrcode(data: LoginQrcodeParams): string;
109
+ getDanmakuList(data: DanmakuListParams): string;
110
+ };
111
+ request: AmagiRequest;
112
+ login: LoginNamespace;
113
+ douyinApiUrls: {
114
+ browserVersion: string;
115
+ getBaseParams(): Record<string, any>;
116
+ getWorkDetail(data: OmitMethodType<{
117
+ methodType: 'videoWork' | 'imageAlbumWork' | 'slidesWork' | 'parseWork' | 'textWork';
118
+ aweme_id: string;
119
+ }>): string;
120
+ getComments(data: OmitMethodType<{
121
+ methodType: 'comments';
122
+ aweme_id: string;
123
+ number?: number;
124
+ cursor?: number;
125
+ }>): string;
126
+ getCommentReplies(data: OmitMethodType<{
127
+ methodType: 'commentReplies';
128
+ aweme_id: string;
129
+ comment_id: string;
130
+ number?: number;
131
+ cursor?: number;
132
+ }>): string;
133
+ getSlidesInfo(data: OmitMethodType<{
134
+ methodType: 'videoWork' | 'imageAlbumWork' | 'slidesWork' | 'parseWork' | 'textWork';
135
+ aweme_id: string;
136
+ }>): string;
137
+ getEmojiList(): string;
138
+ getGuestUserInfo(data: OmitMethodType<{
139
+ methodType: 'guestUserInfo';
140
+ unique_id: string;
141
+ }>): string;
142
+ getGuestMusicInfo(data: OmitMethodType<{
143
+ methodType: 'guestMusicInfo';
144
+ music_id: string;
145
+ }>): string;
146
+ getGuestMusicAwemeList(data: OmitMethodType<{
147
+ methodType: 'guestMusicAwemeList';
148
+ music_id: string;
149
+ number?: number;
150
+ cursor?: number;
151
+ }>): string;
152
+ getEmojiResourceMeta(): string;
153
+ getUserVideoList(data: OmitMethodType<{
154
+ methodType: 'userVideoList' | 'userFavoriteList' | 'userRecommendList';
155
+ sec_uid: string;
156
+ number?: number;
157
+ max_cursor?: string;
158
+ }>): string;
159
+ getUserFavoriteList(data: OmitMethodType<{
160
+ methodType: 'userVideoList' | 'userFavoriteList' | 'userRecommendList';
161
+ sec_uid: string;
162
+ number?: number;
163
+ max_cursor?: string;
164
+ }>): string;
165
+ getUserRecommendList(data: OmitMethodType<{
166
+ methodType: 'userVideoList' | 'userFavoriteList' | 'userRecommendList';
167
+ sec_uid: string;
168
+ number?: number;
169
+ max_cursor?: string;
170
+ }>): string;
171
+ getUserProfile(data: OmitMethodType<{
172
+ methodType: 'userProfile';
173
+ sec_uid: string;
174
+ }>): string;
175
+ getSuggestWords(data: OmitMethodType<{
176
+ methodType: 'suggestWords';
177
+ query: string;
178
+ }>): string;
179
+ search(data: OmitMethodType<{
180
+ methodType: 'search';
181
+ query: string;
182
+ type?: 'general' | 'user' | 'video';
183
+ number?: number;
184
+ search_id?: string;
185
+ }>): string;
186
+ getDynamicEmojiList(): string;
187
+ getMusicInfo(data: OmitMethodType<{
188
+ methodType: 'musicInfo';
189
+ music_id: string;
190
+ }>): string;
191
+ getLiveRoomInfo(data: OmitMethodType<{
192
+ methodType: 'liveRoomInfo';
193
+ room_id: string;
194
+ web_rid: string;
195
+ }>): string;
196
+ getLoginQrcode(data: OmitMethodType<{
197
+ methodType: 'loginQrcode';
198
+ verify_fp: string;
199
+ }>): string;
200
+ getDanmakuList(data: OmitMethodType<{
201
+ methodType: 'danmakuList';
202
+ aweme_id: string;
203
+ start_time?: number;
204
+ end_time?: number;
205
+ duration: number;
206
+ }>): string;
207
+ };
208
+ fetcher: CompatFetcher<FetcherOf<"douyin", {
209
+ readonly parseWork: EndpointDef<import("zod").ZodObject<{
210
+ aweme_id: import("zod").ZodString;
211
+ }, import("zod/v4/core").$strip>, ParseWork>;
212
+ readonly videoWork: EndpointDef<import("zod").ZodObject<{
213
+ aweme_id: import("zod").ZodString;
214
+ }, import("zod/v4/core").$strip>, VideoWork>;
215
+ readonly imageAlbumWork: EndpointDef<import("zod").ZodObject<{
216
+ aweme_id: import("zod").ZodString;
217
+ }, import("zod/v4/core").$strip>, ImageAlbumWork>;
218
+ readonly slidesWork: EndpointDef<import("zod").ZodObject<{
219
+ aweme_id: import("zod").ZodString;
220
+ }, import("zod/v4/core").$strip>, SlidesWork>;
221
+ readonly textWork: EndpointDef<import("zod").ZodObject<{
222
+ aweme_id: import("zod").ZodString;
223
+ }, import("zod/v4/core").$strip>, TextWork_V0>;
224
+ readonly comments: EndpointDef<import("zod").ZodObject<{
225
+ aweme_id: import("zod").ZodString;
226
+ number: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
227
+ cursor: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
228
+ }, import("zod/v4/core").$strip>, Comments_V0>;
229
+ readonly commentReplies: EndpointDef<import("zod").ZodObject<{
230
+ aweme_id: import("zod").ZodString;
231
+ comment_id: import("zod").ZodString;
232
+ number: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
233
+ cursor: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
234
+ }, import("zod/v4/core").$strip>, CommentReplies_V0>;
235
+ readonly userProfile: EndpointDef<import("zod").ZodObject<{
236
+ sec_uid: import("zod").ZodString;
237
+ }, import("zod/v4/core").$strip>, UserProfile_V0>;
238
+ readonly userVideoList: EndpointDef<import("zod").ZodObject<{
239
+ sec_uid: import("zod").ZodString;
240
+ number: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
241
+ max_cursor: import("zod").ZodOptional<import("zod").ZodString>;
242
+ }, import("zod/v4/core").$strip>, UserVideoList_V0>;
243
+ readonly userFavoriteList: EndpointDef<import("zod").ZodObject<{
244
+ sec_uid: import("zod").ZodString;
245
+ number: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
246
+ max_cursor: import("zod").ZodOptional<import("zod").ZodString>;
247
+ }, import("zod/v4/core").$strip>, UserFavoriteList_V0>;
248
+ readonly userRecommendList: EndpointDef<import("zod").ZodObject<{
249
+ sec_uid: import("zod").ZodString;
250
+ number: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
251
+ max_cursor: import("zod").ZodOptional<import("zod").ZodString>;
252
+ }, import("zod/v4/core").$strip>, UserRecommendList_V0>;
253
+ readonly search: EndpointDef<import("zod").ZodObject<{
254
+ query: import("zod").ZodString;
255
+ type: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<{
256
+ general: "general";
257
+ user: "user";
258
+ video: "video";
259
+ }>>>;
260
+ number: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
261
+ search_id: import("zod").ZodOptional<import("zod").ZodString>;
262
+ }, import("zod/v4/core").$strip>, Search>;
263
+ readonly suggestWords: EndpointDef<import("zod").ZodObject<{
264
+ query: import("zod").ZodString;
265
+ }, import("zod/v4/core").$strip>, SuggestWords_V0>;
266
+ readonly musicInfo: EndpointDef<import("zod").ZodObject<{
267
+ music_id: import("zod").ZodString;
268
+ }, import("zod/v4/core").$strip>, MusicInfo_V0>;
269
+ readonly liveRoomInfo: EndpointDef<import("zod").ZodObject<{
270
+ web_rid: import("zod").ZodString;
271
+ room_id: import("zod").ZodOptional<import("zod").ZodString>;
272
+ }, import("zod/v4/core").$strip>, LiveRoomInfo_V0>;
273
+ readonly loginQrcode: EndpointDef<import("zod").ZodObject<{
274
+ verify_fp: import("zod").ZodString;
275
+ }, import("zod/v4/core").$strip>, any>;
276
+ readonly emojiList: EndpointDef<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, EmojiList_V0>;
277
+ readonly dynamicEmojiList: EndpointDef<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, DynamicEmojiList_V0>;
278
+ readonly danmakuList: EndpointDef<import("zod").ZodObject<{
279
+ aweme_id: import("zod").ZodString;
280
+ start_time: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
281
+ end_time: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
282
+ duration: import("zod").ZodCoercedNumber<unknown>;
283
+ }, import("zod/v4/core").$strip>, DanmakuList_V0>;
284
+ readonly guestUserInfo: EndpointDef<import("zod").ZodObject<{
285
+ unique_id: import("zod").ZodString;
286
+ }, import("zod/v4/core").$strip>, GuestUserInfo_V0>;
287
+ readonly guestMusicInfo: EndpointDef<import("zod").ZodObject<{
288
+ music_id: import("zod").ZodString;
289
+ }, import("zod/v4/core").$strip>, GuestMusicInfo_V0>;
290
+ readonly guestMusicAwemeList: EndpointDef<import("zod").ZodObject<{
291
+ music_id: import("zod").ZodString;
292
+ number: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
293
+ cursor: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
294
+ }, import("zod/v4/core").$strip>, GuestMusicAwemeList_V0>;
295
+ readonly emojiResourceMeta: EndpointDef<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, EmojiResourceMeta_V0>;
296
+ }>>;
297
+ };
298
+ bilibili: {
299
+ sign: {
300
+ wbi_sign: typeof wbi_sign;
301
+ av2bv: typeof av2bv;
302
+ bv2av: typeof bv2av;
303
+ };
304
+ danmaku: {
305
+ parseDmSegMobileReply: typeof parseDmSegMobileReply;
306
+ };
307
+ apiUrls: BilibiliAPI;
308
+ request: AmagiRequest;
309
+ login: LoginNamespace;
310
+ bilibiliApiUrls: {
311
+ getLoginStatus(): string;
312
+ getVideoInfo(data: OmitMethodType<{
313
+ methodType: 'videoInfo';
314
+ bvid: string;
315
+ }>): string;
316
+ getVideoStream(data: OmitMethodType<{
317
+ methodType: 'videoStream';
318
+ avid: number;
319
+ cid: number;
320
+ }>): string;
321
+ getComments(data: OmitMethodType<{
322
+ methodType: 'comments';
323
+ type: CommentType;
324
+ oid: string;
325
+ number?: number;
326
+ mode?: 0 | 1 | 2 | 3;
327
+ pagination_str?: string;
328
+ plat?: number;
329
+ seek_rpid?: string;
330
+ web_location?: string;
331
+ }>): string;
332
+ getCommentStatus(data: OmitMethodType<{
333
+ methodType: 'comments';
334
+ type: CommentType;
335
+ oid: string;
336
+ number?: number;
337
+ mode?: 0 | 1 | 2 | 3;
338
+ pagination_str?: string;
339
+ plat?: number;
340
+ seek_rpid?: string;
341
+ web_location?: string;
342
+ }>): string;
343
+ getCommentReplies(data: OmitMethodType<{
344
+ methodType: 'commentReplies';
345
+ type: CommentType;
346
+ oid: string;
347
+ root: string;
348
+ number?: number;
349
+ }>): string;
350
+ getEmojiList(): string;
351
+ getBangumiInfo(data: OmitMethodType<{
352
+ methodType: 'bangumiInfo';
353
+ season_id?: string;
354
+ ep_id?: string;
355
+ }>): string;
356
+ getBangumiStream(data: OmitMethodType<{
357
+ methodType: 'bangumiStream';
358
+ cid: number;
359
+ ep_id: string;
360
+ }>): string;
361
+ getUserDynamicList(data: OmitMethodType<{
362
+ methodType: 'userCard' | 'userDynamicList' | 'userLiveStatus' | 'uploaderTotalViews' | 'userSpaceInfo';
363
+ host_mid: number;
364
+ }>): string;
365
+ getDynamicDetail(data: OmitMethodType<{
366
+ methodType: 'dynamicDetail';
367
+ dynamic_id: string;
368
+ }>): string;
369
+ getUserCard(data: OmitMethodType<{
370
+ methodType: 'userCard' | 'userDynamicList' | 'userLiveStatus' | 'uploaderTotalViews' | 'userSpaceInfo';
371
+ host_mid: number;
372
+ }>): string;
373
+ getUserLiveStatus(data: OmitMethodType<{
374
+ methodType: 'userCard' | 'userDynamicList' | 'userLiveStatus' | 'uploaderTotalViews' | 'userSpaceInfo';
375
+ host_mid: number;
376
+ }>): string;
377
+ getLiveRoomInfo(data: OmitMethodType<{
378
+ methodType: 'liveRoomInfo' | 'liveRoomInit';
379
+ room_id: string;
380
+ }>): string;
381
+ getLiveRoomInit(data: OmitMethodType<{
382
+ methodType: 'liveRoomInfo' | 'liveRoomInit';
383
+ room_id: string;
384
+ }>): string;
385
+ getLoginQrcode(): string;
386
+ getQrcodeStatus(data: OmitMethodType<{
387
+ methodType: 'qrcodeStatus';
388
+ qrcode_key: string;
389
+ }>): string;
390
+ getUploaderTotalViews(data: OmitMethodType<{
391
+ methodType: 'userCard' | 'userDynamicList' | 'userLiveStatus' | 'uploaderTotalViews' | 'userSpaceInfo';
392
+ host_mid: number;
393
+ }>): string;
394
+ getArticleContent(data: OmitMethodType<{
395
+ methodType: 'articleContent';
396
+ id: string;
397
+ }>): string;
398
+ getArticleCards(data: OmitMethodType<{
399
+ methodType: 'articleCards';
400
+ ids: string[] | string;
401
+ }>): string;
402
+ getArticleInfo(data: OmitMethodType<{
403
+ methodType: 'articleContent';
404
+ id: string;
405
+ }>): string;
406
+ getArticleListInfo(data: OmitMethodType<{
407
+ methodType: 'articleInfo';
408
+ id: string;
409
+ }>): string;
410
+ getUserSpaceInfo(data: OmitMethodType<{
411
+ methodType: 'userCard' | 'userDynamicList' | 'userLiveStatus' | 'uploaderTotalViews' | 'userSpaceInfo';
412
+ host_mid: number;
413
+ }>): string;
414
+ getCaptchaFromVoucher(data: OmitMethodType<{
415
+ methodType: 'captchaFromVoucher';
416
+ csrf?: string;
417
+ v_voucher: string;
418
+ }>): {
419
+ Url: string;
420
+ Body: {
421
+ csrf?: string | undefined;
422
+ v_voucher: string;
423
+ };
424
+ };
425
+ validateCaptcha(data: OmitMethodType<{
426
+ methodType: 'validateCaptcha';
427
+ csrf?: string;
428
+ challenge: string;
429
+ token: string;
430
+ validate: string;
431
+ seccode: string;
432
+ }>): {
433
+ Url: string;
434
+ Body: {
435
+ challenge: string;
436
+ token: string;
437
+ validate: string;
438
+ seccode: string;
439
+ csrf?: string | undefined;
440
+ };
441
+ };
442
+ getVideoDanmaku(data: OmitMethodType<{
443
+ methodType: 'videoDanmaku';
444
+ cid: number;
445
+ segment_index?: number;
446
+ }>): string;
447
+ };
448
+ fetcher: CompatFetcher<FetcherOf<"bilibili", {
449
+ readonly videoInfo: EndpointDef<import("zod").ZodObject<{
450
+ bvid: import("zod").ZodString;
451
+ }, import("zod/v4/core").$strip>, VideoInfo_V0>;
452
+ readonly videoStream: EndpointDef<import("zod").ZodObject<{
453
+ avid: import("zod").ZodCoercedNumber<unknown>;
454
+ cid: import("zod").ZodCoercedNumber<unknown>;
455
+ }, import("zod/v4/core").$strip>, VideoStream_V0>;
456
+ readonly videoDanmaku: EndpointDef<import("zod").ZodObject<{
457
+ cid: import("zod").ZodCoercedNumber<unknown>;
458
+ segment_index: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>>;
459
+ }, import("zod/v4/core").$strip>, VideoDanmaku_V0>;
460
+ readonly comments: EndpointDef<import("zod").ZodObject<{
461
+ oid: import("zod").ZodString;
462
+ type: import("zod").ZodCoercedNumber<unknown>;
463
+ number: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>>;
464
+ mode: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
465
+ pagination_str: import("zod").ZodOptional<import("zod").ZodString>;
466
+ plat: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
467
+ seek_rpid: import("zod").ZodOptional<import("zod").ZodString>;
468
+ web_location: import("zod").ZodOptional<import("zod").ZodString>;
469
+ }, import("zod/v4/core").$strip>, Comments_V0$1>;
470
+ readonly commentReplies: EndpointDef<import("zod").ZodObject<{
471
+ oid: import("zod").ZodString;
472
+ type: import("zod").ZodCoercedNumber<unknown>;
473
+ root: import("zod").ZodString;
474
+ number: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>>;
475
+ }, import("zod/v4/core").$strip>, CommentReplies_V0$1>;
476
+ readonly userCard: EndpointDef<import("zod").ZodObject<{
477
+ host_mid: import("zod").ZodCoercedNumber<unknown>;
478
+ }, import("zod/v4/core").$strip>, UserCard_V0>;
479
+ readonly userDynamicList: EndpointDef<import("zod").ZodObject<{
480
+ host_mid: import("zod").ZodCoercedNumber<unknown>;
481
+ }, import("zod/v4/core").$strip>, UserDynamicList_V0>;
482
+ readonly userLiveStatus: EndpointDef<import("zod").ZodObject<{
483
+ host_mid: import("zod").ZodCoercedNumber<unknown>;
484
+ }, import("zod/v4/core").$strip>, UserLiveStatus_V0>;
485
+ readonly userSpaceInfo: EndpointDef<import("zod").ZodObject<{
486
+ host_mid: import("zod").ZodCoercedNumber<unknown>;
487
+ }, import("zod/v4/core").$strip>, UserSpaceInfo_V0>;
488
+ readonly uploaderTotalViews: EndpointDef<import("zod").ZodObject<{
489
+ host_mid: import("zod").ZodCoercedNumber<unknown>;
490
+ }, import("zod/v4/core").$strip>, UploaderTotalViews_V0>;
491
+ readonly dynamicDetail: EndpointDef<import("zod").ZodObject<{
492
+ dynamic_id: import("zod").ZodString;
493
+ }, import("zod/v4/core").$strip>, DynamicDetail>;
494
+ readonly bangumiInfo: EndpointDef<import("zod").ZodObject<{
495
+ ep_id: import("zod").ZodOptional<import("zod").ZodString>;
496
+ season_id: import("zod").ZodOptional<import("zod").ZodString>;
497
+ }, import("zod/v4/core").$strip>, BangumiInfo_V0>;
498
+ readonly bangumiStream: EndpointDef<import("zod").ZodObject<{
499
+ cid: import("zod").ZodCoercedNumber<unknown>;
500
+ ep_id: import("zod").ZodString;
501
+ }, import("zod/v4/core").$strip>, BangumiStream_V0>;
502
+ readonly liveRoomInfo: EndpointDef<import("zod").ZodObject<{
503
+ room_id: import("zod").ZodString;
504
+ }, import("zod/v4/core").$strip>, LiveRoomInfo_V0$1>;
505
+ readonly liveRoomInit: EndpointDef<import("zod").ZodObject<{
506
+ room_id: import("zod").ZodString;
507
+ }, import("zod/v4/core").$strip>, LiveRoomInit_V0>;
508
+ readonly articleContent: EndpointDef<import("zod").ZodObject<{
509
+ id: import("zod").ZodString;
510
+ }, import("zod/v4/core").$strip>, ArticleContent_V0>;
511
+ readonly articleCards: EndpointDef<import("zod").ZodObject<{
512
+ ids: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodString]>;
513
+ }, import("zod/v4/core").$strip>, ArticleCards_V0>;
514
+ readonly articleInfo: EndpointDef<import("zod").ZodObject<{
515
+ id: import("zod").ZodString;
516
+ }, import("zod/v4/core").$strip>, ArticleInfo_V0>;
517
+ readonly articleListInfo: EndpointDef<import("zod").ZodObject<{
518
+ id: import("zod").ZodString;
519
+ }, import("zod/v4/core").$strip>, ArticleListInfo_V0>;
520
+ readonly loginStatus: EndpointDef<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, LoginStatus_V0>;
521
+ readonly loginQrcode: EndpointDef<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, LoginQrcode_V0>;
522
+ readonly qrcodeStatus: EndpointDef<import("zod").ZodObject<{
523
+ qrcode_key: import("zod").ZodString;
524
+ }, import("zod/v4/core").$strip>, QrcodeStatus_V0>;
525
+ readonly captchaFromVoucher: EndpointDef<import("zod").ZodObject<{
526
+ csrf: import("zod").ZodOptional<import("zod").ZodString>;
527
+ v_voucher: import("zod").ZodString;
528
+ }, import("zod/v4/core").$strip>, any>;
529
+ readonly validateCaptcha: EndpointDef<import("zod").ZodObject<{
530
+ csrf: import("zod").ZodOptional<import("zod").ZodString>;
531
+ challenge: import("zod").ZodString;
532
+ token: import("zod").ZodString;
533
+ validate: import("zod").ZodString;
534
+ seccode: import("zod").ZodString;
535
+ }, import("zod/v4/core").$strip>, any>;
536
+ readonly avToBv: EndpointDef<import("zod").ZodObject<{
537
+ avid: import("zod").ZodCoercedNumber<unknown>;
538
+ }, import("zod/v4/core").$strip>, AvToBvData>;
539
+ readonly bvToAv: EndpointDef<import("zod").ZodObject<{
540
+ bvid: import("zod").ZodString;
541
+ }, import("zod/v4/core").$strip>, BvToAvData>;
542
+ readonly emojiList: EndpointDef<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, EmojiList_V0$1>;
543
+ }>>;
544
+ };
545
+ kuaishou: {
546
+ sign: typeof kuaishouSign;
547
+ apiUrls: {
548
+ videoWorkFull<T extends VideoInfoParams>(data: T): KuaishouH5Request;
549
+ videoWork<T extends VideoInfoParams>(data: T): KuaishouH5Request;
550
+ comments<T extends CommentParams>(data: T): KuaishouH5Request;
551
+ userInfoById<T extends UserProfileParams$1>(data: T): KuaishouLiveApiRequest$1;
552
+ userSensitiveInfo<T extends UserProfileParams$1>(data: T): KuaishouLiveApiRequest$1;
553
+ profilePublic<T extends UserProfileParams$1 | UserWorkListParams>(data: T): KuaishouLiveApiRequest$1;
554
+ userWorkList<T extends UserWorkListParams>(data: T): {
555
+ url: string;
556
+ method: 'GET' | 'POST';
557
+ requiresSign?: boolean;
558
+ signPath?: string;
559
+ body?: Record<string, unknown>;
560
+ type: string;
561
+ };
562
+ profilePrivate<T extends UserProfileParams$1>(data: T): KuaishouLiveApiRequest$1;
563
+ profileLiked<T extends UserProfileParams$1>(data: T): KuaishouLiveApiRequest$1;
564
+ profileInterestList<T extends UserProfileParams$1>(data: T): KuaishouLiveApiRequest$1;
565
+ playbackList<T extends UserProfileParams$1>(data: T): KuaishouLiveApiRequest$1;
566
+ interestMaskList(): KuaishouLiveApiRequest$1;
567
+ categoryConfig(): KuaishouLiveApiRequest$1;
568
+ categoryData(): KuaishouLiveApiRequest$1;
569
+ categoryClassify(): KuaishouLiveApiRequest$1;
570
+ liveDetail<T extends LiveRoomInfoParams$1>(data: T, authToken?: string): KuaishouLiveApiRequest$1;
571
+ userFollowCount(): KuaishouLiveApiRequest$1;
572
+ liveReco(gameId?: number | string): KuaishouLiveApiRequest$1;
573
+ liveWebsocketInfo(liveStreamId: string): KuaishouLiveApiRequest$1;
574
+ liveGiftList(liveStreamId: string): KuaishouLiveApiRequest$1;
575
+ emojiList(): KuaishouGraphqlRequest$1;
576
+ danmaku<T extends DanmakuParams>(data: T): KuaishouGraphqlRequest$1;
577
+ };
578
+ request: AmagiRequest;
579
+ kuaishouApiUrls: {
580
+ videoWork<T extends OmitMethodType<{
581
+ methodType: 'videoWork';
582
+ photoId: string;
583
+ }>>(data: T): KuaishouGraphqlRequest;
584
+ comments<T extends OmitMethodType<{
585
+ methodType: 'comments';
586
+ photoId: string;
587
+ }>>(data: T): KuaishouGraphqlRequest;
588
+ userInfoById<T extends OmitMethodType<{
589
+ methodType: 'userProfile';
590
+ principalId: string;
591
+ }>>(data: T): KuaishouLiveApiRequest;
592
+ userSensitiveInfo<T extends OmitMethodType<{
593
+ methodType: 'userProfile';
594
+ principalId: string;
595
+ }>>(data: T): KuaishouLiveApiRequest;
596
+ profilePublic<T extends OmitMethodType<{
597
+ methodType: 'userProfile';
598
+ principalId: string;
599
+ }> | OmitMethodType<{
600
+ methodType: 'userWorkList';
601
+ principalId: string;
602
+ pcursor?: string;
603
+ count?: number;
604
+ }>>(data: T): KuaishouLiveApiRequest;
605
+ userWorkList<T extends OmitMethodType<{
606
+ methodType: 'userWorkList';
607
+ principalId: string;
608
+ pcursor?: string;
609
+ count?: number;
610
+ }>>(data: T): {
611
+ url: string;
612
+ method: 'GET' | 'POST';
613
+ requiresSign?: boolean;
614
+ signPath?: string;
615
+ body?: Record<string, unknown>;
616
+ type: string;
617
+ };
618
+ profilePrivate<T extends OmitMethodType<{
619
+ methodType: 'userProfile';
620
+ principalId: string;
621
+ }>>(data: T): KuaishouLiveApiRequest;
622
+ profileLiked<T extends OmitMethodType<{
623
+ methodType: 'userProfile';
624
+ principalId: string;
625
+ }>>(data: T): KuaishouLiveApiRequest;
626
+ profileInterestList<T extends OmitMethodType<{
627
+ methodType: 'userProfile';
628
+ principalId: string;
629
+ }>>(data: T): KuaishouLiveApiRequest;
630
+ playbackList<T extends OmitMethodType<{
631
+ methodType: 'userProfile';
632
+ principalId: string;
633
+ }>>(data: T): KuaishouLiveApiRequest;
634
+ interestMaskList(): KuaishouLiveApiRequest;
635
+ categoryConfig(): KuaishouLiveApiRequest;
636
+ categoryData(): KuaishouLiveApiRequest;
637
+ categoryClassify(): KuaishouLiveApiRequest;
638
+ liveDetail<T extends OmitMethodType<{
639
+ methodType: 'liveRoomInfo';
640
+ principalId: string;
641
+ }>>(data: T, authToken?: string): KuaishouLiveApiRequest;
642
+ userFollowCount(): KuaishouLiveApiRequest;
643
+ liveReco(gameId?: number | string): KuaishouLiveApiRequest;
644
+ liveWebsocketInfo(liveStreamId: string): KuaishouLiveApiRequest;
645
+ liveGiftList(liveStreamId: string): KuaishouLiveApiRequest;
646
+ emojiList(): KuaishouGraphqlRequest;
647
+ };
648
+ fetcher: CompatFetcher<FetcherOf<"kuaishou", {
649
+ readonly videoWork: EndpointDef<import("zod").ZodObject<{
650
+ photoId: import("zod").ZodString;
651
+ }, import("zod/v4/core").$strip>, VideoWork_V0>;
652
+ readonly videoWorkFull: EndpointDef<import("zod").ZodObject<{
653
+ photoId: import("zod").ZodString;
654
+ }, import("zod/v4/core").$strip>, any>;
655
+ readonly comments: EndpointDef<import("zod").ZodObject<{
656
+ photoId: import("zod").ZodString;
657
+ number: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
658
+ }, import("zod/v4/core").$strip>, Comments_V0$2>;
659
+ readonly danmakuList: EndpointDef<import("zod").ZodObject<{
660
+ photoId: import("zod").ZodString;
661
+ from: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
662
+ to: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
663
+ duration: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
664
+ }, import("zod/v4/core").$strip>, DanmakuList_V0$1>;
665
+ readonly userProfile: EndpointDef<import("zod").ZodObject<{
666
+ principalId: import("zod").ZodString;
667
+ }, import("zod/v4/core").$strip>, any>;
668
+ readonly userWorkList: EndpointDef<import("zod").ZodObject<{
669
+ principalId: import("zod").ZodString;
670
+ number: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
671
+ }, import("zod/v4/core").$strip>, any>;
672
+ readonly liveRoomInfo: EndpointDef<import("zod").ZodObject<{
673
+ principalId: import("zod").ZodString;
674
+ }, import("zod/v4/core").$strip>, any>;
675
+ readonly emojiList: EndpointDef<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, EmojiList_V0$2>;
676
+ }>>;
677
+ };
678
+ xiaohongshu: {
679
+ sign: typeof xiaohongshuSign;
680
+ apiUrls: {
681
+ homeFeed: typeof homeFeed;
682
+ noteDetail: typeof noteDetail;
683
+ noteComments: typeof noteComments;
684
+ userProfile: typeof userProfile;
685
+ userNoteList: typeof userNoteList;
686
+ emojiList: typeof emojiList;
687
+ searchNotes: typeof searchNotes;
688
+ };
689
+ request: AmagiRequest;
690
+ xiaohongshuApiUrls: {
691
+ homeFeed(data?: XiaohongshuMethodOptionsWithoutMethodType['HomeFeedParams']): {
692
+ apiPath: string;
693
+ Url: string;
694
+ Body: {
695
+ cursor_score: string;
696
+ num: number;
697
+ refresh_type: number;
698
+ note_index: number;
699
+ category: string;
700
+ search_key: string;
701
+ image_formats: string[];
702
+ };
703
+ };
704
+ noteDetail(data: XiaohongshuMethodOptionsWithoutMethodType['NoteParams']): {
705
+ apiPath: string;
706
+ Url: string;
707
+ Body: {
708
+ source_note_id: string;
709
+ image_formats: string[];
710
+ extra: {
711
+ need_body_topic: string;
712
+ };
713
+ xsec_source: string;
714
+ xsec_token: string;
715
+ };
716
+ };
717
+ noteComments(data: XiaohongshuMethodOptionsWithoutMethodType['CommentParams']): {
718
+ apiPath: string;
719
+ Url: string;
720
+ };
721
+ userProfile(data: XiaohongshuMethodOptionsWithoutMethodType['UserParams']): {
722
+ apiPath: string;
723
+ Url: string;
724
+ };
725
+ userNoteList(data: XiaohongshuMethodOptionsWithoutMethodType['UserNoteParams']): {
726
+ apiPath: string;
727
+ Url: string;
728
+ };
729
+ emojiList(_data: XiaohongshuMethodOptionsWithoutMethodType['EmojiListParams']): {
730
+ apiPath: string;
731
+ Url: string;
732
+ };
733
+ searchNotes(data: XiaohongshuMethodOptionsWithoutMethodType['SearchNoteParams']): {
734
+ apiPath: string;
735
+ Body: {
736
+ keyword: string;
737
+ page: number;
738
+ page_size: number;
739
+ sort: SearchSortType;
740
+ note_type: SearchNoteType;
741
+ search_id: string;
742
+ image_formats: string[];
743
+ };
744
+ Url: string;
745
+ };
746
+ };
747
+ fetcher: CompatFetcher<FetcherOf<"xiaohongshu", {
748
+ readonly homeFeed: EndpointDef<import("zod").ZodObject<{
749
+ cursor_score: import("zod").ZodOptional<import("zod").ZodString>;
750
+ num: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
751
+ refresh_type: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
752
+ note_index: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
753
+ category: import("zod").ZodOptional<import("zod").ZodString>;
754
+ search_key: import("zod").ZodOptional<import("zod").ZodString>;
755
+ }, import("zod/v4/core").$strip>, HomeFeed_V0>;
756
+ readonly noteDetail: EndpointDef<import("zod").ZodObject<{
757
+ note_id: import("zod").ZodString;
758
+ xsec_token: import("zod").ZodString;
759
+ }, import("zod/v4/core").$strip>, NoteDetail_V0>;
760
+ readonly noteComments: EndpointDef<import("zod").ZodObject<{
761
+ note_id: import("zod").ZodString;
762
+ xsec_token: import("zod").ZodString;
763
+ number: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
764
+ }, import("zod/v4/core").$strip>, any>;
765
+ readonly userProfile: EndpointDef<import("zod").ZodObject<{
766
+ user_id: import("zod").ZodString;
767
+ }, import("zod/v4/core").$strip>, UserProfile_V0$1>;
768
+ readonly userNoteList: EndpointDef<import("zod").ZodObject<{
769
+ user_id: import("zod").ZodString;
770
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
771
+ num: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
772
+ }, import("zod/v4/core").$strip>, any>;
773
+ readonly emojiList: EndpointDef<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, EmojiList_V0$3>;
774
+ readonly searchNotes: EndpointDef<import("zod").ZodObject<{
775
+ keyword: import("zod").ZodString;
776
+ page: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
777
+ page_size: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
778
+ }, import("zod/v4/core").$strip>, SearchNotes_V0>;
779
+ }>>;
780
+ };
781
+ };
782
+ /** 兼容版静态 fetcher */
783
+ declare const compatDouyinFetcher: CompatFetcher<{
784
+ checkPassportQrcode: typeof checkPassportQrcode;
785
+ requestPassportQrcode: typeof requestPassportQrcode;
786
+ sendPassportVerifyCode: typeof sendPassportVerifyCode;
787
+ validatePassportVerifyCode: typeof validatePassportVerifyCode;
788
+ fetchCommentReplies: <TData = CommentReplies_V0>(options: {
789
+ aweme_id: string;
790
+ comment_id: string;
791
+ number?: unknown;
792
+ cursor?: unknown;
793
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
794
+ fetchDanmakuList: <TData = DanmakuList_V0>(options: {
795
+ aweme_id: string;
796
+ start_time?: unknown;
797
+ end_time?: unknown;
798
+ duration: unknown;
799
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
800
+ fetchDynamicEmojiList: <TData = DynamicEmojiList_V0>(options?: Record<string, never> | undefined, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
801
+ fetchEmojiList: <TData = EmojiList_V0>(options?: Record<string, never> | undefined, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
802
+ fetchEmojiResourceMeta: <TData = EmojiResourceMeta_V0>(options?: Record<string, never> | undefined, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
803
+ fetchGuestMusicAwemeList: <TData = GuestMusicAwemeList_V0>(options: {
804
+ music_id: string;
805
+ number?: unknown;
806
+ cursor?: unknown;
807
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
808
+ fetchGuestMusicInfo: <TData = GuestMusicInfo_V0>(options: {
809
+ music_id: string;
810
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
811
+ fetchGuestUserInfo: <TData = GuestUserInfo_V0>(options: {
812
+ unique_id: string;
813
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
814
+ fetchImageAlbumWork: <TData = ImageAlbumWork>(options: {
815
+ aweme_id: string;
816
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
817
+ fetchLiveRoomInfo: <TData = LiveRoomInfo_V0>(options: {
818
+ web_rid: string;
819
+ room_id?: string | undefined;
820
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
821
+ fetchMusicInfo: <TData = MusicInfo_V0>(options: {
822
+ music_id: string;
823
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
824
+ fetchSlidesWork: <TData = SlidesWork>(options: {
825
+ aweme_id: string;
826
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
827
+ fetchSuggestWords: <TData = SuggestWords_V0>(options: {
828
+ query: string;
829
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
830
+ fetchTextWork: <TData = TextWork_V0>(options: {
831
+ aweme_id: string;
832
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
833
+ fetchUserFavoriteList: <TData = UserFavoriteList_V0>(options: {
834
+ sec_uid: string;
835
+ number?: unknown;
836
+ max_cursor?: string | undefined;
837
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
838
+ fetchUserProfile: <TData = UserProfile_V0>(options: {
839
+ sec_uid: string;
840
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
841
+ fetchUserRecommendList: <TData = UserRecommendList_V0>(options: {
842
+ sec_uid: string;
843
+ number?: unknown;
844
+ max_cursor?: string | undefined;
845
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
846
+ fetchUserVideoList: <TData = UserVideoList_V0>(options: {
847
+ sec_uid: string;
848
+ number?: unknown;
849
+ max_cursor?: string | undefined;
850
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
851
+ fetchVideoWork: <TData = VideoWork>(options: {
852
+ aweme_id: string;
853
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
854
+ fetchWorkComments: <TData = Comments_V0>(options: {
855
+ aweme_id: string;
856
+ number?: unknown;
857
+ cursor?: unknown;
858
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
859
+ parseWork: <TData = ParseWork>(options: {
860
+ aweme_id: string;
861
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
862
+ requestLoginQrcode: <TData = any>(options: {
863
+ verify_fp: string;
864
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
865
+ searchContent: <TData = Search>(options: {
866
+ query: string;
867
+ type?: "general" | "user" | "video" | undefined;
868
+ number?: unknown;
869
+ search_id?: string | undefined;
870
+ }, cookie?: string, requestConfig?: RequestConfig$1) => Promise<AmagiResult<TData>>;
871
+ }>;
872
+ declare const compatBilibiliFetcher: CompatFetcher<StaticFetcherOf<"bilibili", {
873
+ readonly videoInfo: EndpointDef<import("zod").ZodObject<{
874
+ bvid: import("zod").ZodString;
875
+ }, import("zod/v4/core").$strip>, VideoInfo_V0>;
876
+ readonly videoStream: EndpointDef<import("zod").ZodObject<{
877
+ avid: import("zod").ZodCoercedNumber<unknown>;
878
+ cid: import("zod").ZodCoercedNumber<unknown>;
879
+ }, import("zod/v4/core").$strip>, VideoStream_V0>;
880
+ readonly videoDanmaku: EndpointDef<import("zod").ZodObject<{
881
+ cid: import("zod").ZodCoercedNumber<unknown>;
882
+ segment_index: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>>;
883
+ }, import("zod/v4/core").$strip>, VideoDanmaku_V0>;
884
+ readonly comments: EndpointDef<import("zod").ZodObject<{
885
+ oid: import("zod").ZodString;
886
+ type: import("zod").ZodCoercedNumber<unknown>;
887
+ number: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>>;
888
+ mode: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
889
+ pagination_str: import("zod").ZodOptional<import("zod").ZodString>;
890
+ plat: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
891
+ seek_rpid: import("zod").ZodOptional<import("zod").ZodString>;
892
+ web_location: import("zod").ZodOptional<import("zod").ZodString>;
893
+ }, import("zod/v4/core").$strip>, Comments_V0$1>;
894
+ readonly commentReplies: EndpointDef<import("zod").ZodObject<{
895
+ oid: import("zod").ZodString;
896
+ type: import("zod").ZodCoercedNumber<unknown>;
897
+ root: import("zod").ZodString;
898
+ number: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>>;
899
+ }, import("zod/v4/core").$strip>, CommentReplies_V0$1>;
900
+ readonly userCard: EndpointDef<import("zod").ZodObject<{
901
+ host_mid: import("zod").ZodCoercedNumber<unknown>;
902
+ }, import("zod/v4/core").$strip>, UserCard_V0>;
903
+ readonly userDynamicList: EndpointDef<import("zod").ZodObject<{
904
+ host_mid: import("zod").ZodCoercedNumber<unknown>;
905
+ }, import("zod/v4/core").$strip>, UserDynamicList_V0>;
906
+ readonly userLiveStatus: EndpointDef<import("zod").ZodObject<{
907
+ host_mid: import("zod").ZodCoercedNumber<unknown>;
908
+ }, import("zod/v4/core").$strip>, UserLiveStatus_V0>;
909
+ readonly userSpaceInfo: EndpointDef<import("zod").ZodObject<{
910
+ host_mid: import("zod").ZodCoercedNumber<unknown>;
911
+ }, import("zod/v4/core").$strip>, UserSpaceInfo_V0>;
912
+ readonly uploaderTotalViews: EndpointDef<import("zod").ZodObject<{
913
+ host_mid: import("zod").ZodCoercedNumber<unknown>;
914
+ }, import("zod/v4/core").$strip>, UploaderTotalViews_V0>;
915
+ readonly dynamicDetail: EndpointDef<import("zod").ZodObject<{
916
+ dynamic_id: import("zod").ZodString;
917
+ }, import("zod/v4/core").$strip>, DynamicDetail>;
918
+ readonly bangumiInfo: EndpointDef<import("zod").ZodObject<{
919
+ ep_id: import("zod").ZodOptional<import("zod").ZodString>;
920
+ season_id: import("zod").ZodOptional<import("zod").ZodString>;
921
+ }, import("zod/v4/core").$strip>, BangumiInfo_V0>;
922
+ readonly bangumiStream: EndpointDef<import("zod").ZodObject<{
923
+ cid: import("zod").ZodCoercedNumber<unknown>;
924
+ ep_id: import("zod").ZodString;
925
+ }, import("zod/v4/core").$strip>, BangumiStream_V0>;
926
+ readonly liveRoomInfo: EndpointDef<import("zod").ZodObject<{
927
+ room_id: import("zod").ZodString;
928
+ }, import("zod/v4/core").$strip>, LiveRoomInfo_V0$1>;
929
+ readonly liveRoomInit: EndpointDef<import("zod").ZodObject<{
930
+ room_id: import("zod").ZodString;
931
+ }, import("zod/v4/core").$strip>, LiveRoomInit_V0>;
932
+ readonly articleContent: EndpointDef<import("zod").ZodObject<{
933
+ id: import("zod").ZodString;
934
+ }, import("zod/v4/core").$strip>, ArticleContent_V0>;
935
+ readonly articleCards: EndpointDef<import("zod").ZodObject<{
936
+ ids: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodString]>;
937
+ }, import("zod/v4/core").$strip>, ArticleCards_V0>;
938
+ readonly articleInfo: EndpointDef<import("zod").ZodObject<{
939
+ id: import("zod").ZodString;
940
+ }, import("zod/v4/core").$strip>, ArticleInfo_V0>;
941
+ readonly articleListInfo: EndpointDef<import("zod").ZodObject<{
942
+ id: import("zod").ZodString;
943
+ }, import("zod/v4/core").$strip>, ArticleListInfo_V0>;
944
+ readonly loginStatus: EndpointDef<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, LoginStatus_V0>;
945
+ readonly loginQrcode: EndpointDef<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, LoginQrcode_V0>;
946
+ readonly qrcodeStatus: EndpointDef<import("zod").ZodObject<{
947
+ qrcode_key: import("zod").ZodString;
948
+ }, import("zod/v4/core").$strip>, QrcodeStatus_V0>;
949
+ readonly captchaFromVoucher: EndpointDef<import("zod").ZodObject<{
950
+ csrf: import("zod").ZodOptional<import("zod").ZodString>;
951
+ v_voucher: import("zod").ZodString;
952
+ }, import("zod/v4/core").$strip>, any>;
953
+ readonly validateCaptcha: EndpointDef<import("zod").ZodObject<{
954
+ csrf: import("zod").ZodOptional<import("zod").ZodString>;
955
+ challenge: import("zod").ZodString;
956
+ token: import("zod").ZodString;
957
+ validate: import("zod").ZodString;
958
+ seccode: import("zod").ZodString;
959
+ }, import("zod/v4/core").$strip>, any>;
960
+ readonly avToBv: EndpointDef<import("zod").ZodObject<{
961
+ avid: import("zod").ZodCoercedNumber<unknown>;
962
+ }, import("zod/v4/core").$strip>, AvToBvData>;
963
+ readonly bvToAv: EndpointDef<import("zod").ZodObject<{
964
+ bvid: import("zod").ZodString;
965
+ }, import("zod/v4/core").$strip>, BvToAvData>;
966
+ readonly emojiList: EndpointDef<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, EmojiList_V0$1>;
967
+ }>>;
968
+ declare const compatKuaishouFetcher: CompatFetcher<StaticFetcherOf<"kuaishou", {
969
+ readonly videoWork: EndpointDef<import("zod").ZodObject<{
970
+ photoId: import("zod").ZodString;
971
+ }, import("zod/v4/core").$strip>, VideoWork_V0>;
972
+ readonly videoWorkFull: EndpointDef<import("zod").ZodObject<{
973
+ photoId: import("zod").ZodString;
974
+ }, import("zod/v4/core").$strip>, any>;
975
+ readonly comments: EndpointDef<import("zod").ZodObject<{
976
+ photoId: import("zod").ZodString;
977
+ number: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
978
+ }, import("zod/v4/core").$strip>, Comments_V0$2>;
979
+ readonly danmakuList: EndpointDef<import("zod").ZodObject<{
980
+ photoId: import("zod").ZodString;
981
+ from: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
982
+ to: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
983
+ duration: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
984
+ }, import("zod/v4/core").$strip>, DanmakuList_V0$1>;
985
+ readonly userProfile: EndpointDef<import("zod").ZodObject<{
986
+ principalId: import("zod").ZodString;
987
+ }, import("zod/v4/core").$strip>, any>;
988
+ readonly userWorkList: EndpointDef<import("zod").ZodObject<{
989
+ principalId: import("zod").ZodString;
990
+ number: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
991
+ }, import("zod/v4/core").$strip>, any>;
992
+ readonly liveRoomInfo: EndpointDef<import("zod").ZodObject<{
993
+ principalId: import("zod").ZodString;
994
+ }, import("zod/v4/core").$strip>, any>;
995
+ readonly emojiList: EndpointDef<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, EmojiList_V0$2>;
996
+ }>>;
997
+ declare const compatXiaohongshuFetcher: CompatFetcher<StaticFetcherOf<"xiaohongshu", {
998
+ readonly homeFeed: EndpointDef<import("zod").ZodObject<{
999
+ cursor_score: import("zod").ZodOptional<import("zod").ZodString>;
1000
+ num: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
1001
+ refresh_type: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
1002
+ note_index: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
1003
+ category: import("zod").ZodOptional<import("zod").ZodString>;
1004
+ search_key: import("zod").ZodOptional<import("zod").ZodString>;
1005
+ }, import("zod/v4/core").$strip>, HomeFeed_V0>;
1006
+ readonly noteDetail: EndpointDef<import("zod").ZodObject<{
1007
+ note_id: import("zod").ZodString;
1008
+ xsec_token: import("zod").ZodString;
1009
+ }, import("zod/v4/core").$strip>, NoteDetail_V0>;
1010
+ readonly noteComments: EndpointDef<import("zod").ZodObject<{
1011
+ note_id: import("zod").ZodString;
1012
+ xsec_token: import("zod").ZodString;
1013
+ number: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
1014
+ }, import("zod/v4/core").$strip>, any>;
1015
+ readonly userProfile: EndpointDef<import("zod").ZodObject<{
1016
+ user_id: import("zod").ZodString;
1017
+ }, import("zod/v4/core").$strip>, UserProfile_V0$1>;
1018
+ readonly userNoteList: EndpointDef<import("zod").ZodObject<{
1019
+ user_id: import("zod").ZodString;
1020
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
1021
+ num: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
1022
+ }, import("zod/v4/core").$strip>, any>;
1023
+ readonly emojiList: EndpointDef<import("zod").ZodObject<{}, import("zod/v4/core").$strip>, EmojiList_V0$3>;
1024
+ readonly searchNotes: EndpointDef<import("zod").ZodObject<{
1025
+ keyword: import("zod").ZodString;
1026
+ page: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
1027
+ page_size: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
1028
+ }, import("zod/v4/core").$strip>, SearchNotes_V0>;
1029
+ }>>;
1030
+ /** 兼容版 bound 工厂(返回的 fetcher 已包层) */
1031
+ declare const compatCreateBoundDouyinFetcher: (cookie: string, requestConfig?: Options['request']) => CompatFetcher<ReturnType<typeof createBoundDouyinFetcher>>;
1032
+ declare const compatCreateBoundBilibiliFetcher: (cookie: string, requestConfig?: Options['request']) => CompatFetcher<ReturnType<typeof createBoundBilibiliFetcher>>;
1033
+ declare const compatCreateBoundKuaishouFetcher: (cookie: string, requestConfig?: Options['request']) => CompatFetcher<ReturnType<typeof createBoundKuaishouFetcher>>;
1034
+ declare const compatCreateBoundXiaohongshuFetcher: (cookie: string, requestConfig?: Options['request']) => CompatFetcher<ReturnType<typeof createBoundXiaohongshuFetcher>>;
1035
+ declare function CreateAmagiCompatApp(this: unknown, options?: Options): ReturnType<typeof compatCreateAmagiClient>;
1036
+ declare namespace CreateAmagiCompatApp {
1037
+ var douyin: {
1038
+ sign: typeof douyinSign;
1039
+ passport: typeof index_d_exports;
1040
+ };
1041
+ var bilibili: {
1042
+ sign: {
1043
+ wbi_sign: typeof wbi_sign;
1044
+ av2bv: typeof av2bv;
1045
+ bv2av: typeof bv2av;
1046
+ };
1047
+ danmaku: {
1048
+ parseDmSegMobileReply: typeof parseDmSegMobileReply;
1049
+ };
1050
+ };
1051
+ var kuaishou: {
1052
+ sign: typeof kuaishouSign;
1053
+ };
1054
+ var xiaohongshu: {
1055
+ sign: typeof xiaohongshuSign;
1056
+ };
1057
+ var events: {
1058
+ emit<K extends AmagiEventType>(event: K, data: AmagiEventMap[K]): boolean;
1059
+ on<K extends AmagiEventType>(event: K, listener: (data: AmagiEventMap[K]) => void): /*elided*/ any;
1060
+ once<K extends AmagiEventType>(event: K, listener: (data: AmagiEventMap[K]) => void): /*elided*/ any;
1061
+ off<K extends AmagiEventType>(event: K, listener: (data: AmagiEventMap[K]) => void): /*elided*/ any;
1062
+ [EventEmitter.captureRejectionSymbol]?<K>(error: Error, event: string | symbol, ...args: any[]): void;
1063
+ addListener<K>(eventName: string | symbol, listener: (...args: any[]) => void): /*elided*/ any;
1064
+ removeListener<K>(eventName: string | symbol, listener: (...args: any[]) => void): /*elided*/ any;
1065
+ removeAllListeners(eventName?: string | symbol | undefined): /*elided*/ any;
1066
+ setMaxListeners(n: number): /*elided*/ any;
1067
+ getMaxListeners(): number;
1068
+ listeners<K>(eventName: string | symbol): Function[];
1069
+ rawListeners<K>(eventName: string | symbol): Function[];
1070
+ listenerCount<K>(eventName: string | symbol, listener?: Function | undefined): number;
1071
+ prependListener<K>(eventName: string | symbol, listener: (...args: any[]) => void): /*elided*/ any;
1072
+ prependOnceListener<K>(eventName: string | symbol, listener: (...args: any[]) => void): /*elided*/ any;
1073
+ eventNames(): (string | symbol)[];
1074
+ };
1075
+ var on: <K extends AmagiEventType>(event: K, listener: (data: AmagiEventMap[K]) => void) => {
1076
+ emit<K_1 extends AmagiEventType>(event: K_1, data: AmagiEventMap[K_1]): boolean;
1077
+ on<K extends AmagiEventType>(event: K, listener: (data: AmagiEventMap[K]) => void): /*elided*/ any;
1078
+ once<K_1 extends AmagiEventType>(event: K_1, listener: (data: AmagiEventMap[K_1]) => void): /*elided*/ any;
1079
+ off<K_1 extends AmagiEventType>(event: K_1, listener: (data: AmagiEventMap[K_1]) => void): /*elided*/ any;
1080
+ [EventEmitter.captureRejectionSymbol]?<K_1>(error: Error, event: string | symbol, ...args: any[]): void;
1081
+ addListener<K_1>(eventName: string | symbol, listener: (...args: any[]) => void): /*elided*/ any;
1082
+ removeListener<K_1>(eventName: string | symbol, listener: (...args: any[]) => void): /*elided*/ any;
1083
+ removeAllListeners(eventName?: string | symbol | undefined): /*elided*/ any;
1084
+ setMaxListeners(n: number): /*elided*/ any;
1085
+ getMaxListeners(): number;
1086
+ listeners<K_1>(eventName: string | symbol): Function[];
1087
+ rawListeners<K_1>(eventName: string | symbol): Function[];
1088
+ listenerCount<K_1>(eventName: string | symbol, listener?: Function | undefined): number;
1089
+ prependListener<K_1>(eventName: string | symbol, listener: (...args: any[]) => void): /*elided*/ any;
1090
+ prependOnceListener<K_1>(eventName: string | symbol, listener: (...args: any[]) => void): /*elided*/ any;
1091
+ eventNames(): (string | symbol)[];
1092
+ };
1093
+ var once: <K extends AmagiEventType>(event: K, listener: (data: AmagiEventMap[K]) => void) => {
1094
+ emit<K_1 extends AmagiEventType>(event: K_1, data: AmagiEventMap[K_1]): boolean;
1095
+ on<K_1 extends AmagiEventType>(event: K_1, listener: (data: AmagiEventMap[K_1]) => void): /*elided*/ any;
1096
+ once<K extends AmagiEventType>(event: K, listener: (data: AmagiEventMap[K]) => void): /*elided*/ any;
1097
+ off<K_1 extends AmagiEventType>(event: K_1, listener: (data: AmagiEventMap[K_1]) => void): /*elided*/ any;
1098
+ [EventEmitter.captureRejectionSymbol]?<K_1>(error: Error, event: string | symbol, ...args: any[]): void;
1099
+ addListener<K_1>(eventName: string | symbol, listener: (...args: any[]) => void): /*elided*/ any;
1100
+ removeListener<K_1>(eventName: string | symbol, listener: (...args: any[]) => void): /*elided*/ any;
1101
+ removeAllListeners(eventName?: string | symbol | undefined): /*elided*/ any;
1102
+ setMaxListeners(n: number): /*elided*/ any;
1103
+ getMaxListeners(): number;
1104
+ listeners<K_1>(eventName: string | symbol): Function[];
1105
+ rawListeners<K_1>(eventName: string | symbol): Function[];
1106
+ listenerCount<K_1>(eventName: string | symbol, listener?: Function | undefined): number;
1107
+ prependListener<K_1>(eventName: string | symbol, listener: (...args: any[]) => void): /*elided*/ any;
1108
+ prependOnceListener<K_1>(eventName: string | symbol, listener: (...args: any[]) => void): /*elided*/ any;
1109
+ eventNames(): (string | symbol)[];
1110
+ };
1111
+ export { compatDouyinFetcher as douyinFetcher };
1112
+ export { compatBilibiliFetcher as bilibiliFetcher };
1113
+ export { compatKuaishouFetcher as kuaishouFetcher };
1114
+ export { compatXiaohongshuFetcher as xiaohongshuFetcher };
1115
+ export { compatCreateBoundDouyinFetcher as createBoundDouyinFetcher };
1116
+ export { compatCreateBoundBilibiliFetcher as createBoundBilibiliFetcher };
1117
+ export { compatCreateBoundKuaishouFetcher as createBoundKuaishouFetcher };
1118
+ export { compatCreateBoundXiaohongshuFetcher as createBoundXiaohongshuFetcher };
1119
+ }
1120
+ //#endregion
1121
+ export { AMAGI_BUS_EVENT_NAMES, APIErrorType, AdditionalType, type AmagiAxiosTrack, type AmagiBusEventMap, type AmagiBusEventName, type AmagiError, type AmagiErrorCode, AmagiEventMap, AmagiEventType, type AmagiFailure, type AmagiMeta, type AmagiRequest, type AmagiRequestConfig, type AmagiRequestMethod, type AmagiRequestOptions, type AmagiResult, type AmagiSuccess, AmagiThrownError, ApiError, ApiErrorEventData, ApiSuccessEventData, ArticleCard, ArticleContent, ArticleInfo, ArticleWork, BiliAv2Bv, BiliBangumiVideoInfo, BiliBangumiVideoPlayurlIsLogin, BiliBangumiVideoPlayurlNoLogin, BiliBiliVideoPlayurlNoLogin, BiliBv2AV, BiliCheckQrcode, BiliCommentReply, BiliDynamicInfo, BiliDynamicInfoUnion, BiliEmojiList, BiliLiveRoomDef, BiliLiveRoomDetail, BiliLoginStatus, BiliNewLoginQrcode, BiliOneWork, BiliProtobufDanmaku, BiliUserDynamic, BiliUserFullView, BiliUserLiveStatus, BiliUserProfile, BiliVideoPlayurlIsLogin, BiliWorkComments, type ArticleCards as BilibiliArticleCardsResponse, type ArticleCardsError as BilibiliArticleCardsResponseError, type ArticleCardsSuccess as BilibiliArticleCardsResponseSuccess, type ArticleContent$1 as BilibiliArticleContentResponse, type ArticleContentError as BilibiliArticleContentResponseError, type ArticleContentSuccess as BilibiliArticleContentResponseSuccess, type ArticleInfo$1 as BilibiliArticleInfoResponse, type ArticleInfoError as BilibiliArticleInfoResponseError, type ArticleInfoSuccess as BilibiliArticleInfoResponseSuccess, type ArticleListInfo as BilibiliArticleListInfoResponse, type ArticleListInfoError as BilibiliArticleListInfoResponseError, type ArticleListInfoSuccess as BilibiliArticleListInfoResponseSuccess, type BangumiInfo as BilibiliBangumiInfoResponse, type BangumiInfoError as BilibiliBangumiInfoResponseError, type BangumiInfoSuccess as BilibiliBangumiInfoResponseSuccess, type BangumiStream as BilibiliBangumiStreamResponse, type BangumiStreamError as BilibiliBangumiStreamResponseError, type BangumiStreamSuccess as BilibiliBangumiStreamResponseSuccess, type CommentReplies as BilibiliCommentRepliesResponse, type CommentRepliesError as BilibiliCommentRepliesResponseError, type CommentRepliesSuccess as BilibiliCommentRepliesResponseSuccess, type Comments as BilibiliCommentsResponse, type CommentsError as BilibiliCommentsResponseError, type CommentsSuccess as BilibiliCommentsResponseSuccess, BilibiliDataOptions, BilibiliDataOptionsMap, type DynamicDetail as BilibiliDynamicDetailResponse, type DynamicDetailError as BilibiliDynamicDetailResponseError, type DynamicDetailSuccess as BilibiliDynamicDetailResponseSuccess, type EmojiList as BilibiliEmojiListResponse, type EmojiListError as BilibiliEmojiListResponseError, type EmojiListSuccess as BilibiliEmojiListResponseSuccess, type BilibiliFetcher, type LiveRoomInfo as BilibiliLiveRoomInfoResponse, type LiveRoomInfoError as BilibiliLiveRoomInfoResponseError, type LiveRoomInfoSuccess as BilibiliLiveRoomInfoResponseSuccess, type LiveRoomInit as BilibiliLiveRoomInitResponse, type LiveRoomInitError as BilibiliLiveRoomInitResponseError, type LiveRoomInitSuccess as BilibiliLiveRoomInitResponseSuccess, type LoginQrcode as BilibiliLoginQrcodeResponse, type LoginQrcodeError as BilibiliLoginQrcodeResponseError, type LoginQrcodeSuccess as BilibiliLoginQrcodeResponseSuccess, type LoginStatus as BilibiliLoginStatusResponse, type LoginStatusError as BilibiliLoginStatusResponseError, type LoginStatusSuccess as BilibiliLoginStatusResponseSuccess, BilibiliMethodOptMap, BilibiliMethodOptionsMap, type BilibiliMethodType, type QrcodeStatus as BilibiliQrcodeStatusResponse, type QrcodeStatusError as BilibiliQrcodeStatusResponseError, type QrcodeStatusSuccess as BilibiliQrcodeStatusResponseSuccess, BilibiliReturnTypeMap, type UploaderTotalViews as BilibiliUploaderTotalViewsResponse, type UploaderTotalViewsError as BilibiliUploaderTotalViewsResponseError, type UploaderTotalViewsSuccess as BilibiliUploaderTotalViewsResponseSuccess, type UserCard as BilibiliUserCardResponse, type UserCardError as BilibiliUserCardResponseError, type UserCardSuccess as BilibiliUserCardResponseSuccess, type UserDynamicList as BilibiliUserDynamicListResponse, type UserDynamicListError as BilibiliUserDynamicListResponseError, type UserDynamicListSuccess as BilibiliUserDynamicListResponseSuccess, type UserLiveStatus as BilibiliUserLiveStatusResponse, type UserLiveStatusError as BilibiliUserLiveStatusResponseError, type UserLiveStatusSuccess as BilibiliUserLiveStatusResponseSuccess, type UserSpaceInfo as BilibiliUserSpaceInfoResponse, type UserSpaceInfoError as BilibiliUserSpaceInfoResponseError, type UserSpaceInfoSuccess as BilibiliUserSpaceInfoResponseSuccess, type VideoDanmaku as BilibiliVideoDanmakuResponse, type VideoDanmakuError as BilibiliVideoDanmakuResponseError, type VideoDanmakuSuccess as BilibiliVideoDanmakuResponseSuccess, type VideoInfo as BilibiliVideoInfoResponse, type VideoInfoError as BilibiliVideoInfoResponseError, type VideoInfoSuccess as BilibiliVideoInfoResponseSuccess, type VideoStream as BilibiliVideoStreamResponse, type VideoStreamError as BilibiliVideoStreamResponseError, type VideoStreamSuccess as BilibiliVideoStreamResponseSuccess, type BoundBilibiliFetcher, type BoundDouyinFetcher, type BoundKuaishouFetcher, type BoundXiaohongshuFetcher, type CaptchaChallenge, type ChallengeAnswer, type ClientOptions, ColumnInfo, CommentReply, CommentType, CompatFetcher, CompatMethod, CookieConfig, CreateAmagiCompatApp, CreateAmagiCompatApp as default, CreateApp, type Credential, type CommentReplies$1 as DouyinCommentRepliesResponse, type CommentRepliesError$1 as DouyinCommentRepliesResponseError, type CommentRepliesSuccess$1 as DouyinCommentRepliesResponseSuccess, type Comments$1 as DouyinCommentsResponse, type CommentsError$1 as DouyinCommentsResponseError, type CommentsSuccess$1 as DouyinCommentsResponseSuccess, type DanmakuList as DouyinDanmakuListResponse, type DanmakuListError as DouyinDanmakuListResponseError, type DanmakuListSuccess as DouyinDanmakuListResponseSuccess, DouyinDataOptions, DouyinDataOptionsMap, type DynamicEmojiList as DouyinDynamicEmojiListResponse, type DynamicEmojiListError as DouyinDynamicEmojiListResponseError, type DynamicEmojiListSuccess as DouyinDynamicEmojiListResponseSuccess, type EmojiList$1 as DouyinEmojiListResponse, type EmojiListError$1 as DouyinEmojiListResponseError, type EmojiListSuccess$1 as DouyinEmojiListResponseSuccess, type EmojiResourceMeta as DouyinEmojiResourceMetaResponse, type EmojiResourceMetaError as DouyinEmojiResourceMetaResponseError, type EmojiResourceMetaSuccess as DouyinEmojiResourceMetaResponseSuccess, type DouyinFetcher, type GuestMusicAwemeList as DouyinGuestMusicAwemeListResponse, type GuestMusicAwemeListError as DouyinGuestMusicAwemeListResponseError, type GuestMusicAwemeListSuccess as DouyinGuestMusicAwemeListResponseSuccess, type GuestMusicInfo as DouyinGuestMusicInfoResponse, type GuestMusicInfoError as DouyinGuestMusicInfoResponseError, type GuestMusicInfoSuccess as DouyinGuestMusicInfoResponseSuccess, type GuestUserInfo as DouyinGuestUserInfoResponse, type GuestUserInfoError as DouyinGuestUserInfoResponseError, type GuestUserInfoSuccess as DouyinGuestUserInfoResponseSuccess, type ImageAlbumWork as DouyinImageAlbumWorkResponse, type ImageAlbumWorkError as DouyinImageAlbumWorkResponseError, type ImageAlbumWorkSuccess as DouyinImageAlbumWorkResponseSuccess, type LiveRoomInfo$1 as DouyinLiveRoomInfoResponse, type LiveRoomInfoError$1 as DouyinLiveRoomInfoResponseError, type LiveRoomInfoSuccess$1 as DouyinLiveRoomInfoResponseSuccess, DouyinMethodOptMap, DouyinMethodOptionsMap, type DouyinMethodType, type MusicInfo as DouyinMusicInfoResponse, type MusicInfoError as DouyinMusicInfoResponseError, type MusicInfoSuccess as DouyinMusicInfoResponseSuccess, type ParseWork as DouyinParseWorkResponse, type ParseWorkError as DouyinParseWorkResponseError, type ParseWorkSuccess as DouyinParseWorkResponseSuccess, DouyinReturnTypeMap, type Search as DouyinSearchResponse, type SearchError as DouyinSearchResponseError, type SearchSuccess as DouyinSearchResponseSuccess, type SlidesWork as DouyinSlidesWorkResponse, type SlidesWorkError as DouyinSlidesWorkResponseError, type SlidesWorkSuccess as DouyinSlidesWorkResponseSuccess, type DouyinStaticFetcher, type SuggestWords as DouyinSuggestWordsResponse, type SuggestWordsError as DouyinSuggestWordsResponseError, type SuggestWordsSuccess as DouyinSuggestWordsResponseSuccess, type TextWork as DouyinTextWorkResponse, type TextWorkError as DouyinTextWorkResponseError, type TextWorkSuccess as DouyinTextWorkResponseSuccess, type UserFavoriteList as DouyinUserFavoriteListResponse, type UserFavoriteListError as DouyinUserFavoriteListResponseError, type UserFavoriteListSuccess as DouyinUserFavoriteListResponseSuccess, type UserProfile as DouyinUserProfileResponse, type UserProfileError as DouyinUserProfileResponseError, type UserProfileSuccess as DouyinUserProfileResponseSuccess, type UserRecommendList as DouyinUserRecommendListResponse, type UserRecommendListError as DouyinUserRecommendListResponseError, type UserRecommendListSuccess as DouyinUserRecommendListResponseSuccess, type UserVideoList as DouyinUserVideoListResponse, type UserVideoListError as DouyinUserVideoListResponseError, type UserVideoListSuccess as DouyinUserVideoListResponseSuccess, type VideoWork as DouyinVideoWorkResponse, type VideoWorkError as DouyinVideoWorkResponseError, type VideoWorkSuccess as DouyinVideoWorkResponseSuccess, DyDanmakuList, DyEmojiList, DyEmojiProList, DyEmojiResourceMeta, DyGuestMusicAwemeList, DyGuestMusicInfo, DyGuestUserInfo, DyImageAlbumWork, DyLoginQrcode, DyMusicWork, DyPassportPollResult, DyPassportQrcode, DyPassportQrcodeStatus, DyPassportSendCode, DyPassportSendCodeResult, DyPassportValidateCode, DyPassportValidateCodeResult, DyPassportVerifyContext, DyPassportVerifyWay, DySearchInfo, DySlidesWork, DySuggestWords, DyUserInfo, DyUserLiveVideos, DyUserPostVideos, DyVideoWork, DyWorkComments, DynamicType, DynamicTypeAV, DynamicTypeArticle, DynamicTypeDraw, DynamicTypeForward, DynamicTypeForwardUnion, DynamicTypeLiveRcmd, DynamicTypeWord, type ErrorKind, type EventBus, type FacadeServerOptions, HomeFeed, HttpRequestEventData, HttpResponseEventData, KIND_LEGACY_CODE, KUAISHOU_H5_CAPTCHA_RESULT, KUAISHOU_PC_CAPTCHA_RESULT, type KsBannedStatus, KsDanmaku, KsEmojiList, KsLiveRoomInfo, KsOneWork, type KsUserHomeWork, KsUserProfile, type KsUserProfileCounts, type KsUserProfileGameInfo, type KsUserProfileLiveInfo, type KsUserProfileSensitiveInfo, type KsUserProfileUserInfo, KsUserWorkList, type KsVerifiedStatus, KsWorkComments, type KuaishouCaptchaChallenge, type Comments$2 as KuaishouCommentsResponse, type CommentsError$2 as KuaishouCommentsResponseError, type CommentsSuccess$2 as KuaishouCommentsResponseSuccess, type DanmakuList$1 as KuaishouDanmakuListResponse, type DanmakuListError$1 as KuaishouDanmakuListResponseError, type DanmakuListSuccess$1 as KuaishouDanmakuListResponseSuccess, KuaishouDataOptions, KuaishouDataOptionsMap, type EmojiList$2 as KuaishouEmojiListResponse, type EmojiListError$2 as KuaishouEmojiListResponseError, type EmojiListSuccess$2 as KuaishouEmojiListResponseSuccess, type KuaishouFetcher, type KuaishouGraphqlRequest, type KuaishouLiveApiRequest, KuaishouMethodOptMap, KuaishouMethodOptionsMap, type KuaishouMethodType, KuaishouReturnTypeMap, type VideoWork$1 as KuaishouVideoWorkResponse, type VideoWorkError$1 as KuaishouVideoWorkResponseError, type VideoWorkSuccess$1 as KuaishouVideoWorkResponseSuccess, LegacyAmagiError, LegacyErrorBody, LegacyFailure, LegacyResult, LegacySuccess, LogEventData, type LoginChallenge, type LoginNamespace, type LoginSession, type LoginState, MajorType, NetworkErrorEventData, NetworkRetryEventData, type NetworksConfigType, NoteComments, OmitMethodType, OneNote, Options, type Platform, type Qrcode, type QrcodeLoginStrategy, RequestConfig, type RequestTrace, type RiskChallenge, SearchInfoGeneralData, SearchInfoUser, SearchInfoVideo, SearchNotes, type SessionCtx, type SmsChallenge, type SuccessBilibiliFetcher, type SuccessDouyinFetcher, type SuccessKuaishouFetcher, type SuccessXiaohongshuFetcher, type TraceReason, ValidationError, type ValidationIssue, type WatchHandlers, type WatchOptions, XiaohongshuDataOptions, XiaohongshuDataOptionsMap, XiaohongshuEmojiList, type EmojiList$3 as XiaohongshuEmojiListResponse, type EmojiListError$3 as XiaohongshuEmojiListResponseError, type EmojiListSuccess$3 as XiaohongshuEmojiListResponseSuccess, type XiaohongshuFetcher, type HomeFeed$1 as XiaohongshuHomeFeedResponse, type HomeFeedError as XiaohongshuHomeFeedResponseError, type HomeFeedSuccess as XiaohongshuHomeFeedResponseSuccess, XiaohongshuMethodOptMap, XiaohongshuMethodOptionsMap, type NoteDetail as XiaohongshuNoteDetailResponse, type NoteDetailError as XiaohongshuNoteDetailResponseError, type NoteDetailSuccess as XiaohongshuNoteDetailResponseSuccess, XiaohongshuReturnTypeMap, type SearchNotes$1 as XiaohongshuSearchNotesResponse, type SearchNotesError as XiaohongshuSearchNotesResponseError, type SearchNotesSuccess as XiaohongshuSearchNotesResponseSuccess, XiaohongshuUserNoteList, XiaohongshuUserProfile, type UserProfile$1 as XiaohongshuUserProfileResponse, type UserProfileError$1 as XiaohongshuUserProfileResponseError, type UserProfileSuccess$1 as XiaohongshuUserProfileResponseSuccess, amagi, amagiEvents, assertValidBilibiliParams, assertValidDouyinParams, assertValidKuaishouParams, assertValidXiaohongshuParams, av2bv, bilibiliApiUrls, compatBilibiliFetcher as bilibiliFetcher, compatBilibiliFetcher, bilibiliUtils, bv2av, checkPassportQrcode, compatCreateBoundBilibiliFetcher, compatCreateBoundBilibiliFetcher as createBoundBilibiliFetcher, compatCreateBoundDouyinFetcher, compatCreateBoundDouyinFetcher as createBoundDouyinFetcher, compatCreateBoundKuaishouFetcher, compatCreateBoundKuaishouFetcher as createBoundKuaishouFetcher, compatCreateBoundXiaohongshuFetcher, compatCreateBoundXiaohongshuFetcher as createBoundXiaohongshuFetcher, compatDouyinFetcher, compatDouyinFetcher as douyinFetcher, compatKuaishouFetcher, compatKuaishouFetcher as kuaishouFetcher, compatXiaohongshuFetcher, compatXiaohongshuFetcher as xiaohongshuFetcher, compatCreateAmagiClient as createAmagiClient, createBilibiliRoutes, createClient, createDouyinRoutes, createErrorResponse, createKuaishouRoutes, createSuccessResponse, createXiaohongshuRoutes, douyinApiUrls, index_d_exports as douyinPassport, douyinSign, douyinUtils, emitApiError, emitApiSuccess, emitHttpRequest, emitHttpResponse, emitLog, emitLogDebug, emitLogError, emitLogInfo, emitLogMark, emitLogWarn, emitNetworkError, emitNetworkRetry, fetchData, fetchResponse, handleError, isFailure, isNetworkErrorResult, isSuccess, kuaishouApiUrls, kuaishouSign, kuaishouUtils, parseDmSegMobileReply, parseKuaishouCaptcha, qtparam, requestPassportQrcode, sendPassportVerifyCode, toLegacy, unwrap, validateBilibiliParams, validateDouyinParams, validateKuaishouParams, validatePassportVerifyCode, validateXiaohongshuParams, wbi_sign, wrapFetcher, xiaohongshuApiUrls, xiaohongshuSign, xiaohongshuUtils };