import type { Conversation } from "../../shared/shared-types.js"; import { type AfterHook, type ServerContext, type ServiceResult } from "../context.js"; export declare function readConversationCached(ctx: ServerContext, conversationId: string): Promise; export declare function emitConversationDeleted(ctx: ServerContext, conversationId: string, formerParticipantIds: string[], deletedInvites: { fromParticipantId: string; toParticipantId: string; }[]): AfterHook[]; export declare function createConversation(ctx: ServerContext, participantId: string, maxSize?: number): Promise>; export declare function createInvite(ctx: ServerContext, fromParticipantId: string, conversationId: string, toParticipantId: string): Promise>; export declare function createInviteAdmin(ctx: ServerContext, fromParticipantId: string, conversationId: string, toParticipantId: string): Promise>; export declare function revokeInvite(ctx: ServerContext, participantId: string, conversationId: string, toParticipantId: string): Promise>; export declare function revokeInviteByPair(ctx: ServerContext, conversationId: string, fromParticipantId: string, toParticipantId: string): Promise>; export declare function acceptInvite(ctx: ServerContext, participantId: string, conversationId: string): Promise>; export declare function joinConversation(ctx: ServerContext, conversationId: string, participantId: string): Promise>; export declare function declineInvite(ctx: ServerContext, participantId: string, conversationId: string): Promise>; export declare function leaveConversation(ctx: ServerContext, participantId: string, conversationId: string): Promise>; //# sourceMappingURL=conversations.d.ts.map