import { UniqueEntityID } from '../../../shared/domain/UniqueEntityID' ; import { EmailVerificationToken } from '../domain/emailTokenVerification' ; export interface IEmailTokenVerificationRepo { getTokenByEmail ( email ) : Promise < EmailVerificationToken | undefined > ; insert ( emailTokenVerification ) : Promise < void > ; save ( emailTokenVerification ) : Promise < void > ; deleteByTokenId ( tokenId ) : Promise < void > ; }