import React from 'react'; import { CardProps as MuiCardProps } from '@mui/material'; import { CardHeaderProps as BaseCardHeaderProps } from './CardHeader'; import { ButtonLinkProps } from '../ButtonLink'; import { CardTableProps } from './CardTable'; import { CardListProps } from './CardList'; import { CardContentProps } from './CardContent'; interface CardLinkInterface extends ButtonLinkProps { key: string; title: string; href: string; icon?: React.ReactElement; } interface CardActionInterface { key: string; component: React.ReactNode; } interface CardHeaderProps extends BaseCardHeaderProps { icon: React.ReactElement; subtitle?: CardHeaderProps['subheader']; action?: React.ReactNode; } export interface CardProps extends Omit { title?: CardHeaderProps['title']; subtitle?: CardHeaderProps['subheader']; icon?: CardHeaderProps['avatar']; header?: CardHeaderProps; content?: { title?: string; subtitle?: string; }; contentProps?: CardContentProps; list?: CardListProps; table?: CardTableProps; links?: CardLinkInterface[]; actions?: CardActionInterface[]; py?: number; disableLastGutterBottom?: boolean; disableBorderRadiusTop?: boolean; disableBorderRadiusBottom?: boolean; } declare const Card: React.FC; export default Card;