import React, { type HTMLAttributes, type MouseEventHandler } from 'react'; import type { SharedAccessibilityProps } from '@coinbase/cds-common/types'; import type { BoxBaseProps, BoxDefaultElement, BoxProps } from '../layout/Box'; import { type PressableProps } from '../system/Pressable'; export type CardBaseProps = Pick & Pick, 'href' | 'target' | 'background' | 'noScaleOnPress'> & Omit & { /** Size of the card. Small and medium have fixed widths and large grows with its children. */ size?: 'small' | 'medium' | 'large'; children?: React.ReactNode; onKeyDown?: HTMLAttributes['onKeyDown']; onKeyUp?: HTMLAttributes['onKeyUp']; onClick?: MouseEventHandler; }; export type CardProps = CardBaseProps & Omit, 'onClick' | 'onKeyDown' | 'onKeyUp' | 'background'>; /** * @deprecated Use ContentCard instead. This will be removed in a future major release. * @deprecationExpectedRemoval v10 */ export declare const Card: React.NamedExoticComponent; //# sourceMappingURL=Card.d.ts.map