import { ObjectOrUnknown } from './types.js'; declare const KODIK_PLAYER_DOMAIN = "kodikplayer.com"; declare const KODIK_VIDEO_INFO_ENDPOINT = "/ftor"; interface KodikParsedLinkExUrlParams { d: string; d_sign: string; pd: string; pd_sign: string; ref: string; ref_sign: string; translations: boolean; advert_debug: boolean; min_age: number; first_url: boolean; } interface KodikParsedLinkExTranslation { id: number; title: string; } interface KodikParsedLinkExSkipButtons { type: string; data: string; } type KodikVideoSourceQuality = '1080' | '720' | '480' | '360' | '240' | string; interface KodikVideoSource { src: string; type: string; } type KodikVideoLinks = Record; interface KodikParsedLinkEx { urlParams: KodikParsedLinkExUrlParams; playerSingleUrl?: string; translation: KodikParsedLinkExTranslation; skipButtons?: KodikParsedLinkExSkipButtons; } interface VideoLinksParseParams { link: string; extended?: Extended; } type KodikParsedLink = { host: string; type: string; id: string; hash: string; quality: string; } & ObjectOrUnknown>; interface VideoLinksGetLinksParams { link: string; videoInfoEndpoint?: string; } declare const kodikPlayerLinkRegexp: RegExp; declare class VideoLinks { static parseLink({ extended, link }: VideoLinksParseParams): Promise>; static normalizeKodikLink(input: string): string; static getActualVideoInfoEndpoint(playerSingleUrl: string): Promise; static getLinks({ link, videoInfoEndpoint }: VideoLinksGetLinksParams): Promise; static parseSkipButtons: (skipButtons: KodikParsedLinkExSkipButtons) => { from: string; to: string; }[]; } export { KODIK_PLAYER_DOMAIN, KODIK_VIDEO_INFO_ENDPOINT, KodikParsedLink, KodikParsedLinkEx, KodikParsedLinkExSkipButtons, KodikParsedLinkExTranslation, KodikParsedLinkExUrlParams, KodikVideoLinks, KodikVideoSource, KodikVideoSourceQuality, VideoLinks, VideoLinksGetLinksParams, VideoLinksParseParams, kodikPlayerLinkRegexp };