import { HTMLAttributes, RefAttributes, default as React } from 'react'; import { SafeOmit } from '../../.deps/utils/src'; export interface InheritedDivProps extends SafeOmit, 'children' | 'style'>, RefAttributes { } export interface InheritedTitleProps extends SafeOmit, 'children' | 'style'>, RefAttributes { } export interface CardOwnProps { /** * Content of the card. */ children: React.ReactNode; /** * Controls whether the card has a border. * @default false */ border?: boolean; } export interface CardProps extends CardOwnProps, InheritedDivProps { } export interface CardSubcomponentsOwnProps { children: React.ReactNode; } export interface CardHeaderProps extends CardSubcomponentsOwnProps, InheritedDivProps { } export interface CardFooterProps extends CardSubcomponentsOwnProps, InheritedDivProps { } export interface CardContentProps extends CardSubcomponentsOwnProps, InheritedDivProps { } export interface CardTitleProps extends CardSubcomponentsOwnProps, InheritedTitleProps { } export declare const Card: (({ children, border, ...rest }: CardProps) => React.JSX.Element) & { Header: React.FC & { displayName: string; }; Content: React.FC & { displayName: string; }; Footer: React.FC & { displayName: string; }; Title: React.FC & { displayName: string; }; };