import { type ChatSummary, type MutationHint } from "./types.js"; import { type DrizzleExecutor } from "../drizzle.js"; /** * Applies validated metadata to chats and propagates only a parent's visibility through its descendants. * A public-to-private transition updates chatMembers to select one already-active human owner per channel without joining anyone, preserving independent child membership and ownership. */ export declare function channelUpdate(executor: DrizzleExecutor, input: { actorUserId: string; chatId: string; name?: string; slug?: string; topic?: string | null; kind?: "public_channel" | "private_channel"; photoFileId?: string | null; isListed?: boolean; autoJoin?: boolean; }): Promise<{ chat: ChatSummary; hint: MutationHint; }>; //# sourceMappingURL=channelUpdate.d.ts.map