import { type ButtonVersion } from '../../model/ButtonVersion'; import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType'; /** * @title Кнопка сброса */ declare type ResetButton = { /** @title Текст кнопки */ text: string; /** @title Цвет кнопки */ version: ButtonVersion; }; /** * @title Плитка "Не найдено" */ export declare type NotFoundDef = TitleProps & DescriptionProps; declare type CommonFiltrationDef = { resetButton?: ResetButton; notFound?: NotFoundDef; }; /** * @title Сетка */ export declare type GridSection = LabelProps & { /** * @title Количество отображаемых предметов * @minimum 1 */ topItemsCount?: number; /** @default grid */ view: 'grid'; }; /** * @title Карусель */ declare type CarouselSection = { /** @default carousel */ view: 'carousel'; }; export declare type BaseFiltrationContent = CommonFiltrationDef & { /** * @title Секция с вложенными блоками * @default { * "view": "grid" * } */ blocksSection?: GridSection | CarouselSection; }; export {};