import { IUser } from './user.interface' ; export interface IUsersService { findAll ( ) : Promise < IUser [ ] > ; findById ( ID ) : Promise < IUser | null > ; findOne ( options ) : Promise < IUser | null > ; create ( user ) : Promise < IUser > ; update ( ID , newValue ) : Promise < IUser | null > ; delete ( ID ) : Promise < string > ; }