/** * Copyright (c) 2020-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { type PlainObject } from '@finos/legend-shared'; import { type ModelSchema } from 'serializr'; import type { PureProtocolProcessorPlugin } from '../../../../PureProtocolProcessorPlugin.js'; import { type V1_EmbeddedData, V1_ExternalFormatData, V1_ModelStoreData, V1_DataElementReference, V1_RelationElementsData, V1_RelationRowTestData, V1_RelationElement } from '../../../model/data/V1_EmbeddedData.js'; import { V1_DataElement } from '../../../model/packageableElements/data/V1_DataElement.js'; export declare const V1_DATA_ELEMENT_PROTOCOL_TYPE = "dataElement"; export declare enum V1_EmbeddedDataType { MODEL_STORE_DATA = "modelStore", RELATION_ELEMENTS_DATA = "relationAccessor", EXTERNAL_FORMAT_DATA = "externalFormat", DATA_ELEMENT_REFERENCE = "reference", RELATIONAL_DATA = "relationalCSVData" } export declare const V1_modelStoreDataModelSchema: (plugins: PureProtocolProcessorPlugin[]) => ModelSchema; export declare const V1_relationRowTestDataModelSchema: ModelSchema; export declare const V1_relationElementModelSchema: ModelSchema; export declare const V1_relationElementsDataModelSchema: ModelSchema; export declare const V1_externalFormatDataModelSchema: ModelSchema; export declare const V1_dataElementReferenceModelSchema: ModelSchema; export declare function V1_serializeEmbeddedDataType(protocol: V1_EmbeddedData, plugins: PureProtocolProcessorPlugin[]): PlainObject; export declare function V1_deserializeEmbeddedDataType(json: PlainObject, plugins: PureProtocolProcessorPlugin[]): V1_EmbeddedData; export declare const V1_dataElementModelSchema: (plugins: PureProtocolProcessorPlugin[]) => ModelSchema; //# sourceMappingURL=V1_DataElementSerializationHelper.d.ts.map