import { type FormField, type FormProcessorContextProps, type OpenmrsEncounter, type PatientIdentifier, type PatientProgram, type PatientProgramPayload, type PersonAttribute } from '../../types'; import { type FormContextProps } from '../../provider/form-provider'; type MutableSessionProps = { encounterRole: string; encounterProvider: string; encounterDate?: Date; encounterLocation: string; }; export declare function prepareEncounter(context: FormContextProps, encounterDate: Date | undefined, encounterRole: string, encounterProvider: string, location: string): OpenmrsEncounter; export declare function preparePatientIdentifiers(fields: FormField[], encounterLocation: string): PatientIdentifier[]; export declare function savePatientIdentifiers(patient: fhir.Patient, identifiers: PatientIdentifier[]): Promise>[]; export declare function preparePersonAttributes(fields: FormField[]): PersonAttribute[]; export declare function savePersonAttributes(patient: fhir.Patient, attributes: PersonAttribute[]): Promise>[]; export declare function preparePatientPrograms(fields: FormField[], patient: fhir.Patient, currentPatientPrograms: Array): Array; export declare function savePatientPrograms(patientPrograms: PatientProgramPayload[]): Promise[]>; export declare function saveAttachments(fields: FormField[], encounter: OpenmrsEncounter, abortController: AbortController): any[] | Promise[]>; export declare function getMutableSessionProps(context: FormContextProps): MutableSessionProps; export declare function inferInitialValueFromDefaultFieldValue(field: FormField): any; export declare function hydrateRepeatField(field: FormField, encounter: OpenmrsEncounter, initialValues: Record, context: FormProcessorContextProps): Promise; export {}; //# sourceMappingURL=encounter-processor-helper.d.ts.map