export type FaceMatchStatus = 'pending' | 'matched' | 'no_match';

export interface FaceBox {
  readonly x: number;
  readonly y: number;
  readonly w: number;
  readonly h: number;
}

export interface Face {
  readonly id: string;
  readonly photoId: string;
  readonly identityId: string | null;
  readonly bbox: FaceBox;
  readonly embedding: readonly number[];
  readonly confidence: number;
  readonly contentHash: string | null;
  readonly matchStatus: FaceMatchStatus;
  readonly createdAt: string;
}

export interface FaceDraft {
  readonly id?: string;
  readonly photoId: string;
  readonly bbox: FaceBox;
  readonly embedding: readonly number[];
  readonly confidence?: number;
  readonly contentHash?: string | null;
}
