import { RefObject } from 'react'; import { EditorModel, EditorNode, EditorSubprocess, ModelType } from '../../model/editormodel'; import { PageHistory } from '../../model/history'; import { LegendInterface, MapperSelectedInterface } from '../../model/States'; import { MappingType, MapProfile, MapSet } from '../../model/mapmodel'; import { SerializedStyles } from '@emotion/react'; import { MMELDocument } from '../../model/document'; export declare enum MapCoverType { FULL = "full", PASS = "pass", PARTIAL = "partial", NONE = "none" } export declare enum MapSourceType { HASMAP = "yes", NOMAP = "no" } export declare const MapDiffValues: readonly ["new", "same", "delete"]; export declare type MapDiffType = typeof MapDiffValues[number]; export interface MapEdgeResult { fromref: RefObject; toref: RefObject; fromid: string; toid: string; } export declare type MapDiffEdgeResult = MapEdgeResult & { type: MapDiffType; }; export declare type MapperModels = ModelType.IMP | ModelType.REF; export declare const MapViewButtonToolTip: Record; export declare const MappingResultStyles: Record; export declare const MappingSourceStyles: Record; export declare type MapResultType = Record; export declare function calculateMapping(model: EditorModel, mapping: MappingType): MapResultType; export declare function getRefNodeStyle(isParentFull: boolean, isDiffParentFull: boolean | undefined, mapResult: MapResultType, diffMapResult: MapResultType | undefined): (id: string) => SerializedStyles; export declare function getSourceStyleById(mapSet: MapSet, diffMapSet: MapSet | undefined, id: string): SerializedStyles; export declare function filterMappings(map: MapSet, impPage: EditorSubprocess, refPage: EditorSubprocess, selected: MapperSelectedInterface, impElms: Record, refElms: Record): MapEdgeResult[]; export declare function filterMappingsForDocument(map: MapSet, impPage: EditorSubprocess, doc: MMELDocument, selected: MapperSelectedInterface, impElms: Record): MapEdgeResult[]; export declare function isParentMapFullCovered(history: PageHistory, mr: MapResultType): boolean; export declare function getMappedList(mapSet: MapSet): Set; export declare function findImpMapPartners(id: string, mapping: MappingType): string[]; export declare function findRefMapPartners(id: string, mapping: MappingType): string[]; export declare function mapAI(base: MapProfile, addon: MapProfile, model: EditorModel, targetns: string): [MapProfile, string]; export declare function mergeMapProfiles(mp1: MapProfile, mp2: MapProfile): MapProfile; //# sourceMappingURL=MappingCalculator.d.ts.map