import type { InChatConnectSupport } from "./components/conversation-capability-connect.js"; import { type ClientConfigFlagsSource } from "./hooks/use-client-config-flags.js"; import type { AuthNeededItem } from "./timeline/types.js"; export { inChatConnectDecision, isAgentCapabilityRequest, useInChatConnectSupport, type InChatConnectDecision, type InChatConnectSource, type InChatConnectSupport, } from "./components/conversation-capability-connect.js"; export { reconnectCandidate, useIntegrationCapabilityConnect, type IntegrationCapabilityAvailability, type IntegrationCapabilityConnect, type IntegrationCapabilityConnectInput, } from "./components/integration-capability-connect-flow.js"; export { useMcpCapabilityConnect, type McpCapabilityConnect, type McpCapabilityConnectInput, } from "./components/mcp-capability-connect-flow.js"; export { isPreparedMcpSetup, usePreparedMcpSetupAccess, usePreparedMcpSetupAttempt, } from "./components/prepared-mcp-setup-flow.js"; export { connectSetupStatus, useConnectSetupFlow, type ConnectSetupFlow, type ConnectSetupFlowOptions, } from "./connect-setup-model.js"; export type { ConnectAttemptHints, ConnectWindowHost } from "./connect-window-host.js"; export type { ConnectView } from "./hooks/use-connect.js"; export type { ConnectAttempt, ConnectController, ConnectNavigation } from "@opengeni/connect"; export { useConnect } from "./hooks/use-connect.js"; export { showsMcpServerLabel } from "./components/mcp-server-label.js"; export { authNeededPresentation, providerLabel, type AuthNeededPresentation, } from "./auth-needed-presentation.js"; /** Whether the chat shows a request this person might finish in the chat. */ export declare function isInChatConnectRequest(item: AuthNeededItem): boolean; /** * Whether agents' connect requests may be finished in this chat, as the web * conversation reads it: `false` until the deployment's client config loads, * and when a session proxy owns chat setup. */ export declare function useChatConnectionsAllowed(client: Partial): boolean; /** * Whether this person may finish an agent's prepared key setup: it saves a * credential and turns the server on if it is not on yet, which members may * do (`connections:write`) unless their organization keeps turning * integrations on for admins, as the API decides. */ export declare function canFinishPreparedMcpSetup(support: InChatConnectSupport): boolean;