import { MbPlugin } from './plugins'; import { Data } from '../utils'; import EhrElement from '../../EhrElement'; export interface Ctx { time?: string; language?: string; territory?: string; composer_name?: string; _health_care_facility?: string; _health_care_facility_id?: string; } export declare function toFlat(data: Data, mbElements: { [path: string]: EhrElement; }): Data; export declare function fromFlat(flat: Data): Data; export declare function formatFlatComposition(flat: any): any; export declare function unflattenComposition(flat: any, path?: string): any; export declare function toInsertContext(path: string, nonNullPaths: string[], mbElements: { [path: string]: any; }): boolean; export declare const openEHRFlatPlugin: MbPlugin;