/** * @license * Copyright 2025 Qwen * SPDX-License-Identifier: Apache-2.0 */ import { AuthType, type DeviceAuthorizationData } from '@aetherai/aether-core'; export interface aetherAuthState { deviceAuth: DeviceAuthorizationData | null; authStatus: 'idle' | 'polling' | 'success' | 'error' | 'timeout' | 'rate_limit'; authMessage: string | null; } export declare const useAetherAuth: (pendingAuthType: AuthType | undefined, isAuthenticating: boolean) => { aetherAuthState: aetherAuthState; cancelAetherAuth: () => void; };