interface Args { handleInit: (element: HTMLVideoElement) => Promise; handleUpdate: (element: HTMLVideoElement) => Promise; } export declare const createVisionProcessor: ({ handleInit, handleUpdate }: Args) => { init: (el: HTMLVideoElement, source?: string) => Promise; update: () => Promise; }; export declare const initWebcam: (element: HTMLVideoElement) => Promise; export declare type VisionProcessor = ReturnType; export {};