import { UseOAuthDeviceVerificationReturn } from "./useOAuthDeviceVerification.types.js"; //#region src/react/hooks/useOAuthDeviceVerification.d.ts /** * Provides state and actions for building a custom OAuth device verification flow. * * @returns The current verification state and methods for looking up, approving, denying, or resetting a request. * * @example * ### Look up a device authorization request * * ```tsx * import { useOAuthDeviceVerification } from '@clerk/react'; * * function CustomDeviceVerification({ userCode }: { userCode: string }) { * const { data, isLoading, lookup } = useOAuthDeviceVerification(); * * const handleLookup = async () => { * await lookup({ userCode }); * }; * * return ( * <> * * {data &&

Authorize {data.oauthApplicationName}?

} * * ); * } * ``` */ declare function useOAuthDeviceVerification(): UseOAuthDeviceVerificationReturn; //#endregion export { useOAuthDeviceVerification }; //# sourceMappingURL=useOAuthDeviceVerification.d.ts.map