import * as React from 'react'; import { ThemeInterface } from '../../theme/magma'; export interface CardProps extends React.LabelHTMLAttributes { /** * @children required */ children: React.ReactNode; /** * Sets the alignment of the card content * @default CardAlignment.left */ align?: CardAlignment; /** * Color for the background and border-color, set by CSS. */ background?: string; /** * If a value is passed, the card will be styled as a callout for the specified type. * @default none */ calloutType?: CardCalloutType; /** * Sets the radius size used by the card corners. * @default CardBorderRadius.medium */ borderRadius?: CardBorderRadius; /** * Sets whether all corners are rounded or the top-left corner is square. * @default CardCornerTreatment.all */ cornerTreatment?: CardCornerTreatment; /** * If true, card will render with a box-shadow * @default false */ hasDropShadow?: boolean; isInverse?: boolean; /** * @internal */ testId?: string; /** * Width of the component, set by CSS. */ width?: string | number; } export declare enum CardAlignment { center = "center", left = "left", right = "right" } export declare enum CardCalloutType { danger = "danger", primary = "primary", success = "success", warning = "warning", info = "info" } export declare enum CardBorderRadius { none = "none", extraSmall = "extraSmall", small = "small", medium = "medium", large = "large", extraLarge = "extraLarge" } export declare enum CardCornerTreatment { all = "all", squareTopLeft = "squareTopLeft" } export declare function buildCalloutBackground(props: CardProps & { theme: ThemeInterface; }): string; interface NavTabsContextInterface { isInverse?: boolean; } export declare const CardContext: React.Context; export declare const Card: React.ForwardRefExoticComponent>; export {};