import { WorkerTimersInterface } from '../../common/BackgroundTransformer'; import { BackgroundConfig } from '../../core/helpers/backgroundHelper'; import { PostProcessingConfig } from '../../core/helpers/postProcessingHelper'; import { SegmentationConfig } from '../../core/helpers/segmentationHelper'; import { SourcePlayback } from '../../core/helpers/sourceHelper'; import { TFLite } from '../../core/hooks/useTFLite'; export declare function buildCanvas2dPipeline(sourcePlayback: SourcePlayback, backgroundConfig: BackgroundConfig, segmentationConfig: SegmentationConfig, canvas: HTMLCanvasElement, tflite: TFLite, WorkerTimers: WorkerTimersInterface): { render: () => Promise; updatePostProcessingConfig: (newPostProcessingConfig: PostProcessingConfig) => void; cleanUp: () => void; };