import { AsElementProps, ElementProps } from "../../../types/shared.mjs"; import { Component } from "../../../internal/factory/factory.mjs"; import { PolymorphicComponentProps } from "../../../internal/factory/create-polymorphic-factory.mjs"; import { HeadingProps } from "../../styles/typography/heading/Heading.mjs"; import { ColumnProps, RowProps } from "../../styles/layout/grid/Grid.mjs"; import React from "react"; //#region src/components/navigation/card/Card.d.ts type CardVariant = 'primary' | 'secondary' | 'feature' | 'non-urgent' | 'urgent' | 'emergency'; type CardProps = ({ clickable?: boolean; variant?: CardVariant; } | { clickable?: false; variant: Extract; }) & ElementProps<'div'>; declare const Card: Component<{ props: CardProps; ref: HTMLDivElement; staticComponents: { Image: typeof CardImage; Content: typeof CardContent; Heading: typeof CardHeading; HeadingContainer: typeof CardHeadingContainer; Description: typeof CardDescription; Link: typeof CardLink; Actions: typeof CardActions; Group: typeof CardGroup; GroupItem: typeof CardGroupItem; }; }>; type CardImageProps = ElementProps<'img'>; declare const CardImage: ((props: PolymorphicComponentProps) => React.ReactElement) & Omit & Omit, "key" | "as" | keyof React.ImgHTMLAttributes> & { ref?: any; renderRoot?: (props: any) => any; }) | (CardImageProps & { as: keyof React.JSX.IntrinsicElements | React.JSXElementConstructor; renderRoot?: (props: Record) => any; })>, never> & Record; type CardContentProps = ElementProps<'div'>; declare const CardContent: { ({ className, ...props }: CardContentProps): React.JSX.Element; displayName: string; }; type CardHeadingContainerProps = ElementProps<'div'>; declare const CardHeadingContainer: { ({ className, ...props }: CardHeadingContainerProps): React.JSX.Element; displayName: string; }; type CardHeadingProps = { careCard?: boolean; visuallyHiddenText?: string; } & HeadingProps; declare const CardHeading: { ({ className, children, as: component, careCard, visuallyHiddenText, ...props }: CardHeadingProps): React.JSX.Element; displayName: string; }; type CardDescriptionProps = ElementProps<'p'>; declare const CardDescription: { ({ className, ...props }: CardDescriptionProps): React.JSX.Element; displayName: string; }; type CardLinkProps = ElementProps<'a'>; declare const CardLink: ((props: PolymorphicComponentProps) => React.ReactElement) & Omit & Omit, "key" | "as" | keyof React.AnchorHTMLAttributes> & { ref?: any; renderRoot?: (props: any) => any; }) | (CardLinkProps & { as: keyof React.JSX.IntrinsicElements | React.JSXElementConstructor; renderRoot?: (props: Record) => any; })>, never> & Record; type CardActionsProps = ElementProps<'ul'> & ElementProps<'div'>; declare const CardActions: { ({ className, children, ...props }: CardActionsProps): React.JSX.Element; displayName: string; }; type CardGroupProps = RowProps; declare const CardGroup: { ({ className, ...props }: CardGroupProps): React.JSX.Element; displayName: string; }; type CardGroupItemProps = ColumnProps; declare const CardGroupItem: { ({ className, ...props }: CardGroupItemProps): React.JSX.Element; displayName: string; }; //#endregion export { Card, CardActions, CardActionsProps, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardGroup, CardGroupItem, CardGroupItemProps, CardGroupProps, CardHeading, CardHeadingContainer, CardHeadingContainerProps, CardHeadingProps, CardImage, CardImageProps, CardLink, CardLinkProps, CardProps, CardVariant };