import VideoFrameProcessor from '../videoframeprocessor/VideoFrameProcessor' ; import BackgroundReplacementVideoFrameProcessorObserver from './BackgroundReplacementVideoFrameProcessorObserver' ; /**
 * Interface to define extra methods that need to be implemented for background replacement processing
 */ export default interface BackgroundReplacementProcessor extends VideoFrameProcessor { /**
     * Add an observer to receive notifications about Amazon background replacement processor events.
     * See  BackgroundReplacementVideoFrameProcessorObserver for details.
     * If the observer has already been added, this method call has no effect.
      addObserver ( observer ) : void ; /**
     * Remove an existing observer. If the observer has not been previously  {@link
     * BackgroundReplacementVideoFrameProcessorObserver.addObserver|added} , this method call has no effect.
      removeObserver ( observer ) : void ; param blob setImageBlob ( blob ) : Promise < void > ; internal /**
     * internal method to load assets like WASM files, web workers, and ML models.
     */ loadAssets ( ) : Promise < void > ; }