import { TBaseActionParams } from '../params'; export interface TSendMessageParams extends TBaseActionParams { personUrl: string; text: string; } export interface TSyncConversationParams extends TBaseActionParams { personUrl: string; } export interface TNvSendMessageParams extends TBaseActionParams { personUrl: string; text: string; subject: string; } export interface TNvSyncConversationParams extends TBaseActionParams { personUrl: string; } export interface TConversationPollRequest { personUrl: string; since?: string; type: TConversationType; } export interface TMessage { id: string; sender: TMessageSender; text: string; time: string; } export interface TConversationPollResult { personUrl: string; since?: string; type: TConversationType; messages: TMessage[]; } export declare const CONVERSATION_TYPE: { readonly st: "st"; readonly nv: "nv"; }; export type TConversationType = (typeof CONVERSATION_TYPE)[keyof typeof CONVERSATION_TYPE]; export declare const MESSAGE_SENDER: { readonly us: "us"; readonly them: "them"; }; export type TMessageSender = (typeof MESSAGE_SENDER)[keyof typeof MESSAGE_SENDER]; //# sourceMappingURL=message.d.ts.map