import * as React from 'react'; import type { Tab } from 'rc-tabs/lib/interface'; import type { TabsProps } from '../tabs'; export type CardType = 'inner'; export type CardSize = 'default' | 'small'; export interface CardTabListType extends Omit { key: string; /** @deprecated Please use `label` instead */ tab?: React.ReactNode; label?: React.ReactNode; } export interface CardProps extends Omit, 'title'> { prefixCls?: string; title?: React.ReactNode; extra?: React.ReactNode; bordered?: boolean; /** @deprecated Please use `styles.header` instead */ headStyle?: React.CSSProperties; /** @deprecated Please use `styles.body` instead */ bodyStyle?: React.CSSProperties; style?: React.CSSProperties; loading?: boolean; hoverable?: boolean; children?: React.ReactNode; id?: string; className?: string; rootClassName?: string; size?: CardSize; type?: CardType; cover?: React.ReactNode; actions?: React.ReactNode[]; tabList?: CardTabListType[]; tabBarExtraContent?: React.ReactNode; onTabChange?: (key: string) => void; activeTabKey?: string; defaultActiveTabKey?: string; tabProps?: TabsProps; classNames?: { header?: string; body?: string; extra?: string; title?: string; actions?: string; cover?: string; }; styles?: { header?: React.CSSProperties; body?: React.CSSProperties; extra?: React.CSSProperties; title?: React.CSSProperties; actions?: React.CSSProperties; cover?: React.CSSProperties; }; } declare const Card: React.ForwardRefExoticComponent>; export default Card;