import { ICamelDataformatDefinition } from '../../../models'; export declare class DataFormatService { /** * Get the dataformat catalog map from the Camel catalog. */ static getDataFormatMap(): Record; /** * Get the DataFormat schema from the DataFormat catalog. DataFormat catalog has its properties schema in itself, * which is combined in @kaoto-next/camel-catalog. * @param dataFormatCatalog The {@link ICamelDataformatDefinition} object represents the DataFormat to get the schema. */ static getDataFormatSchema(dataFormatCatalog?: ICamelDataformatDefinition): import("json-schema").JSONSchema4 | undefined; /** * Parse the dataformat model from the parent step model object. * @param dataFormatCatalogMap The language catalog map to use as a dictionary. * @param parentModel The parent step model object which has expression as its parameter. For example `marshal` contents. * */ static parseDataFormatModel(dataFormatCatalogMap: Record, parentModel: Record): { dataFormat: ICamelDataformatDefinition | undefined; model: Record | undefined; }; private static doParseDataFormatModel; private static getDefinitionFromModelName; /** * Set the DataFormat model to the parent step model object. * @param dataFormatCatalogMap The DataFormat catalog map to use as a dictionary. * @param parentModel The parent step model object which has DataFormat as its parameter such as `marshal` and `unmarshal` * @param dataFormatModelName The DataFormat model name string to set. e.g. `json`. * @param newDataFormatModel The new DataFormat model to set */ static setDataFormatModel(dataFormatCatalogMap: Record, parentModel: Record, dataFormatModelName: string, newDataFormatModel: Record): void; }