export type PermissionConfig = { allowedChannels: Set; allowedUsers: Set; blockedUsers: Set; }; export type PermissionResult = { allowed: boolean; reason?: string; }; export type UserInfo = { userId: string; teamId: string; channelId: string; username?: string; };