import { User } from '../model' ; import { UserId } from '../model/user-id' ; export interface Users { find ( groupId ) : Promise < User > | null ; get ( groupId ) : Promise < User > ; save ( user ) : void ; } export const USERS = 'USERS' ;