import { ScanResult, GeneratedKey, TransformationResult, ValidationResult } from '../types'; /** * Input/Output utilities for CLI operations */ export declare class IOUtils { /** * Save scan results to file */ static saveScanResults(results: ScanResult, filePath: string, format?: 'json' | 'table' | 'csv'): Promise; /** * Load scan results from file */ static loadScanResults(filePath: string): Promise; /** * Save generated keys to file */ static saveGeneratedKeys(keys: GeneratedKey[], filePath: string, format?: 'json' | 'yaml'): Promise; /** * Load generated keys from file */ static loadGeneratedKeys(filePath: string): Promise; /** * Save transformation results to file */ static saveTransformationResults(results: TransformationResult[], filePath: string): Promise; /** * Save validation results to file */ static saveValidationResults(results: ValidationResult, filePath: string, format?: 'json' | 'html'): Promise; /** * Create a timestamped backup directory */ static createBackupDirectory(baseDir?: string): Promise; /** * Check if file exists and is readable */ static validateInputFile(filePath: string): Promise; /** * Check if output directory is writable */ static validateOutputPath(filePath: string): Promise; /** * Get file size in human-readable format */ static getFileSize(filePath: string): Promise; /** * Convert scan results to CSV format */ private static scanResultsToCSV; /** * Convert scan results to table format */ private static scanResultsToTable; /** * Convert keys to YAML format (simple implementation) */ private static keysToYAML; /** * Convert validation results to HTML format */ private static validationResultsToHTML; } /** * Interactive prompt utilities */ export declare class PromptUtils { /** * Simple yes/no confirmation */ static confirm(message: string, defaultValue?: boolean): Promise; /** * Select from multiple options */ static select(message: string, options: string[]): Promise; /** * Text input with validation */ static input(message: string, validator?: (input: string) => boolean | string): Promise; /** * Multi-select from options */ static multiSelect(message: string, options: string[]): Promise; } //# sourceMappingURL=io-utils.d.ts.map