arela
Version:
AI-powered CTO with multi-agent orchestration, code summarization, visual testing (web + mobile) for blazing fast development.
41 lines • 1.09 kB
TypeScript
/**
* API Key Helper - User-friendly guidance for API key setup
*/
export interface APIKeyStatus {
hasAnthropicKey: boolean;
hasOpenAIKey: boolean;
hasAnyKey: boolean;
recommendedAction: string;
}
/**
* Check API key status
*/
export declare function checkAPIKeys(): APIKeyStatus;
/**
* Show friendly API key setup guide
*/
export declare function showAPIKeyGuide(context?: 'first-run' | 'error' | 'suggestion'): void;
/**
* Show cost information
*/
export declare function showCostInfo(): void;
/**
* Show subscription clarification
*/
export declare function showSubscriptionClarification(): void;
/**
* Validate API key format
*/
export declare function validateAPIKey(key: string, provider: 'anthropic' | 'openai'): {
valid: boolean;
error?: string;
};
/**
* Show API key validation error
*/
export declare function showValidationError(provider: 'anthropic' | 'openai', error: string): void;
/**
* Interactive API key setup (for future use)
*/
export declare function interactiveSetup(): Promise<void>;
//# sourceMappingURL=api-key-helper.d.ts.map