import { PolymorphicRef } from '@cloud-ru/ds-card'; import { ComponentPropsWithoutRef, ElementType, MouseEventHandler, ReactElement } from 'react'; type BaseCardBannerProps = { /** Заголовок карточки */ title: string; /** Описание */ content: string; /** Текст кнопки действия */ actionLabel: string; /** Изображение */ image: { src: string; alt: string; }; /** Колбэк закрытия. При наличии отображается кнопка «Закрыть» */ onClose?: MouseEventHandler; /** Неактивное состояние */ disabled?: boolean; /** CSS-класс корневого элемента */ className?: string; /** Support prop для тестов */ 'data-test-id'?: string; }; export type CardBannerProps = BaseCardBannerProps & { /** Полиморфный элемент: `'div'`, `'a'`, `{Link}` и т.д. */ as?: T; /** Ref на реальный DOM-элемент / инстанс */ innerRef?: PolymorphicRef; } & Omit, keyof BaseCardBannerProps | 'as' | 'ref'>; export declare function CardBanner({ title, content, actionLabel, image, onClose, disabled, className, as, innerRef, 'data-test-id': dataTestId, ...rest }: CardBannerProps): ReactElement | null; export {};