import * as React from 'react'; import type { HasComponent, HasRef, HasRootRef } from '../../types'; import { type CardProps } from '../Card/Card'; import { type TappableOmitProps } from '../Tappable/Tappable'; export interface ContentCardProps extends HasRootRef, HasComponent, Omit, Omit, keyof React.HTMLAttributes>, HasRef { /** Текст над заголовком. */ overTitle?: React.ReactNode; /** Заголовок. */ title?: React.ReactNode; /** Позволяет поменять тег используемый для заголовка. */ titleComponent?: React.ElementType; /** Текст. */ description?: React.ReactNode; /** Нижний текст. */ caption?: React.ReactNode; /** Максимальная высота изображения. */ maxHeight?: number; /** * Внешний вид карточки. */ mode?: CardProps['mode']; /** * Пользовательское значения стиля `object-fit` для картинки * Подробнее можно почитать в [документации](https://developer.mozilla.org/ru/docs/Web/CSS/object-fit). */ imageObjectFit?: React.CSSProperties['objectFit']; } /** * @see https://vkui.io/components/content-card */ export declare const ContentCard: ({ overTitle, title, titleComponent, description, caption, className, mode, style, getRootRef, getRef, maxHeight, src, srcSet, alt, width, height, crossOrigin, decoding, loading, referrerPolicy, sizes, useMap, fetchPriority, imageObjectFit, hasHover, hasActive, Component, ...restProps }: ContentCardProps) => React.ReactNode; //# sourceMappingURL=ContentCard.d.ts.map