import { default as React } from 'react'; import { CardBackgroundProps } from '../CardBackground/CardBackground'; import { ButtonVariant } from '../Shared/types'; export interface NotificationAction { label: string; onClick: (metadata?: NotificationMetadata) => void; variant?: ButtonVariant; disabled?: boolean; hidden?: boolean; } export interface NotificationUser { name: string; profile_picture?: string; } /** @deprecated use NotificationUser */ export type NoitificationUser = NotificationUser; export interface NotificationCardProps { _id: string; user: NotificationUser; body: string | React.ReactNode | ((metadata?: NotificationMetadata) => React.ReactNode); date: string | Date; actions?: [NotificationAction, NotificationAction] | [NotificationAction]; read?: boolean; className?: string; metadata?: NotificationMetadata; onClick?: (metadata?: NotificationMetadata) => void; cardBackground?: Omit; } declare const NotificationCardBase: ({ user, body, date, actions, read, className, metadata, onClick, cardBackground }: NotificationCardProps) => import("react/jsx-runtime").JSX.Element; declare const NotificationCard: typeof NotificationCardBase; export default NotificationCard; export type NotificationCardComponent = typeof NotificationCard;