import { Application, ApplicationInfo, Message, RawMessage, SEND_MESSAGE_VIA, Conversation, CONVERSATION_BILLING_EVENT } from '@peacom/model'; interface Contact { id: string; name?: string; phone?: string; urlRef?: string; isSubscribed: boolean; extraData: Record; avatarUrl?: string; language: string; country: string; } export interface ApiCoreHandleParams { to: ApplicationInfo; rawMessage: RawMessage; replyToApplicationMessageId?: string; sentTime: number; extraData?: Record; applicationMessageId: string; from: Contact; conversation?: Conversation; bulkRef?: string; } export interface ApiCoreLiveAgentParams { to: ApplicationInfo; sentTime: number; extraData?: Record; applicationMessageId?: string; from: Contact; conversation?: Conversation; } export interface ApiCoreLiveAgentResponse { conversation?: Conversation; } export interface ApiCoreHandleResponse { receiverId: string; messages: Array; contact: unknown; applicationInfo: ApplicationInfo; conversation?: Conversation; } export interface ApiCoreBulkCampaignMessageRequest { uiMessageId: string; bulkContactId: number; params?: Record; applicationId?: Application; } export interface ApiCoreBulkCampaignMessageResponse { id: number; status: number; createdDate: number; [key: string]: unknown; } export interface ApiChannelMessageParams { applicationInfo?: ApplicationInfo; message: Message; receiverId: string; sendVia?: SEND_MESSAGE_VIA; conversation?: Conversation; queueOption?: Record; [key: string]: unknown; } export interface ApiChannelMessageResponse { applicationMessageId: string; extraData?: Record; [key: string]: unknown; } export interface ApiPartnerConversation { messageId: string; channelId?: string; conversationId: string; type: CONVERSATION_BILLING_EVENT; extraData: any; [key: string]: any; } export type LOG_FUNCTION = ((t: unknown) => void) | null; export declare const MICROSERVICE_URL: Record; export declare const INTEGRATED_CHANNEL: Application[]; export interface ApiReactionParams { applicationId: Application; rawMessage: RawMessage; replyToApplicationMessageId: string; sentTime: number; applicationMessageId: string; extraData?: Record; conversation?: Conversation; } export {};