/** * Port: FaceValidationPort * * Defines the contract for validating face photos. */ export interface FaceValidationResult { isValid: boolean; hasFace: boolean; faceCount: number; confidence: number; errorMessage?: string; } export interface FaceValidationPort { /** * Validate that an image contains exactly one valid face */ validateFacePhoto(imageData: string | Buffer): Promise; }