/** * Login Command * * Authenticates users with their SpecForge API key. * Supports both interactive (masked input) and non-interactive (--api-key flag) modes. */ import { Command } from 'commander'; /** * Login command options */ export interface LoginOptions { /** API key provided via --api-key flag */ apiKey?: string; /** Force re-authentication even if already logged in */ force?: boolean; } /** * User information returned from API validation */ export interface UserInfo { /** User's email address */ email: string; /** User's display name */ name?: string; /** User ID */ userId?: string; } /** * Login command implementation * * @param options - Command options */ export declare function loginAction(options: LoginOptions): Promise; /** * Register login command with Commander * * @param program - Commander program instance */ export declare function registerLoginCommand(program: Command): void; //# sourceMappingURL=login.d.ts.map