@bobmatnyc/ai-code-review
Version:
A TypeScript-based tool for automated code reviews using AI models from Google Gemini, Anthropic Claude, and OpenRouter
34 lines (33 loc) • 1.39 kB
TypeScript
/**
* Validate the Anthropic API key
* @param apiKey The Anthropic API key to validate
* @param isDebugMode Whether debug mode is enabled
* @returns True if the API key is valid, false otherwise
*/
export declare function validateAnthropicApiKey(apiKey: string | undefined, isDebugMode?: boolean): boolean;
/**
* Validate the Google API key
* @param apiKey The Google API key to validate
* @param isDebugMode Whether debug mode is enabled
* @returns True if the API key is valid, false otherwise
*/
export declare function validateGoogleApiKey(apiKey: string | undefined, isDebugMode?: boolean): boolean;
/**
* Validate the OpenRouter API key
* @param apiKey The OpenRouter API key to validate
* @param isDebugMode Whether debug mode is enabled
* @returns True if the API key is valid, false otherwise
*/
export declare function validateOpenRouterApiKey(apiKey: string | undefined, isDebugMode?: boolean): boolean;
/**
* Validate the OpenAI API key
* @param apiKey The OpenAI API key to validate
* @param isDebugMode Whether debug mode is enabled
* @returns True if the API key is valid, false otherwise
*/
export declare function validateOpenAIApiKey(apiKey: string | undefined, isDebugMode?: boolean): boolean;
/**
* Get whether debug mode is enabled
* @returns True if debug mode is enabled, false otherwise
*/
export declare function isDebugMode(): boolean;