/** * 「会议角色预设」编辑面(settings 页 · 会议 agent 区块内)。 * * 数据面:私有 API GET/PUT /api/vc-meeting/consumer-profiles。 * * 2026-08 起这份预设目录是**全 fleet 共享**的:不再按 bot 分开配置,也不再让用户 * 手选「会议事件接收 Bot」。预设条目不带执行方——谁被拉进会议就由谁执行; * 「哪些 bot 能接会议事件、能不能会中发言」改成下方按 bot 一行的开关。 * * revision 乐观并发:PUT 带 expectedRevision,409 → 提示刷新(不覆盖他人修改); * 422 → fieldErrors 按 `profiles[i].field` / `defaultConsumerIds` 定位到输入项。 * permissionPreset 是 UI 概念:custom 只对「已保存的同 id 预设」可选(服务端 * 只允许沿用既有 policy),新预设必须先选一个模板档。 */ import type React from 'react'; /** settings 页挂载门:预设 API 是私有端点,公共只读访客请求必 401—— * canWrite=false 时完全不挂载编辑器(一次 GET 都不发),只显示提示。 */ export declare function VcConsumerProfilesGate(props: { enabled: boolean; canWrite: boolean; onFeishuLoginQr?: (qr: string | null) => void; }): React.JSX.Element | null; export declare function VcConsumerProfilesSection(props: { canWrite: boolean; onFeishuLoginQr?: (qr: string | null) => void; }): React.JSX.Element; //# sourceMappingURL=vc-consumer-profiles-section.d.ts.map