import { Beat, Offer } from '../core'; import { SxProps } from '@mui/material/styles'; export interface MicroWidgetProps { allowSingleCardPeeking?: boolean; areBeatsLoading?: boolean; beats?: Beat[]; cardStyle?: 'elevation 1' | 'border' | 'flat'; endpoint?: string; headerSx?: SxProps; heightOverrides?: number | string; logOutUser?: () => void; onCardClick?: (beat?: Beat | undefined) => void; onEvent?: (event?: string | undefined) => void; onPageview?: (event?: string | undefined) => void; posthog?: TheWholeHog; showCarouselControls?: boolean; showHeader?: boolean; showIcon?: boolean; showWithMargin?: boolean; token?: string; userHasFullInsightFeedBeats?: boolean; visibleCardsCount?: number; widthOverrides?: number; } export interface MicroInsightCardProps { ariaLabel?: string; elevation?: number; heightOverrides?: number | string; isActiveCard?: boolean; onCardClick?: (beat?: Beat | undefined) => void; posthog?: TheWholeHog; showIcon?: boolean; variant?: 'outlined' | 'elevation' | undefined; widthOverrides?: number; } export interface TheWholeHog { identify: (userGuid: string, clientGuid: string, properties?: Record) => void; capture: (eventName: string, properties?: Record) => void; } export interface BeatLikeOffer extends Offer, Beat { image_url: string; pulse_campaign_name: string; } export interface WeGotTheBeat { beat: Beat; }