type ServiceType = { Get(): Promise; GetById(id: string): Promise; GetFirst(params: Partial): Promise Create(payload: Partial, checkKeyField: boolean): Promise; Delete(id: string): Promise; GetByKeyword(keyword: any): Promise; GetByQuery(params?: any, fields?: string, options?: any): Promise; GetCount(): Promise; Update(id: string, payload: Partial): Promise; } export default ServiceType;