import './Banner.css'; import { IconComponent } from '@consta/icons/Icon'; import React from 'react'; import { MixSpaceProps, Space } from '../../mixs/MixSpace'; import { PropsWithJsxAttributes } from '../../utils/types/PropsWithJsxAttributes'; export declare const bannerPropSize: readonly ["xs", "s", "m", "l"]; export type BannerPropSize = (typeof bannerPropSize)[number]; export declare const bannerPropSizeDefault: BannerPropSize; export declare const bannerPropView: readonly ["filled", "ghost", "transparent"]; export type BannerPropView = (typeof bannerPropView)[number]; export declare const bannerPropViewDefault: BannerPropView; export declare const bannerPropStatus: readonly ["normal", "warning", "alert", "success", "system"]; export type BannerPropStatus = (typeof bannerPropStatus)[number]; export declare const bannerPropStatusDefault: BannerPropStatus; export declare const bannerPropForm: readonly ["default", "round", "brick"]; export type BannerPropForm = (typeof bannerPropForm)[number]; export declare const bannerPropFormDefault: BannerPropForm; export type BannerProps = PropsWithJsxAttributes<{ leftSide?: React.ReactNode; rightSide?: React.ReactNode; icon?: IconComponent; size?: BannerPropSize; view?: BannerPropView; space?: MixSpaceProps; itemsGap?: Space | [Space, Space]; status?: BannerPropStatus; form?: BannerPropForm; }>; export declare const cnBanner: import("@bem-react/classname").ClassNameFormatter; /** * Компонент Banner, отображающий содержимое слева и справа. * Поддерживает иконки, размеры, виды, статусы и формы. * * @property {React.ReactNode} [leftSide] - Содержимое на левой стороне. * @property {React.ReactNode} [rightSide] - Содержимое на правой стороне. * @property {IconComponent} [icon] - Иконка. * @property {BannerPropSize} [size] - Размер компонента. * @property {BannerPropView} [view] - Визуальный стиль. * @property {MixSpaceProps} [space] - Параметры отступов. * @property {Space | [Space, Space]} [itemsGap] - Отступы между элементами. * @property {BannerPropStatus} [status] - Статус (цветовая схема). * @property {BannerPropForm} [form] - Форма компонента. */ export declare const Banner: React.ForwardRefExoticComponent & React.RefAttributes>;