import * as React from 'react'; import type { ContentProps } from './card_content'; import type { CardThumbnailProps } from './card_thumbnail'; export type CardSelectableMode = 'primary' | 'secondary' | 'none'; export type CardHoverEffect = 'none' | 'scaleThumbnail' | 'bgColorTransition'; type ButtonProps = { onClick?: React.MouseEventHandler href?: string target?: string ariaControls?: string ariaHasPopup?: 'menu' ariaExpanded?: boolean ariaPressed?: boolean buttonAriaLabel?: string buttonAriaLabelledBy?: string draggable?: boolean onDragStart?: React.DragEventHandler onDragEnd?: React.DragEventHandler onContextMenu?: (e: React.MouseEvent) => void buttonId?: string buttonRef?: React.Ref tabIndex?: -1 onPointerDown?: React.PointerEventHandler onPointerUp?: React.PointerEventHandler onPointerEnter?: React.PointerEventHandler onPointerLeave?: React.PointerEventHandler onPointerMove?: React.PointerEventHandler onPointerCancel?: React.PointerEventHandler }; type ConfigurationProps = { layout?: 'horizontal' | 'vertical' disabled?: boolean hoverEffect?: CardHoverEffect hoverBoundary?: 'card' | 'thumbnail' selectableMode?: CardSelectableMode selected?: boolean selectableBoundary?: 'card' | 'thumbnail' border?: 'none' | 'low' borderRadius?: 'none' | 'elementSmall' | 'element' | 'elementRelaxed' | 'elementSoftest' }; export type CardProps = ButtonProps & ConfigurationProps & ContentProps & { thumbnail?: React.ReactNode padding?: '0' | '1u' | '2u' background?: 'none' | 'neutralLow' bleedX?: boolean decorators?: React.ReactNode decoratorsInset?: '0.5u' | '1u' decoratorsBoundary?: 'card' | 'thumbnail' ariaLabelledBy?: string ariaLabel?: string stretchThumbnail?: boolean }; export declare const Card: React.ComponentType; type WithCardStateProps = { children: (state: { isHovered?: boolean; isFocused?: boolean; isMouseDown?: boolean; }) => React.ReactElement }; export declare const WithCardState: React.ComponentType; type SelectableWrapperProps = { children: React.ReactNode boundary: CardProps['selectableBoundary'] borderRadius?: CardProps['borderRadius'] | CardThumbnailProps['borderRadius'] className?: string }; export declare const SelectableWrapper: React.ComponentType; export {};