import { User } from '../../../typeorm' ; import { UserDetails } from '../../../utils/types' ; export interface AuthenticationProvider { validateUser ( details ) ; createUser ( details ) ; findUser ( discordId ) : Promise < User | undefined > ; }