import { Id } from 'src/models/types' ; import { Category } from 'src/models/category' ; export interface CategoriesRepository { getCategory ( id ) : Promise < Category > ; getCategories ( accountId ) : Promise < Category [ ] > ; createDefaultCategories ( accountId ) : Promise < void > ; }