import React from 'react'; import type { CommonProps } from './CardSwiper'; export interface CardRef { swipeLeft: () => void; swipeRight: () => void; swipeTop: () => void; swipeBottom: () => void; } declare const Card: React.ForwardRefExoticComponent>; export default Card; interface CardProps extends CommonProps { isTopCard: boolean; stackIndex: number; cardIndex: number; dimensions: { width: number; height: number; }; onSwipedCard: (index: number, direction: string) => void; }