import { User } from '../domain/User' ; import { UserEmail } from '../domain/UserEmail' ; export interface IUserRepo { findByEmail ( email ) : Promise < User > ; findById ( id ) : Promise < User > ; save ( user ) : Promise < void > ; }