import { type ChatAccess } from "./chatAccess.js"; import { type DrizzleExecutor } from "../drizzle.js"; /** * Builds a chat projection for an active users identity acting as a member, public-channel reader, server administrator, or voluntarily departed member. * Recursively requiring access through parent-channel ancestry prevents a deleted or explicitly revoked ancestor from leaving a child channel reachable. */ export declare function chatGetAccess(executor: DrizzleExecutor, userId: string, chatId: string, requireMembership: boolean): Promise; //# sourceMappingURL=chatGetAccess.d.ts.map