UNPKG

@nlabs/lex

Version:
10 lines (9 loc) 861 B
import { AIConfig } from '../LexConfig.js'; export declare const callCursorAI: (prompt: string, _options: AIConfig) => Promise<string>; export declare const callOpenAIAI: (prompt: string, options: AIConfig) => Promise<string>; export declare const callAnthropicAI: (prompt: string, options: AIConfig) => Promise<string>; export declare const callCopilotAI: (prompt: string, _options: AIConfig) => Promise<string>; export declare const promptForAIProvider: (_quiet?: boolean) => Promise<"cursor" | "copilot" | "openai" | "anthropic" | "none">; export declare const promptForAPIKey: (provider: string, _quiet?: boolean) => Promise<string>; export declare const getAIService: (provider: string, _options: AIConfig) => (prompt: string, options: AIConfig) => Promise<string>; export declare const callAIService: (prompt: string, quiet?: boolean) => Promise<string>;