UNPKG

rawi

Version:

Rawi (راوي) is the developer-friendly AI CLI that brings the power of 12 major AI providers directly to your terminal. With seamless shell integration, persistent conversations, and 200+ specialized prompt templates, Rawi transforms your command line into

13 lines (10 loc) 442 B
import { FileReaderOptions, SupportedFileType, FileReaderResult } from '../interfaces/types.js'; import { AbstractFileReader } from './base.reader.js'; declare class TextReader extends AbstractFileReader { constructor(options?: FileReaderOptions); canRead(fileType: SupportedFileType): boolean; read(filePath: string): Promise<FileReaderResult>; private getFileTypeContext; private getMimeType; } export { TextReader };