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;
    className?: string;
    expanded?: boolean;
    onExpansionChange?: (_: boolean) => void;
    forceClose?: boolean;
    showTag?: boolean;
};
export declare function Card({ appearance, borderless, className, expanded, onExpansionChange, forceClose, showTag, children, }: PropsWithChildren<CardProps>): JSX.Element;
