import React from 'react'; import { CardProps as AntdCardProps } from 'antd/lib/card'; import Grid from './Grid'; import Meta from './Meta'; export type { CardGridProps } from './Grid'; export type { CardMetaProps } from './Meta'; export declare type CardType = 'inner'; export declare type CardSize = 'default' | 'small'; export interface CardTabListType { key: string; tab: React.ReactNode; disabled?: boolean; } export interface CardProps extends AntdCardProps { description?: string; direction?: 'vertical' | 'horizontal'; background?: boolean | React.ReactNode; coverSizeType?: 'square' | 'rectangle' | 'longrectangle'; coverBgType?: 'pattern'; coverFillType?: 'fill' | 'contain'; borderType?: 'none' | 'bordered ' | 'shadow1' | 'shadow2'; actionSeparator?: boolean; actionAlign?: 'left' | 'right' | 'justify' | 'center'; } export interface CardInterface extends React.FC { Grid: typeof Grid; Meta: typeof Meta; } declare const Card: CardInterface; export { Card }; export default Card;