/** * MeshDeployWizard — deploy a new agent THROUGH the mesh from a chosen source * (root) agent. Supports two modes: * - "Remote (SSH)": deploy onto another machine over SSH (host/user/port/key). * - "Same machine": deploy a sibling agent on the source agent's own host. * * Submitting calls `deployAgentViaMesh({ rootAgentId, input })`, reads the * `{ jobId }` out of the AgentProxyResponse, then polls * `meshDeployJobStatus(rootAgentId, jobId)` on a 2s interval, rendering the * job's step list in a progress panel. On completion it calls `onCompleted` * so the caller can refetch the mesh graph. */ interface SourceAgentOption { id: string; name: string; hostname: string; isActive: boolean; } interface MeshDeployWizardProps { /** Agents that can act as the deploying root. */ sourceAgents: SourceAgentOption[]; /** Pre-seeded source (root) agent id (e.g. "deploy from here" on a node). */ initialSourceAgentId?: string | null; availablePermissions?: string[]; onClose: () => void; onCompleted: () => void; } export declare function MeshDeployWizard({ sourceAgents, initialSourceAgentId, availablePermissions, onClose, onCompleted, }: MeshDeployWizardProps): import('react').JSX.Element; export {};