import type { OpenGeniBrowserClient as OpenGeniClient } from "@opengeni/sdk/browser"; export { reconnectCandidate } from "./integration-capability-connect-flow.js"; /** The client methods the card uses. Session proxies that do not forward * Connect and integration routes cannot render it. */ export declare function supportsIntegrationCapabilityCard(client: unknown): client is OpenGeniClient; export type SessionIntegrationCapabilityCardProps = { client: OpenGeniClient; workspaceId: string; sessionId: string; /** `api:integration:` from the agent's recommendation. */ capabilityId: string; name: string; rationale?: string; /** Exact host route the provider returns to after a full-page redirect. */ returnUrl: string; onConfigured?: (() => void | Promise) | undefined; }; /** * One-click Connect card for a reviewed integration recommended in chat. The * person viewing it signs in with their own account in a popup; setup then * installs the integration's reviewed tools for that personal account only, * never as a workspace account. It shows the viewer's own state, so a * teammate in a shared chat sees and connects their own account. When * Microsoft says an administrator must approve the app first, the shared * setup view shows the approval link to pass on, and "Try again" connects * after that. */ export declare function SessionIntegrationCapabilityCard(props: SessionIntegrationCapabilityCardProps): import("react").JSX.Element;