import { User } from "../../interfaces/models/User"; export interface MatchFacetRef { id: string; hotness: number; } export interface SampleContent { sourceType: "entity" | "comment" | "message"; recordId: string; content: string; similarity: number; } export interface MatchedFacet { similarity: number; askerFacet?: MatchFacetRef; candidateFacet: MatchFacetRef; sampleContent?: SampleContent[]; } export interface UserMatchResult { user: User; score: number; matchedFacets: MatchedFacet[]; } export interface UseMatchUsersProps { mode: "passive" | "directed"; query?: string; limit?: number; spaceId?: string; includeChildSpaces?: boolean; includeSampleContent?: boolean; excludeSelf?: boolean; } export interface UseMatchUsersReturn { results: UserMatchResult[]; loading: boolean; error: string | null; match: (props: UseMatchUsersProps) => Promise; reset: () => void; } export default function useMatchUsers(): UseMatchUsersReturn;