import * as React from 'react'; import { OverridableStringUnion, OverrideProps } from '@mui/types'; import { ColorPaletteProp } from '../styles/types/colorSystem.js'; import { VariantProp } from '../styles/types/variants.js'; import { SxProps } from '../styles/types/theme.js'; import '@mui/system'; import '../styles/types/colorScheme.js'; import '../styles/types/focus.js'; import '../styles/types/shadow.js'; import '../styles/types/radius.js'; import '../styles/types/typography.js'; declare type CardSlot = "root"; interface CardPropsColorOverrides { } interface CardPropsVariantOverrides { } interface CardPropsSizeOverrides { } interface CardTypeMap

{ props: P & { /** * Used to render icon or text elements inside the Card if `src` is not set. * This can be an element, or just a string. */ children?: React.ReactNode; /** * The color of the component. It supports those theme colors that make sense for this component. * @default 'neutral' */ color?: OverridableStringUnion; /** * If `true`, flex direction is set to 'row'. * @default false */ row?: boolean; /** * The size of the component. * It accepts theme values between 'sm' and 'lg'. * @default 'md' */ size?: OverridableStringUnion<"sm" | "md" | "lg", CardPropsSizeOverrides>; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; /** * The variant to use. * @default 'plain' */ variant?: OverridableStringUnion; }; defaultComponent: D; } declare type CardProps = OverrideProps, D>; export { CardProps, CardPropsColorOverrides, CardPropsSizeOverrides, CardPropsVariantOverrides, CardSlot, CardTypeMap };