import { type OpenmrsObs, type FormField, type FormFieldValueAdapter } from '../types'; export declare let assignedObsIds: string[]; export declare const ObsAdapter: FormFieldValueAdapter; export declare function constructObs(field: FormField, value: any): Partial; export declare function voidObs(obs: OpenmrsObs): { uuid: string; voided: boolean; }; export declare function editObs(field: FormField, newValue: any): { uuid: string; value: any; formFieldNamespace: string; formFieldPath: string; }; export declare function hasPreviousObsValueChanged(field: FormField, newValue: any): boolean; /** * Retrieves a list of observations from a given `obsList` that correspond to the specified field. * * Notes: * If the query by field-path returns an empty list, the function falls back to querying * by concept and uses `claimedObsIds` to exclude already assigned observations. */ export declare function findObsByFormField(obsList: Array, claimedObsIds: string[], field: FormField): OpenmrsObs[]; //# sourceMappingURL=obs-adapter.d.ts.map