import { VibeEntityType, VibeVisibility } from '../../generated/wspace-types'; interface EntityVibeLinkControlProps { /** Which kind of entity this control manages (ACTION, TUNNEL, …). */ entityType: VibeEntityType; /** The entity's id. */ entityId: string; /** Currently-linked vibe id, or null when unlinked. */ currentVibeId: string | null; /** Current visibility; defaults to PRIVATE when the entity is unlinked. */ currentVisibility?: VibeVisibility | null; /** * Apollo query names to refetch after a successful mutation. The Vibe-detail * linked-entity panels (GetVibeLinkedEntities) are always refetched on top of * whatever the host list page passes here so both directions stay in sync. */ refetchQueries?: string[]; /** Extra classes for the trigger button. */ className?: string; } /** * Per-entity "Linked Vibe" control for detail headers and list rows. Shows the * vibe an entity is currently mapped to (resolved by name) and lets the user * map / re-map / unmap it and flip its visibility — the reverse direction of the * Vibe-detail linked-entity tabs. Operates on EXISTING entities via the generic * linkEntityToVibe / unlinkEntityFromVibe / updateEntityVisibility mutations, so * it works uniformly across every owned entity type (Action, Tunnel, VibeDeck, * AiPrompt, AiContext, AgentInstructionFile). * * Distinct from `LinkToVibePanel`, which is the create-form control for choosing * a link at creation time. */ export declare function EntityVibeLinkControl({ entityType, entityId, currentVibeId, currentVisibility, refetchQueries, className, }: EntityVibeLinkControlProps): import('react').JSX.Element; export {};