import { type ReactNode } from "react"; import { type ConnectionAccountControls } from "./capabilities/connection-account-picker.js"; import type { FirstPartyMcpToolName } from "@opengeni/contracts"; import type { SessionToolSelection } from "./pickers.js"; import { type McpServerOption } from "../lib/session-tools.js"; export type SessionConnectorsMenuProps = { presentation?: "menu" | "dialog" | undefined; servers: McpServerOption[]; firstPartyTools: ReadonlyArray<{ id: FirstPartyMcpToolName; name: string; }>; selection: SessionToolSelection; onChange: (selection: SessionToolSelection) => void; /** Header switch. Off = read-only workspace list; on = row toggles. */ customizing?: boolean | undefined; onCustomizingChange?: ((customizing: boolean) => void) | undefined; leading?: ReactNode | undefined; onReconnect?: ((serverId: string) => void) | undefined; loading?: boolean | undefined; error?: string | null | undefined; busyId?: string | null | undefined; accountControls?: ConnectionAccountControls | undefined; }; /** Connected apps for one chat. Built-in tools follow the agent's capabilities (+ > Capabilities). */ export declare function SessionConnectorsMenuBody(props: SessionConnectorsMenuProps): import("react").JSX.Element;