capsule-ai-cli
Version:
The AI Model Orchestrator - Intelligent multi-model workflows with device-locked licensing
18 lines • 859 B
TypeScript
import { ImageContent, FileContent } from '../types/index.js';
export declare class FileHandler {
private static readonly IMAGE_EXTENSIONS;
private static readonly PDF_EXTENSION;
private static readonly MIME_TYPES;
private static readonly MAX_IMAGE_SIZE;
private static readonly MAX_PDF_SIZE;
static isImage(filepath: string): boolean;
static isPDF(filepath: string): boolean;
static isSupported(filepath: string): boolean;
static getMimeType(filepath: string): string;
static loadImage(filepath: string): Promise<ImageContent>;
static loadPDF(filepath: string): Promise<FileContent>;
static loadFile(filepath: string): Promise<ImageContent | FileContent>;
static extractFilePaths(input: string): string[];
static removeFileReferences(input: string): string;
}
//# sourceMappingURL=file-handler.d.ts.map