import type { TFunction } from 'i18next'; import type { AttachmentFieldValue, FHIRObsResource, OpenmrsForm, PatientDeathPayload, PatientIdentifier, PatientProgramPayload, PersonAttribute } from '../types'; export declare function saveEncounter(abortController: AbortController, payload: any, encounterUuid?: string): Promise>; export declare function createAttachment(patientUuid: string, encounterUUID: string, attachment: AttachmentFieldValue): Promise>; export declare function getConcept(conceptUuid: string, v: string): Promise; export declare function getLocationsByTag(tag: string): Promise; export declare function getAllLocations(): Promise; export declare function getPreviousEncounter(patientUuid: string, encounterType: string): Promise; export declare function getLatestObs(patientUuid: string, conceptUuid: string, encounterTypeUuid?: string): Promise; export declare function getLatestObsForConceptSet(patientUuid: string, conceptUuid: string, encounterTypeUuid?: string): Promise; /** * Fetches an OpenMRS form using either its name or UUID. * @param {string} nameOrUUID - The form's name or UUID. * @returns {Promise} - A Promise that resolves to the fetched OpenMRS form or null if not found. */ export declare function fetchOpenMRSForm(nameOrUUID: string): Promise; /** * Fetches ClobData for a given OpenMRS form. * @param {OpenmrsForm} form - The OpenMRS form object. * @returns {Promise} - A Promise that resolves to the fetched ClobData or null if not found. */ export declare function fetchClobData(form: OpenmrsForm): Promise; export declare function getPatientEnrolledPrograms(patientUuid: string): Promise; export declare function saveProgramEnrollment(payload: PatientProgramPayload, abortController: AbortController): Promise>; export declare function savePatientIdentifier(patientIdentifier: PatientIdentifier, patientUuid: string): Promise>; export declare function savePersonAttribute(personAttribute: PersonAttribute, patientUuid: string): Promise>; export declare function markPatientAsDeceased(t: TFunction, patientUUID: string, payload: PatientDeathPayload, abortController: AbortController): Promise>; //# sourceMappingURL=index.d.ts.map