import { Video as Video$1 } from '@boxts/jable'; import { Magnet } from '@boxts/sukebei'; /** * https://github.com/Microsoft/TypeScript/issues/29729 */ declare type LiteralUnion = T | (U & Record); declare module '@boxts/jable' { interface Video { magnet?: string; magnets?: Magnet[]; } } declare const apis: readonly ["/forum-103", "/forum-151", "/forum-36", "/forum-37"]; declare type Apis = LiteralUnion; interface Video extends Video$1 { url: string; } interface Options { page?: number; } declare type GetOptions = (...opts: Partial[]) => Options; declare type GetVideos = (api: Api, ...opts: Partial[]) => Promise; declare type GetMagnet = (url: string) => Promise; declare const SEHUATANG = "https://www.sehuatang.org"; declare const getOptions: GetOptions; declare const getVideos: GetVideos; declare const parseUrl: (api: Apis, ...opts: Partial[]) => string | null; declare const getMagnet: GetMagnet; export { Apis, GetMagnet, GetOptions, GetVideos, LiteralUnion, Options, SEHUATANG, Video, apis, getMagnet, getOptions, getVideos, parseUrl };