import { type TextProps } from '../../model/HeadlineType'; import { type Picture } from '../../model/Picture'; import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps'; import { type UniBlockContent } from '../../UniBlock/UniBlockProps'; /** * @title Пункт */ export declare type ItemList = TextProps & { image?: Picture; }; /** * @title Офисам * @default {"dataType": "offices"} */ export declare type OfficesDef = { dataType: 'offices'; }; /** * @title Банкоматам * @default {"dataType": "atms"} */ export declare type AtmsDef = RichTextProps & { dataType: 'atms'; /** @title Список */ list?: ItemList[]; }; /** @title Не выбрано * */ export declare type EmptyOfficesAtmsBlock = { /** @default "" */ dataType: ''; }; /** * @title Данные по * @default { "dataType": "" } */ export declare type OfficesAtmsBlockDef = EmptyOfficesAtmsBlock | OfficesDef | AtmsDef; /** * @title Блок офисов и банкоматов */ export declare type OfficesAtmsMapContent = UniBlockContent & { data?: OfficesAtmsBlockDef; };