import type { Point } from './face-scheme-data'; export interface DetectFaceYuNetOptions { /** 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 `onnxruntime-web`. */ ortModuleUrl?: string; /** Base URL for the ORT wasm fileset. */ ortWasmBaseUrl?: string; /** URL of the YuNet `.onnx` model (defaults to the kit's bundled copy). */ modelUrl?: string; /** Minimum detection score (default 0.6). */ scoreThreshold?: number; /** Lifecycle hook — `'loading'` while the runtime/model initialise, `'detecting'` during inference. */ onStage?: (stage: 'loading' | 'detecting') => void; } /** * Detect a single face in `src` and return YuNet's canonical keypoint → * 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 detectFaceYuNet(src: string, options: DetectFaceYuNetOptions): Promise | null>; //# sourceMappingURL=detect-face-yunet.d.ts.map