export interface MatchCandidate { name: string; alternateNames?: string[]; } export interface MatchResult { item: T; score: number; matchedVia: "exact" | "fuzzy"; } /** * Match an external entity to a list of DB candidates by name similarity. * * Compares every combination of `externalNames` × candidate `name + alternateNames`. * Returns the best match above the threshold, or null. * * @param externalNames - External name(s) to match (e.g. main name + alternates) * @param candidates - DB records with `name` and optional `alternateNames` * @param threshold - Minimum similarity score (default 0.5) */ export declare function matchByName(externalNames: string[], candidates: T[], threshold?: number): MatchResult | null; //# sourceMappingURL=team-matcher.d.ts.map