import { type KeyboardEvent, type MouseEvent, type ReactNode } from "react"; import { type SX, type ThemeKeys } from "../../theme"; import { type ImageProps } from "../Image"; import { type TextProps } from "../Text"; export interface CardProps { children?: ReactNode; color?: "grey1" | "grey2" | "grey3" | "indigo2" | "purple1" | "purple2" | "tomato2"; variant?: "animated-light" | "animated-dark" | "dashed" | "elevated" | "highlighted" | "outlined" | "raised" | "selected"; radius?: 4 | 6; gap?: 0 | 4 | 8 | 12 | 16 | 28 | 32; paddingBlock?: 0 | 8 | 12 | 16 | 24 | 28 | 32; paddingInline?: 0 | 8 | 16 | 24 | 32; paddingLeft?: 0 | 16 | 32; paddingRight?: 0 | 16 | 32; padding?: 0 | 12 | 16 | 32 | 40; sx?: SX; onHoverChange?: (isHovering: boolean) => void; onSelect?: (event: MouseEvent | KeyboardEvent) => void; onClose?: () => void; } export declare const Card: (props: CardProps & import("react").RefAttributes) => import("react").ReactElement> | null; interface CardHeaderProps { children: ReactNode; sx?: SX; } export declare function CardHeader(props: CardHeaderProps): JSX.Element; interface CardHeaderTitleProps { children?: ReactNode; variant?: TextProps["variant"]; component?: Exclude; sx?: SX; } export declare function CardHeaderTitle(props: CardHeaderTitleProps): JSX.Element; interface CardHeaderActionsProps { children?: ReactNode; sx?: SX; } export declare function CardHeaderActions(props: CardHeaderActionsProps): JSX.Element; interface CardContentProps { children?: ReactNode; sx?: SX; gap?: ThemeKeys<"space", 0 | 4 | 8 | 12 | 16 | 24>; padding?: 0 | 12 | 16 | 32; } export declare function CardContent(props: CardContentProps): JSX.Element; interface CardImageProps extends ImageProps { height: 280 | "100%"; hasBorderBottom?: boolean; } export declare function CardImage(props: CardImageProps): JSX.Element; interface CardFooterProps { children?: ReactNode; /** * Determines if the footer should have padding. * @default true */ hasPadding?: boolean; sx?: SX; separator?: "solid" | "dashed" | "none"; } export declare function CardFooter(props: CardFooterProps): JSX.Element; export {};