export interface ChatAccessContext { currentChatId?: string; chatType: "p2p" | "group"; } export declare function assertChatAccess(ctx: ChatAccessContext & { targetChatId: string; }): void; export declare function assertAllChatsAccess(ctx: Pick): void;