import { Duration } from '@polyvharmony/media-player-foundation'; import { PLVMediaBitRate } from '../../vo/PLVMediaBitRate'; import { PLVMediaRoute } from '../../vo/PLVMediaRoute'; export declare class PLVVodVideoJsonRequestResultVO { code?: number; status?: string; body?: string; decrypt(videoId: string): PLVVodVideoJsonVO | null; } export declare enum PLVVodVideoType { SOURCE = 0, MP4 = 1, UNENCRYPTED_M3U8 = 2, ENCRYPTED_M3U8 = 3 } export declare class PLVVodVideoJsonVO { permit_questionnaire?: number; validUrl2_backup?: string; fullmp4?: string; setting_type?: number; timeoutflow?: string; preload?: string; playMode?: number; httpDns?: number; weburl?: string; provider?: string; nkv?: number; validUrl?: string; validUrl_backup?: string; teaser_time?: string; hlsLevel?: string; enableOfficialHost?: number; disable_host?: string; openDanmu?: number; validUrl2?: string; outflow?: string; wcBanSeekSpecial?: number; enable_host?: string; playerList?: any[]; previewDuration?: number; hls302?: string; audio_fp?: number; protect_mode?: number; hlsDrmVersion?: number; hlsPrivate?: number; keep_play?: number; first_image_b?: string; codesharing?: number; aac_filesize?: number; akeysharing?: number; webLevel?: string; realtimeSlicing?: number; videolink?: string; resolution?: string[]; tail_url?: string; seed_const?: number; hls2?: string[]; aac_link?: string; source_filesize?: number; hls_backup?: string[]; videokeyframes?: any[]; h5pcmp4?: string[]; tail_time?: string; df_num?: number; autoplay?: string; usepassword?: string; keepsource?: string; play_source_url?: string; progressImage?: string; hlsIndex?: string; hlsIndex_backup?: string; catatree?: string; tsCdn?: string; hash?: string; status?: number; swf_link?: string; seed?: number; first_image?: string; filesize?: number[]; tsfilesize?: number[]; title?: string; duration?: string; teaser_url?: string; reportFreq?: number; cataid?: number; playauth?: string; player?: Player; currentLine?: string; playerError?: PlayerError; tsCdns?: string; match_srt?: MatchSrt[]; appLevel?: string; userMsgSeiEnabled?: string; tailRecommendOpt?: number; hls?: string[]; forbidClients?: string; mp4?: string[]; out_br?: string; flv?: string[]; teaser_show?: number; tail_show?: number; domainSwitch?: number; convertHls?: number; cdn_types?: string; packageUrl?: string[]; adMatter?: AdMatter[]; httpDnsKey?: string; interactive_video?: string; my_br?: number; ratio?: number; timestamp?: number; srt?: Srt[]; video_srt?: Map; stallingThreshold?: number; tsCdnConfig?: PLVVodVideoJsonVO_TsCdnConfig; get videoType(): PLVVodVideoType; get cdnTypeList(): string[]; get tsCdnList(): string[]; isSupportAudioOnlyMode(): boolean; isNeedVideoToken(): boolean; isVrmEncrypted(): boolean; get durationSeconds(): number; get progressImageInterval(): Duration; get headTeaserUrl(): string | undefined; get tailTeaserUrl(): string | undefined; get isShowHeadTeaser(): boolean; get isShowTailTeaser(): boolean; get headTeaserTime(): Duration; get tailTeaserTime(): Duration; get isNotAllowHttpDns(): boolean; fileSizeMatchVideoType(bitRate: PLVMediaBitRate): number; get engagementEnabled(): boolean; get availableRoutes(): PLVMediaRoute[]; } declare class Subtitles { style?: string; position?: string; fontSize?: number; fontStyle?: string; fontColor?: string; fontBold?: string; fontItalics?: string; outlineWidth?: number; outlineColor?: string; spacing?: number; vertical?: number; saveSubtitles?: string; backgroundColor?: string; } declare class RightMenu { rightName?: string; rightUrl?: string; } declare class Player { logo_diaph?: number; logo_url?: string; skinid?: string; pColor?: string; bottomSubtitles?: string; teaser_url?: string; tail_url?: string; logo_location?: string; zColor?: string; subtitlesEnabled?: string; skincolor?: string; subtitles?: Subtitles[]; teaser_time?: string; tail_time?: string; saveSubtitles?: string; logoloca?: number; languageSetting?: number; logo_show?: number; rightMenu?: RightMenu[]; topSubtitles?: string; teaser_show?: number; tail_show?: number; subtitlesDoubleDefault?: string; subtitlesDoubleEnabled?: string; location?: number; nav_alpha?: number; base?: string; } declare class PlayerError { code?: string; } declare class AdMatter { addrurl?: string; adheight?: number; adid?: string; adtype?: number; adwidth?: number; cataid?: number; location?: string; matterurl?: string; poplocation?: number; skipbutton?: string; skipenabled?: boolean; skiptime?: number; timesize?: number; } declare class MatchSrt { position?: string; title?: string; url?: string; } declare class Srt { title?: string; url?: string; } declare class PLVVodVideoJsonVO_TsCdnConfig { prefix?: Map; suffix?: PLVVodVideoJsonVO_TsCdnConfig_Suffix; } declare class PLVVodVideoJsonVO_TsCdnConfig_Suffix { mobile?: string; desktop?: string; } export {};