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