UNPKG

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

27 lines (24 loc) 869 B
import { ActTemplate } from './act.js'; interface CustomActTemplate extends ActTemplate { isBuiltIn: boolean; createdAt: Date; updatedAt: Date; } declare class ActTemplateManager { private adapter; constructor(); createTemplate(template: { id: string; label: string; category: string; description: string; template: string; }): Promise<void>; updateTemplate(id: string, updates: Partial<Pick<CustomActTemplate, 'label' | 'category' | 'description' | 'template'>>): Promise<void>; deleteTemplate(id: string): Promise<void>; getTemplate(id: string): Promise<CustomActTemplate | null>; listCustomTemplates(): Promise<CustomActTemplate[]>; listAllTemplates(): Promise<CustomActTemplate[]>; private mapToCustomActTemplate; } export { ActTemplateManager, type CustomActTemplate };