import { ResolutionType } from './keytype'; import { Context, UIImage } from './types'; export declare class TTVideoEngine { static getEngineUniqueKek(context: Context): string; constructor(context: Context, type: number); constructor(context: Context, type: number, params: Record); constructor(context: Context); constructor(); protected _instance: any; protected __init(...args: any[]): void; protected __new_instance(...args: any[]): any; prepare(): void; setCustomHeader(key: string, value: string): void; snapshot(snapshotListener: (arg0: UIImage) => void): void; isSupportHDR(): boolean; isSupportSR(): boolean; configResolution(resolution: ResolutionType): void; play(): Promise; pause(): void; stop(): void; }