/** * @author bytedance * @version 1.0 * @Description * @date 2024/8/29 20:56 */ import { IPackClassInterface } from '@vcloud-lux/hybrid-runtime'; import * as $android from '../codegen/android'; import * as $ios from '../codegen/ios'; import type { SubtitleInfo } from '../core'; export declare const iosResolutionMap: { 7: string; 0: string; 1: string; 8: string; 2: string; 3: string; 11: string; 14: string; 17: string; 9: string; 26: string; 27: string; 10: string; 12: string; 15: string; 18: string; 4: string; 13: string; 16: string; 19: string; 20: string; 21: string; 22: string; 23: string; 24: string; 25: string; 500: string; 5: string; 6: string; }; export declare const androidDef2ResMap: { '240p': $android.Resolution; '360p': $android.Resolution; '480p': $android.Resolution; '540p': $android.Resolution; '720p': $android.Resolution; '1080p': $android.Resolution; '2k': $android.Resolution; '4k': $android.Resolution; hdr: $android.Resolution; auto: $android.Resolution; }; export declare function getIntNumber(num: string | number): number; export declare function geFloatNumber(num: string | number): number; export declare function transSubInfoToSubDict(subInfo: SubtitleInfo): { list: { Format: string | undefined; SubtitleId: number; LanguageId: number; Language: string | undefined; SubtitleUrl: string; language?: string; language_id: number; url: string; expire?: string; format?: string; sub_id: number; }[]; }; export declare function isNewArch(): boolean; export declare function runImpl(context: IPackClassInterface, androidImpl: (engine: $android.TTVideoEngine) => T, iosImpl: (engine: $ios.TTVideoEngine) => T): T;