import { FileData, UploadResult, DeleteResult, FileList, FileMetadata, UploadOptions, DownloadOptions, ListOptions, FileHandlerConfig, BackendInfo, ValidationRules, ValidationResult, ImageProcessOptions, ScanResult, FileOperationResult } from './types'; /** * Core file handling class providing unified file operations across multiple storage backends */ export declare class FileHandler { private backend; private config; private backendSelector; private initialized; constructor(config?: FileHandlerConfig); /** * Initialize the file handler with backend */ initialize(): Promise>; /** * Upload a file with optional processing */ uploadFile(file: FileData, options?: UploadOptions): Promise>; /** * Download a file */ downloadFile(fileId: string, options?: DownloadOptions): Promise>; /** * Delete a file */ deleteFile(fileId: string): Promise>; /** * List files */ listFiles(options?: ListOptions): Promise>; /** * Get file metadata */ getFileMetadata(fileId: string): Promise>; /** * Get file URL */ getFileUrl(fileId: string, expiresIn?: number | undefined): Promise>; /** * Process an image */ processImage(buffer: Buffer, options: ImageProcessOptions): Promise>; /** * Validate a file */ validateFile(file: FileData, rules?: ValidationRules | undefined): Promise; /** * Scan file for viruses (placeholder - would integrate with actual virus scanner) */ scanForVirus(buffer: Buffer): Promise; /** * Get backend information */ getBackendInfo(): BackendInfo | undefined; /** * Test backend connection */ testConnection(): Promise; /** * Check if file is an image */ private isImage; /** * Get configuration */ getConfig(): FileHandlerConfig; /** * Update configuration */ updateConfig(newConfig: Partial): void; /** * Check if handler is initialized */ isInitialized(): boolean; } //# sourceMappingURL=file-handler.d.ts.map