/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { type SixthUserInfo } from './sixthAuth.js'; export declare class SixthAuthFlow { private authServer; constructor(); /** * Check if user is authenticated (fast cache check + background validation) */ isUserAuthenticated(): Promise; /** * Get cached user info if available */ getUserInfo(): Promise; /** * Start the authentication flow */ startAuthFlow(): Promise; /** * Build the authentication URL */ private buildAuthUrl; /** * Logout user by clearing cached info */ logout(): Promise; /** * Get user subscription status */ isUserSubscriber(): Promise; /** * Refresh user info from API */ refreshUserInfo(): Promise; /** * Stop any running auth servers */ stop(): void; }