import type { ExternalIdentityLink, ConfirmExternalIdentityLinkRequest, ExternalIdentityLinkPreview } from "@opengeni/sdk"; export type IdentityLinkClient = { previewIdentityLink(workspaceId: string, linkId: string, challenge: string): Promise; confirmIdentityLink(workspaceId: string, linkId: string, input: ConfirmExternalIdentityLinkRequest): Promise; revokeIdentityLink(workspaceId: string, linkId: string, expectedRevision: number): Promise; }; export type IdentityLinkConsentProps = { client: IdentityLinkClient; workspaceId: string; linkId: string; challenge: string; /** Host label is explanatory, never proof of the requesting application. */ className?: string; onComplete?: (link: ExternalIdentityLink) => void; }; /** Optional native-login consent. Ordinary Connect does not use this surface. * Permission choices only narrow the server's request; no automatic approval. */ export declare function IdentityLinkConsent({ client, workspaceId, linkId, challenge, className, onComplete, }: IdentityLinkConsentProps): import("react").JSX.Element;