import React from 'react'; import '../../styles/base.module.css'; import { AllElementPropsWithoutRef } from '../../utils/elementTypings'; export interface CardCustomTheme { '--background-color'?: string; '--border-color'?: string; '--border-width'?: string; '--color'?: string; '--padding-horizontal': string; '--padding-vertical': string; } export type CardProps = AllElementPropsWithoutRef<'div'> & { /** * Boolean indicating whether Card will have box shadow or not. */ boxShadow?: boolean; /** * If `true` border will be drawn around the card. */ border?: boolean; /** * Heading text. */ heading?: string; /** * Heading aria-level. */ headingAriaLevel?: number; /** * Body text. */ text?: string; /** * Additional class names to apply to the card. */ className?: string; /** * Custom theme styles */ theme?: CardCustomTheme; /** * Additional children to render inside the card. */ children?: React.ReactNode; }; export declare const Card: ({ border, heading, headingAriaLevel, boxShadow, text, className, theme, children, ...divProps }: CardProps) => React.JSX.Element;