import type { FaceDescriptor, FaceMatchResult } from '../types'; /** * Compute Euclidean distance between two 128-dim face descriptors. */ export declare function compareFaces(d1: FaceDescriptor, d2: FaceDescriptor): number; /** * Find the best match among candidates. * Returns null if no match is below the threshold. */ export declare function findMatch(descriptor: FaceDescriptor, candidates: T[], threshold?: number): FaceMatchResult | null; /** * Find all matches below the threshold, sorted by distance. */ export declare function findAllMatches(descriptor: FaceDescriptor, candidates: T[], threshold?: number): FaceMatchResult[]; //# sourceMappingURL=face-matcher.d.ts.map