import { type ChatSummary, type MutationHint } from "./types.js"; import { type DrizzleExecutor } from "../drizzle.js"; /** * Updates the chats posting, joining, and visibility policy fields that the authorized channel manager explicitly supplied. * Advancing the channel version with the policy write ensures permission checks and subscribed clients converge on the same rules. */ export declare function channelPolicyUpdate(executor: DrizzleExecutor, input: { actorUserId: string; chatId: string; retentionMode?: "inherit" | "forever" | "duration"; retentionSeconds?: number | null; defaultExpiryMode?: "none" | "after_send" | "after_read"; defaultSelfDestructSeconds?: number | null; defaultAfterReadScope?: "any_reader" | "all_readers"; }): Promise<{ chat: ChatSummary; hint: MutationHint; }>; //# sourceMappingURL=channelPolicyUpdate.d.ts.map