import { type ChatRole, type MutationHint } from "./types.js"; import { type DrizzleExecutor } from "../drizzle.js"; /** * Adds or restores an eligible identity in chatMembers and updates chats to atomically transfer private ownership when requested. * A fresh membership epoch, service event, and attachment-gated documents hint make the independent access grant unambiguous to clients. */ export declare function channelMemberAdd(executor: DrizzleExecutor, input: { actorUserId: string; chatId: string; userId: string; role?: ChatRole; }): Promise<{ hint: MutationHint; documentsHint?: MutationHint; }>; //# sourceMappingURL=channelMemberAdd.d.ts.map