/** * This is the data structure for mapping */ import { JSONContextType } from '../utils/repo/io'; import { EditorModel, ModelType } from './editormodel'; import { PageHistory } from './history'; import { ModelWrapper } from './modelwrapper'; export interface MappingDoc { id: string; title: string; content: string; } export declare type MappingType = Record>; export interface MapProfile { '@context': JSONContextType; '@type': 'MMEL_MAP'; id: string; mapSet: Record; docs: Record; version: string; } export interface MapSet { id: string; mappings: MappingType; } export interface MappingMeta { description: string; justification: string; } export declare function createMapProfile(): MapProfile; export declare function createNewMapSet(id: string): { id: string; mappings: {}; }; export declare type MapperModelType = ModelType.IMP | ModelType.REF; export declare const MapperModelLabel: Record; export declare function getMappings(mp: MapProfile, refns: string): MappingType; export declare function indexModel(model: EditorModel): void; export declare function buildHistoryMap(mw: ModelWrapper): Record; //# sourceMappingURL=mapmodel.d.ts.map