/**
 * @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<boolean>;
    /**
     * Get cached user info if available
     */
    getUserInfo(): Promise<SixthUserInfo | null>;
    /**
     * Start the authentication flow
     */
    startAuthFlow(): Promise<SixthUserInfo>;
    /**
     * Build the authentication URL
     */
    private buildAuthUrl;
    /**
     * Logout user by clearing cached info
     */
    logout(): Promise<void>;
    /**
     * Get user subscription status
     */
    isUserSubscriber(): Promise<boolean>;
    /**
     * Refresh user info from API
     */
    refreshUserInfo(): Promise<SixthUserInfo | null>;
    /**
     * Stop any running auth servers
     */
    stop(): void;
}
