import { UserData } from './user-data' ; export interface UserRepository { findAll ( ) : Promise < UserData [ ] > ; findByEmail ( email ) : Promise < UserData > ; add ( userData ) : Promise < UserData > ; }