import { SENDER_TYPE } from '../config/constants'; export interface Widget { widgetId: number; widgets_type: number; type: string; widget: any; } export interface Message { text: string; sender: SENDER_TYPE; widgets?: Widget[]; messageId: string; reaction?: 'like' | 'dislike'; showActionButtons?: boolean; status?: MessageStatus; } export interface NavigationEntry { mainPage: 'login' | 'shopping' | 'style' | 'order-tracking'; subIndex: number; allowBack: boolean; } export interface User { firstName: string; lastName: string; } export declare enum View { CHAT_HISTORY = "chatHistory", CHAT_CONTAINER = "chatContainer" } export declare enum Reaction { LIKE = "like", DISLIKE = "dislike" } export declare enum MessageStatus { PENDING = "pending", SENT = "sent", DELIVERED = "delivered", READ = "read" } export declare const MessageStatusPriority: { [key in MessageStatus]: number; }; export interface BotMessageProps { text: string; messageId: string; widgets?: Widget[]; showActionButtons?: boolean; } export interface MessageReactionProps { messageId: string; reaction: Reaction; } export interface subscriptionDataObjectType { subscriptionId: string; productName: string; price: number; frequency: string; nextBillingDate: string; statusText: string; imageUrl: string; currencySymbol: string; quantity: number; sellingPlanId: string; subscriptionPlanName: string; storeId: string; }