import { PromptCommand } from '../../lib/prompt-command.js';
export default class Auth extends PromptCommand {
    static description: string;
    static examples: string[];
    static flags: {
        json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
        machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
        check: import("@oclif/core/interfaces").BooleanFlag<boolean>;
        force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
        'api-key': import("@oclif/core/interfaces").BooleanFlag<boolean>;
    };
    /**
     * Try to open the workspace database for saving auth preferences.
     * Returns null if not in an HQ directory (auth still works, just won't save preference).
     */
    private tryOpenDb;
    /**
     * Check if the claude-credentials volume exists
     */
    private volumeExists;
    /**
     * Create the claude-credentials volume if it doesn't exist
     */
    private createVolume;
    /**
     * Check if valid credentials exist in the volume.
     * Don't check expiration - access tokens are short-lived but Claude Code
     * handles token refresh internally using stored refresh tokens.
     */
    private credentialsExist;
    /**
     * Get credential info for display
     */
    private getCredentialInfo;
    /**
     * Run the interactive login flow in a temporary container
     */
    private runLoginFlow;
    /**
     * Handle API key authentication flow
     */
    private handleApiKey;
    run(): Promise<void>;
}
