import React, { PropsWithChildren } from 'react';
export declare type CardContextType = {
    isExpanded: boolean;
    toggleExpanded: () => void;
};
declare const CardContext: React.Context<CardContextType>;
export { CardContext };
export declare type CardProps = {
    appearance?: 'primary' | 'secondary';
    borderless?: boolean;
    stacked?: boolean;
    className?: string;
    expanded?: boolean;
    onExpansionChange?: (_: boolean) => void;
    forceClose?: boolean;
    showTag?: boolean;
};
export declare function Card({ appearance, borderless, stacked, className, expanded, onExpansionChange, forceClose, showTag, children, }: PropsWithChildren<CardProps>): JSX.Element;
