import React from "react"; export type CardProps = { collapsible?: boolean; defaultOpen?: boolean; title?: React.ReactNode | string; subInfo?: React.ReactNode; className?: string; hoverable?: boolean; shadow?: boolean; /** * 用于测试的标识符,会传递到卡片根容器元素。 */ "data-testid"?: string; } & React.DOMAttributes; declare const Card: React.ForwardRefExoticComponent<{ collapsible?: boolean | undefined; defaultOpen?: boolean | undefined; title?: React.ReactNode | string; subInfo?: React.ReactNode; className?: string | undefined; hoverable?: boolean | undefined; shadow?: boolean | undefined; /** * 用于测试的标识符,会传递到卡片根容器元素。 */ "data-testid"?: string | undefined; } & React.DOMAttributes & { children?: React.ReactNode; } & React.RefAttributes>; export default Card;