import * as React from 'react'; import { Flexible } from '../types'; import { BoxProps } from '../Box'; import { FlexProps } from '../Flex'; export declare type LocalCardProps = { /** Variant of the card. */ variant?: Flexible<'shadowed' | 'bordered', string>; /** Indicates if the card is standalone. */ standalone?: boolean; /** Sets the title of the card. */ title?: string | React.ReactElement; /** Sets the footer of the card. */ footer?: string | React.ReactElement; /** Sets the header addon of the card. */ headerAddon?: React.ReactElement; }; export declare type CardProps = BoxProps & LocalCardProps; export declare type CardContextOptions = CardProps & { descriptionId?: string; titleId?: string; themeKey?: string; }; export declare const CardContext: React.Context; export declare const Card: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; }; export declare type LocalCardContentProps = {}; export declare type CardContentProps = BoxProps & LocalCardContentProps; export declare function CardContent(props: CardContentProps): JSX.Element; export declare type LocalCardTitleProps = {}; export declare type CardTitleProps = BoxProps & LocalCardTitleProps; export declare function CardTitle(props: CardTitleProps): JSX.Element; export declare type LocalCardHeaderProps = {}; export declare type CardHeaderProps = FlexProps & LocalCardHeaderProps; export declare function CardHeader(props: CardHeaderProps): JSX.Element; export declare type LocalCardFooterProps = {}; export declare type CardFooterProps = BoxProps & LocalCardFooterProps; export declare function CardFooter(props: CardFooterProps): JSX.Element;