import { BaseFieldConfig } from './base-field-config'; import { AutocompleteOptions, CheckboxOptions, CustomOptions, DateListOptions, DropdownOptions, RadioOptions, SwitchOptions } from './field-options'; import { FieldSendModeType } from './types-helper'; import { Prettify } from '../../../shared/models'; export type AggregationFieldConfig = Prettify; export type AggregationTooltipType = { properties: Record; } & (TooltipPlainText | TooltipLocalizedText | TooltipFormattedDate | TooltipTranslationKey | TooltipTranslatedDate); export type TooltipPlainText = { type: 'text'; separator?: string; }; export type TooltipLocalizedText = { type: 'localizeValue'; translateKey: string; }; export type TooltipFormattedDate = { type: 'date'; format: string; separator?: string; }; export type TooltipTranslationKey = { type: 'translate'; prefix: string; separator?: string; }; export type TooltipTranslatedDate = { type: 'translatedDate'; format: string; translateKey: string; };