import type { Placement } from '@floating-ui/dom' export interface IInsightAction { link: string text: string name: IInsightActionName type: IInsightActionType customSettings: string } export enum IInsightActionType { INTERNAL = 'internal', EXTERNAL = 'external', } export enum IInsightNotificationCounterVariant { COUNTER = 'counter', DOT = 'dot', } export enum IInsightActionName { CONNECTOR = 'AppsSection', COMPANY_INFO = 'CompanyInfo', } export interface IInsightButtonProps { isItem: boolean dataTestId: string tooltip?: string actionData?: IInsightAction insightId?: string isRead?: boolean demo: boolean tooltipStrategy: 'absolute' | 'fixed' tooltipCorner: Placement } export interface IInsightCTAEventData { actionData: IInsightAction insightId: string fromTooltip?: boolean placementId?: string } export interface IInsgihtOpenEventData { notificationId: string placementId: string }