import Destroyable from '../destroyable/Destroyable' ; import VideoFrameBuffer from './VideoFrameBuffer' ; /**
 * [[VideoFrameProcessor]] is defined as a unit of video processing.
 * It transforms an array of  VideoFrameBuffer and produces an array of  VideoFrameBuffer .
 * It can be chained together to be used with  VideoFrameProcessorPipeline .
  export default interface VideoFrameProcessor extends Destroyable { /**
     * Processes the array of  VideoFrameBuffer and returns an array of  VideoFrameBuffer .
      process ( buffers ) : Promise < VideoFrameBuffer [ ] > ; /**
     * Destroys the processor.
     */ destroy ( ) : Promise < void > ; }