/** * Setup utilities for first-time Grok CLI initialization */ /** * API key setup and management */ export declare class SetupManager { private cwd; private localApiKeyFile; private globalApiKeyFile; private gitIgnoreFile; constructor(cwd?: string); /** * Check if API key exists (local or global) */ hasApiKey(): Promise; /** * Get API key from file (local takes precedence over global) */ getApiKey(): Promise; /** * Interactive API key setup with choice of global or local storage */ setupApiKey(): Promise; /** * Save API key globally */ private saveApiKeyGlobally; /** * Save API key locally */ private saveApiKeyLocally; /** * Add .grok-api to .gitignore if not already present */ private addToGitIgnore; /** * Basic API key format validation */ private isValidApiKeyFormat; /** * Initialize project with Grok CLI */ initializeProject(): Promise; /** * Show setup status */ showSetupStatus(): Promise; /** * Get project type based on files present */ detectProjectType(): Promise; } //# sourceMappingURL=setup.d.ts.map