export interface PluginUITab { /** Unique tab ID (allows duplicate plugins in multiple tabs) */ id: string; /** The plugin name (e.g. "ui-ai") — may be null if nothing selected yet */ pluginName: string | null; /** Display name shown on the tab */ name: string; /** The full URL to load in the iframe */ uiUrl: string | null; } export interface UIPluginOption { /** The plugin name key (e.g. "ui-ai") */ pluginName: string; /** Display name */ displayName: string; /** Description shown in dropdown */ description?: string; /** Version */ version?: string; /** Custom URL to use instead of the default /ui/{pluginName} path (e.g. for code-server proxy) */ customUrl?: string; } interface PluginUIPanelProps { /** Available UI plugins the user can pick from */ availablePlugins: UIPluginOption[]; /** Base URL of the agent tunnel (e.g. "https://xxx.trycloudflare.com") */ tunnelUrl: string | null; /** * Agent ID — F4 Wave B replaced the legacy `?apiKey=` URL embed + * postMessage handoff with `mintAgentCapability(IFRAME_PLUGIN)`. Each * plugin tab loads with `#vt=` so the long-lived agent secret * never reaches the browser. */ agentId: string | null; /** Canonical CLI profile name; required for capability mint scoping. */ profile: string; } /** * Embedded browser-like panel for plugin UIs. * Each tab has a dropdown to select which plugin to load. The same plugin can * be loaded in multiple tabs, each with its own navigation state. */ export declare function PluginUIPanel({ availablePlugins, tunnelUrl, agentId, profile, }: PluginUIPanelProps): import('react').JSX.Element; export {};