import { SxProps } from '@mui/material'; import { ReactElement } from 'react'; import type { DraggableAndDroppableProps } from '../draggable/types.js'; import { CardThumbnailProps } from './CardThumbnail.js'; type CardProps = { name: string | JSX.Element; alt: string; id?: string; /** * Classname for the element. * Useful for selecting many cards at the same time (eg. drag targets). */ className?: string; /** * creator name */ creator?: string; height?: number; /** * image link to display as thumbnail */ thumbnail?: string; footer?: string | ReactElement; sx?: SxProps; /** * Whether the card should expand to take all available space */ fullWidth?: boolean; isSelected?: boolean; dense?: boolean; elevation?: boolean; menu?: JSX.Element; content?: string | JSX.Element | JSX.Element[]; to?: string; type?: CardThumbnailProps['type']; onThumbnailClick?: () => void; } & Partial; declare const Card: ({ footer, id, creator, height: heightProp, name, sx, dense, thumbnail, menu, fullWidth, elevation, content, alt, to, type, isOver, isDragging, isSelected, className, onThumbnailClick, }: CardProps) => JSX.Element; export default Card;