import { FC } from 'react'; import { WorkspaceWriteAccess } from '../useWorkspaceWriteAccess'; /** * `visible` is false when the host HIDES the panel without unmounting it, which * is what the supported `visible` prop does. That distinction matters here: a * live voice session would otherwise keep the microphone open and the silence * timer running behind an invisible panel. */ export interface AssistantChatAreaProps { visible?: boolean; /** * Whether this actor may WRITE in this workspace, or `'unknown'`. * * ★ A prop rather than a sixth field on the product seam. The product can * simply call `useWorkspaceWriteAccess(actorId, workspaceId, probeResources)` * in its own wrapper — the only thing shared code cannot supply is WHICH * resource types to probe, and a capability the product can compute itself * does not earn a place in an interface every product must satisfy. * * Defaults to `'unknown'`, which is exactly the "say nothing" branch: a * product that does not pass it never shows the warning, and never makes a * false claim in either direction. */ writeAccess?: WorkspaceWriteAccess; } export declare const AssistantChatArea: FC; //# sourceMappingURL=AssistantChatArea.d.ts.map