import { User } from '../../models' ; export interface UsersService { getAll ( ) : Promise < Array < User > > ; create ( user ) : Promise < User > ; get ( id ) : Promise < User > ; update ( id , user ) : Promise < User > ; delete ( id ) : Promise < void > ; }