export default useFaceDetection; declare function useFaceDetection({ cameraScale, isVideoPlaying, step, cropArea, videoRef, onFarFaceDetected, onFarFullFaceDetected, onCloseFaceDetected, onCloseFullFaceDetected, onFlashingFramesCaptured, frameInterval: customFrameInterval, useFaceDetectorWhenFlashing, onFaceError, onError, maskBoundingRect, shouldPauseFaceDetection, shouldContinueOnError, debug, faceDetectionSettings, }: { cameraScale?: number | undefined; isVideoPlaying: any; step: any; cropArea: any; videoRef: any; onFarFaceDetected: any; onFarFullFaceDetected: any; onCloseFaceDetected: any; onCloseFullFaceDetected: any; onFlashingFramesCaptured: any; frameInterval?: number | undefined; useFaceDetectorWhenFlashing: any; onFaceError: any; onError: any; maskBoundingRect: any; shouldPauseFaceDetection: any; shouldContinueOnError: any; debug?: boolean | undefined; faceDetectionSettings: any; }): { warmupDone: {}; };