import type { Message, MessageOptions, SystemEvent } from "../../shared/shared-types.js"; import { type ServerContext, type ServiceResult } from "../context.js"; import type { PreparedEvent } from "../subscriptions.js"; export declare function buildMessage(participantId: string, conversationId: string, text: string, options: MessageOptions | undefined, systemEvent: SystemEvent | null, createdAt?: Date): Message; export declare function sendMessage(ctx: ServerContext, participantId: string, conversationId: string, text: string, options?: MessageOptions): Promise>; export declare function editMessage(ctx: ServerContext, participantId: string, messageId: string, text: string): Promise>; export declare function deleteMessage(ctx: ServerContext, participantId: string, messageId: string): Promise>; export declare function addReaction(ctx: ServerContext, participantId: string, messageId: string, content: string): Promise>; export declare function removeReaction(ctx: ServerContext, participantId: string, reactionId: string): Promise>; export declare function internalSendMessage(ctx: ServerContext, conversationId: string, participantId: string, text: string, options?: MessageOptions, systemEvent?: SystemEvent, createdAt?: Date): Promise & { events: PreparedEvent[][]; }>; //# sourceMappingURL=messages.d.ts.map