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
19 lines (16 loc) • 963 B
text/typescript
import { DatabaseManager } from '../../../../core/database/manager.cjs';
import { RawiCredentials } from '../../../../core/shared/types.cjs';
import { ExecOptions, ExecResult } from '../types.cjs';
declare function validateCredentials(profile: string): Promise<{
isValid: boolean;
error?: string;
}>;
declare function validateProfile(profile: string): Promise<{
isValid: boolean;
error?: string;
}>;
declare function getProviderCredentials(profile: string): Promise<RawiCredentials>;
declare function processExecCommand(description: string, options: ExecOptions): Promise<ExecResult>;
declare function saveExecSession(dbManager: DatabaseManager, description: string, result: ExecResult, options: ExecOptions): Promise<string>;
declare function displayExecResult(result: ExecResult, verbose: boolean): Promise<void>;
export { displayExecResult, getProviderCredentials, processExecCommand, saveExecSession, validateCredentials, validateProfile };