rawi
Version:
Rawi (راوي) is the developer-friendly AI CLI that brings the power of 11 major AI providers directly to your terminal. With seamless shell integration, persistent conversations, and 200+ specialized prompt templates, Rawi transforms your command line into
15 lines (13 loc) • 889 B
text/typescript
declare const DEBUG_MODE = false;
declare const debugLog: (...args: any[]) => void;
declare const getConfigDir: () => string;
declare const getCredentialsFilePath: () => string;
declare const maskApiKey: (apiKey: string) => string;
declare const validateTemperature: (temperature: number) => boolean;
declare const validateMaxTokens: (maxTokens: number) => boolean;
declare const validateApiKey: (apiKey: string) => boolean;
declare const validateLanguage: (language: string) => boolean;
declare const truncateText: (text: string, maxLength: number) => string;
declare const formatDate: (dateString: string) => string;
declare const formatRelativeTime: (dateString: string) => string;
export { DEBUG_MODE, debugLog, formatDate, formatRelativeTime, getConfigDir, getCredentialsFilePath, maskApiKey, truncateText, validateApiKey, validateLanguage, validateMaxTokens, validateTemperature };