import { Count, Filter, FilterExcludingWhere, Where } from '@loopback/repository'; import { IAuthUserWithPermissions } from '@sourcefuse-npm/alivio-lib'; import { PatientCarePlanDetails } from '../models'; import { DiPatientCaregiverUserService, PatientCarePlanDetailsService } from '../services'; export declare class PatientCarePlanDetailsController { patientCarePlanDetailsService: PatientCarePlanDetailsService; protected readonly patientCgUserService: DiPatientCaregiverUserService; constructor(patientCarePlanDetailsService: PatientCarePlanDetailsService, patientCgUserService: DiPatientCaregiverUserService); create(patientCarePlanDetails: Omit, token: string, currentUser: IAuthUserWithPermissions): Promise; count(where?: Where, token?: string): Promise; find(filter?: Filter, token?: string): Promise; updateAll(patientCarePlanDetails: PatientCarePlanDetails, token?: string, where?: Where): Promise; findById(id: number, filter?: FilterExcludingWhere, token?: string): Promise; updateById(id: number, patientCarePlanDetails: PatientCarePlanDetails, token?: string): Promise; replaceById(id: number, patientCarePlanDetails: PatientCarePlanDetails, token?: string): Promise; deleteById(id: number, token?: string): Promise; findCarePlanByPatientId(patientId: number, currentUser: IAuthUserWithPermissions, token?: string): Promise; }