import { TvQrcodeLogin, WebQrcodeLogin } from "./user/login.js"; import Auth from "./base/Auth.js"; import { BiliResponseError } from "./base/Error.js"; import Live from "./live/index.js"; import Platform from "./platform/index.js"; export * from "./platform/upload.js"; import Search from "./search/index.js"; import User from "./user/index.js"; import Video from "./video/index.js"; import Reply from "./video/reply.js"; import Common from "./common/index.js"; import { WbiSign } from "./base/sign.js"; import { fakeBuvid3, fakeDmCoverImgStr, subtitleJsonToSrt } from "./utils/index.js"; import Downloader from "./utils/downloader.js"; import { BcutASR } from "./bCut/asr.js"; export * from "./bCut/asr.js"; declare module "axios" { interface AxiosRequestConfig { extra?: { wbiSign?: boolean; rawResponse?: boolean; useCookie?: boolean; }; } } declare class Client { auth: Auth; useCookie: boolean; /** * @param noAuthUseCookie 无需登录的接口是否使用cookie */ constructor(auth?: Auth, noAuthUseCookie?: boolean); get live(): Live; get user(): User; get platform(): Platform; get search(): Search; get common(): Common; get video(): Video; get reply(): Reply; /** * 创建一个新的视频对象 * @param aid 视频aid */ newVideo(aid: number): Promise