import { type ChatSummary, type MutationHint } from "./types.js"; import { type DrizzleExecutor } from "../drizzle.js"; /** * Updates chats archival state for a manageable channel and applies the matching top-level chatMembers transition in the same transaction. * An archived channel has no members: archiving deactivates every membership voluntarily, so the channel leaves everyone's sidebar and no one holds a position in it, while the preserved rows and roles let any manager unarchive and return. Unarchiving restores the actor from their own preserved membership and never lets an explicitly removed one bypass revocation. */ export declare function channelSetArchived(executor: DrizzleExecutor, input: { actorUserId: string; chatId: string; archived: boolean; reason?: string; }): Promise<{ chat: ChatSummary; hint: MutationHint; memberUserIds: string[]; documentsHint?: MutationHint; }>; //# sourceMappingURL=channelSetArchived.d.ts.map