/** * Field converters are used to convert the fieldId to storageId and vice versa. */ import { Plugin } from "@webiny/plugins"; import type { CmsEntryValues, CmsModelFieldWithParent } from "../types/index.js"; import type { ConverterCollection } from "../utils/converters/ConverterCollection.js"; export interface ConvertParams { field: F; value: any; converterCollection: ConverterCollection; } export declare abstract class CmsModelFieldConverterPlugin extends Plugin { static type: string; abstract getFieldType(): string; abstract convertToStorage(params: ConvertParams): CmsEntryValues; abstract convertFromStorage(params: ConvertParams): CmsEntryValues; }