import { PropsWithChildren, ReactNode, CSSProperties } from "react"; import { AvatarProps } from "../Avatar/avatar"; export declare type normalType = "primary" | "default" | "danger" | "secondary" | "success" | "info" | "light" | "warning" | "dark"; export interface CardProps { /** 卡片类型结构 */ type?: "default" | "id"; /** 是*/ style?: CSSProperties; /** 显示的图片 */ img?: ReactNode; /** 头像传参,参考avatar组件*/ avatarProps?: PropsWithChildren; /** 头像旁区域 */ idText?: ReactNode; /** 底部标题,也可以通过children自定义 */ bottomTitle?: ReactNode; /** 底部描述,也可以通过children自定义 */ bottomDescription?: ReactNode; /** 卡片底座颜色 */ cardType?: normalType; /** 卡片底座凹凸 */ elevateCard?: "block" | "wrapper"; /** 卡片上部颜色 */ imgType?: normalType; /** 卡片上部凹凸 */ elevateImg?: "block" | "wrapper"; /** 卡片底部颜色 */ bottomType?: normalType; /** 卡片底部凹凸 */ elevateBottom?: "block" | "wrapper"; /** 外部容器额外类名 */ className?: string; } declare function Card(props: PropsWithChildren): JSX.Element; declare namespace Card { var defaultProps: { type: string; cardType: string; elevateCard: string; imgType: string; elevateImg: string; bottomType: string; elevateBottom: string; }; } export default Card;