import type { ComponentProps, Ref } from 'react'; export type CardVariant = 'default' | 'elevated' | 'interactive'; export interface CardProps extends Omit, 'ref'> { /** `elevated` lifts the slab; `interactive` makes the whole card follow its title link. */ variant?: CardVariant; /** Element to render. Use `li` inside lists, `article` for standalone items. */ as?: 'div' | 'article' | 'section' | 'li'; ref?: Ref; } declare function CardRoot({ variant, as, className, ...rest }: CardProps): import("react").JSX.Element; declare function CardHeader({ className, ...rest }: ComponentProps<'div'>): import("react").JSX.Element; export interface CardTitleProps extends Omit, 'ref'> { /** Heading level. Defaults to `h3`; pick the level that fits the page outline. */ as?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; ref?: Ref; } declare function CardTitle({ as, className, ...rest }: CardTitleProps): import("react").JSX.Element; declare function CardDescription({ className, ...rest }: ComponentProps<'p'>): import("react").JSX.Element; declare function CardContent({ className, ...rest }: ComponentProps<'div'>): import("react").JSX.Element; declare function CardFooter({ className, ...rest }: ComponentProps<'div'>): import("react").JSX.Element; /** A bordered slab that groups related content. Compose with Card.Header, Card.Title, Card.Description, Card.Content and Card.Footer. */ export declare const Card: typeof CardRoot & { Header: typeof CardHeader; Title: typeof CardTitle; Description: typeof CardDescription; Content: typeof CardContent; Footer: typeof CardFooter; }; export {};