import type { ConnectAttempt, ConnectController } from "@opengeni/connect"; export { adminApprovalLink, curatedAutoAdvance, isCuratedDefinitionAttempt, isOwnerApprovalPending, } from "./connect-setup-model.js"; export type ConnectSetupProps = { controller: ConnectController; /** Called synchronously in the click handler so a host can open a popup. */ onAuthorize: (attempt: ConnectAttempt) => void | Promise; /** Called synchronously on Continue; hosts can reserve a popup before advancing. */ onSelectAccount?: (accountId: string) => void | Promise; /** Host pagination must retain selections across pages and submit the final set. */ onBrowseResources?: (attempt: ConnectAttempt) => void | Promise; className?: string; /** Provider-specific label supplied by the embedding host. */ authorizeLabel?: string | undefined; /** * In a chat card the person signs in and moves on: offer "Check status" only * when the provider asks them to finish elsewhere and come back. */ inChat?: boolean; /** Begin a fresh attempt after declined or administrator-gated authorization. */ onRetry?: () => void | Promise; }; /** Controller-backed setup surface, styled by opt-in connect.css. No provider secrets enter React state. Host owns * chooser, controller lifetime, navigation and recovery after full redirect. */ export declare function ConnectSetup(props: ConnectSetupProps): import("react").JSX.Element;