import type { MostaFaceConfig } from '../types'; export type DetectionStatus = 'loading' | 'detecting' | 'detected' | 'noFace'; interface UseFaceDetectionOptions { /** Interval between detections in ms (default: 300) */ interval?: number; /** Auto-start detection (default: true) */ autoStart?: boolean; /** Also extract descriptor on each frame (default: false) */ extractDescriptor?: boolean; /** Face-api config */ config?: MostaFaceConfig; } export declare function useFaceDetection(videoRef: React.RefObject, options?: UseFaceDetectionOptions): { detection: any; descriptor: Float32Array | null; status: DetectionStatus; modelsLoaded: boolean; stop: () => void; start: () => Promise; }; export {}; //# sourceMappingURL=useFaceDetection.d.ts.map