import { type ReactNode } from "react"; export type DeviceAuthorizationProps = { userCode: string; verificationUri: string; providerLabel?: string; description?: string; className?: string; codeAttributes?: Record<`data-${string}`, string>; loadClipboard?: () => Promise<{ copyTextToClipboard(text: string): Promise; }>; onCopyResult?: (copied: boolean) => void; /** Optional host presentation; clipboard state and URL validation remain shared. */ render?: (state: { copied: boolean; copyError: boolean; copy: () => Promise; verificationHref: string | undefined; }) => ReactNode; }; /** Optional presentation for the existing model-account device APIs. It neither * owns provider state nor assumes that opening a verification page completed it. */ export declare function DeviceAuthorization(props: DeviceAuthorizationProps): string | number | bigint | boolean | import("react").JSX.Element | Iterable | Promise | import("react").ReactElement> | import("react").ReactPortal | null | undefined> | null | undefined;