import { ReactNode } from 'react'; interface TargetOption { id: string; name: string; type: string; status: string; } interface AgentFormProps { onSubmit: (data: Record) => Promise<{ id: string; } | { pending: true; } | void>; onCancel: () => void; isLoading?: boolean; /** Navigate to a path (used to go to agent details after creation) */ onNavigate?: (path: string) => void; /** Available targets for the agent to be installed on */ targets?: TargetOption[]; /** Whether targets are still loading */ targetsLoading?: boolean; /** * Create a new target inline. When provided, the form shows a * "+ Create new target" affordance that lets users create a DIRECT * target on the fly without leaving the dialog. Must return the new * target so the form can auto-select it. */ onCreateTarget?: (name: string) => Promise; /** Optional extra content (e.g. a draft EntityTagPicker) rendered above the configure-stage actions. */ extraSection?: ReactNode; } export declare function AgentForm({ onSubmit, onCancel, isLoading, onNavigate, targets, targetsLoading, onCreateTarget, extraSection, }: AgentFormProps): import('react').JSX.Element; export {};