import { LoginFailure } from 'src/models/login.failure' ; export interface LoginFailureRepository { getLastFailures ( userEmail , number ) : Promise < LoginFailure [ ] > ; registerFailedLogin ( userEmail , datetime ) : Promise < void > ; }