import OperationInterface from '../operations/OperationInterface'; import ProcessInterface from './processInterface'; declare type FFmpegDataType = { outputFile: string; threads: number; ffmpegArguments: string[]; }; declare class ProcessWasm implements ProcessInterface { static _ffmpeg: { load: () => Promise; FS: (method: any, args: any) => any; write: (path: any, data: any) => Promise; writeText: (path: any, text: any) => any; read: (path: any) => any; remove: (path: any) => any; ls: (path: any) => any; run: (_args: any) => Promise; transcode: (input: any, output: any, opts?: string | undefined) => Promise; trim: (input: any, output: any, from: any, to: any, opts?: string | undefined) => Promise; concatDemuxer: (input: any, output: any, opts?: string | undefined) => Promise; }; static isLoaded: boolean; operation: OperationInterface; threads: number; getThreads: () => number; constructor(operation: OperationInterface); static loadFFmpeg: () => Promise; ffmpegWriter: (file: File) => Promise; ffmpegReader: (fileName: string) => Promise; ffmpegGarbageCollector: (oldFileNames: Array) => Promise; ffmpegRunner: (inputFileCommand: string, ffmpegData: FFmpegDataType) => Promise; runFFmpeg: () => Promise; loadFiles: () => Promise; process: (token: string) => Promise; } export default ProcessWasm; export declare const loadFFmpeg: () => Promise;