import type { Point } from './face-scheme-data'; export interface DetectFaceLandmarksOptions { /** View coordinate width the points must be projected into (the SVG viewBox W). */ viewWidth: number; /** View coordinate height (the SVG viewBox H). */ viewHeight: number; /** ESM bundle URL for `@mediapipe/tasks-vision`. */ visionModuleUrl?: string; /** Base URL for the MediaPipe wasm fileset. */ wasmBaseUrl?: string; /** URL of the `face_landmarker.task` model. */ modelAssetPath?: string; /** Lifecycle hook — `'loading'` while the model initialises, `'detecting'` during inference. */ onStage?: (stage: 'loading' | 'detecting') => void; } /** * Detect a single face in `src` and return the FaceScheme canonical-anchor → * photo-point pairs, projected into the view coordinate space using the same * `xMidYMid slice` (cover) fit the FaceScheme `` uses. Resolves `null` * if no face is found. Browser-only. */ export declare function detectFaceLandmarks(src: string, options: DetectFaceLandmarksOptions): Promise | null>; //# sourceMappingURL=detect-face-landmarks.d.ts.map