import { CSSProperties, FC, ReactNode } from 'react'; export declare type CardType = 'default' | 'divided' | 'section' | 'section-list'; export interface CardProps { /** * 卡片显示类型 */ type?: CardType; /** * 标题 */ title?: ReactNode; /** * 标题栏是否使用小字体, 只在 title 是 string 时有效 */ smallTitle?: boolean; /** * 标题区右侧内容 */ headerRight?: ReactNode; /** * 是否可折叠. 启用时会捆绑使用 divided 样式 (不管用户设置的 type 是什么) */ collapsable?: boolean; /** * 最外层容器样式, 用于控制卡片的背景色, margin 等 */ style?: CSSProperties; /** * 标题区自定义样式 */ headerStyle?: CSSProperties; /** * 内容区自定义样式 */ contentStyle?: CSSProperties; children: ReactNode; className?: string; onClick?: () => void; } export declare const Card: FC; export declare const Wrapper: import("styled-components").StyledComponent<"div", any, { type?: CardType | undefined; onClick?: any; }, never>;