import React, { PropsWithoutRef, RefAttributes } from 'react'; import type { ReactNode } from 'react'; import { CSS } from '../theme/stitches.config'; import type { UseCardProps } from './use-card'; import { Image, Divider } from '../index'; import { StyledCardHeader as CardHeader, StyledCardFooter as CardFooter, StyledCardBody as CardBody } from './card.styles'; interface Props extends Omit { children: ReactNode | ReactNode[]; as?: keyof JSX.IntrinsicElements; } export declare type CardProps = Props & { css?: CSS; }; declare type CardComponent = React.ForwardRefExoticComponent & RefAttributes> & { Header: typeof CardHeader; Body: typeof CardBody; Footer: typeof CardFooter; Image: typeof Image; Divider: typeof Divider; }; declare const _default: CardComponent; export default _default;