datapilot-cli
Version:
Enterprise-grade streaming multi-format data analysis with comprehensive statistical insights and intelligent relationship detection - supports CSV, JSON, Excel, TSV, Parquet - memory-efficient, cross-platform
63 lines • 1.78 kB
TypeScript
/**
* Universal Analyzer - Multi-format data analysis orchestrator
* Integrates with the existing 6-section analysis pipeline
*/
import type { CLIOptions, CLIResult } from './types';
/**
* Universal analyzer that works with any supported data format
*/
export declare class UniversalAnalyzer {
private registry;
private initialized;
constructor();
/**
* Initialize the analyzer with all available parsers
*/
private initializeParsers;
/**
* Analyze any supported file format
*/
analyzeFile(filePath: string, options: CLIOptions): Promise<CLIResult>;
/**
* Parse file using detected parser and convert to universal dataset format
*/
private parseToDataset;
/**
* Detect if first row contains headers
*/
private detectHeaderRow;
private detectCSVHeaders;
/**
* Run the existing 6-section analysis pipeline on the universal dataset
*/
private runAnalysisPipeline;
private shouldRunSection;
private runSection1Analysis;
private runSection2Analysis;
private runSection3Analysis;
private runSection4Analysis;
private runSection5Analysis;
private runSection6Analysis;
/**
* Create async iterable data stream from dataset
*/
private createDataStream;
/**
* Handle analysis errors with helpful suggestions
*/
private handleAnalysisError;
/**
* Get supported formats for help/error messages
*/
getSupportedFormats(): string[];
/**
* Validate file format is supported
*/
validateFile(filePath: string): Promise<{
supported: boolean;
format?: string;
confidence?: number;
suggestions: string[];
}>;
}
//# sourceMappingURL=universal-analyzer.d.ts.map