/**
 * Login Command (agentics login)
 *
 * SPARC Architecture Reference: CLI Authentication
 *
 * PURPOSE: Authenticate the CLI via browser-based auth with API key paste-back.
 *
 * WORKFLOW:
 * 1. Create auth session on the platform backend
 * 2. Open browser to the verification URL where user authenticates
 * 3. Browser shows a copyable API key after authentication
 * 4. CLI prompts user to paste the API key
 * 5. CLI polls the session to resolve the user's email and payment status
 * 6. CLI presents terms and conditions for acceptance
 * 7. Store credentials locally
 *
 * FORBIDDEN:
 * - Storing credentials in plaintext in code
 * - Logging credential values
 * - Bypassing the authorization flow
 */
import type { CommandOptions } from '../types/index.js';
export interface LoginCommandInput {
    noBrowser?: boolean;
    apiKey?: string;
}
export interface LoginCommandResult {
    success: boolean;
    message: string;
    credentialsPath?: string;
}
export declare function executeLoginCommand(input: LoginCommandInput, options: CommandOptions): Promise<LoginCommandResult>;
//# sourceMappingURL=login.d.ts.map