import { OmitInternalProps } from '../../type-utils/omit-props'; import { HTMLChakraProps, SlotRecipeProps, UnstyledProp } from '@chakra-ui/react/styled-system'; type CardRecipeProps = { /** Controls padding and gap scaling. */ size?: SlotRecipeProps<"nimbusCard">["size"]; /** Controls visual treatment (border, shadow, background). */ variant?: SlotRecipeProps<"nimbusCard">["variant"]; } & UnstyledProp; export type CardRootSlotProps = HTMLChakraProps<"div", CardRecipeProps>; export type CardHeaderSlotProps = HTMLChakraProps<"div">; export type CardBodySlotProps = HTMLChakraProps<"div">; export type CardFooterSlotProps = HTMLChakraProps<"div">; /** Props for the Card.Root component. */ export type CardProps = OmitInternalProps & { children?: React.ReactNode; ref?: React.Ref; [key: `data-${string}`]: unknown; }; /** Props for the Card.Header component. */ export type CardHeaderProps = OmitInternalProps & { children?: React.ReactNode; ref?: React.Ref; }; /** Props for the Card.Body component. */ export type CardBodyProps = OmitInternalProps & { children?: React.ReactNode; ref?: React.Ref; }; /** Props for the Card.Footer component. */ export type CardFooterProps = OmitInternalProps & { children?: React.ReactNode; ref?: React.Ref; }; export {};