import { type ChatSummary, type MutationHint } from "./types.js"; import { type DrizzleExecutor } from "../drizzle.js"; /** * Finds or creates the canonical one-to-one chats conversation and active chatMembers rows for two eligible identities. * Serializing participant-key lookup and creation guarantees repeated or concurrent requests resolve to one DM rather than parallel histories. */ export declare function directMessageCreate(executor: DrizzleExecutor, actorUserId: string, otherUserId: string): Promise<{ chat: ChatSummary; hint?: MutationHint; }>; //# sourceMappingURL=directMessageCreate.d.ts.map