import { Quote } from '../Quote.entity' ; export interface IQuoteRepository { save ( quote ) : Promise < Quote > ; find ( id ) : Promise < Quote > ; findQuotes ( page ) : Promise < [ Quote [ ] , number ] > ; countByYear ( year ) : Promise < number > ; }