import { EventEmitter } from '../../stencil-public-runtime'; import { DetectionImg, FaceapiService } from '../../utils/facepi.service'; import { CameraDirection } from '../../utils/camera.service'; import { Detection, FaceLandmarkerResult } from '@mediapipe/tasks-vision'; export interface iFaceDetected { blob: Blob; result: Detection; } export declare class InputFaceApiWebcam { video: HTMLVideoElement; canvas: HTMLCanvasElement; faceapiService: FaceapiService; el: HTMLElement; enableDetection: boolean; isDetecting: boolean; detectionResult: DetectionImg; detectionResultChangedHandler(newValue: DetectionImg, oldValue: DetectionImg): void; width?: number; height?: number; scoreThreshold?: number; detectionTimer?: number; facingMode?: CameraDirection; stopDetection(): Promise; startDetection(): Promise; getBlobImageDescriptors(blob: Blob): Promise; getFaceLandMarks(): Promise; faceDetected: EventEmitter; faceStopDetection: EventEmitter; componentWillLoad(): Promise; lastVideoTime: number; webcamRender(): Promise; drawWebcamnToCanvas(ctx: any): void; render(): any; }