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
42 lines • 1.25 kB
TypeScript
/**
* TSV Parser Implementation
* Tab-separated values parser built on CSV parser foundation
*/
import type { ParseOptions, FormatDetectionResult, FormatDetector } from './base/data-parser';
import { CSVParserAdapter } from './adapters/csv-parser-adapter';
/**
* TSV Format Detector
*/
export declare class TSVDetector implements FormatDetector {
getSupportedExtensions(): string[];
getFormatName(): string;
detect(filePath: string): Promise<FormatDetectionResult>;
private readSample;
private analyzeTSVStructure;
private detectQuoteCharacter;
private detectHeaderRow;
}
/**
* TSV Parser Implementation
* Extends CSV parser with tab-specific defaults
*/
export declare class TSVParser extends CSVParserAdapter {
constructor(options?: ParseOptions);
/**
* Override format detection to use TSV detector
*/
detect(filePath: string): Promise<FormatDetectionResult>;
/**
* Get supported file extensions
*/
getSupportedExtensions(): string[];
/**
* Get format name
*/
getFormatName(): string;
}
/**
* Factory function to create TSV parser
*/
export declare function createTSVParser(options?: ParseOptions): TSVParser;
//# sourceMappingURL=tsv-parser.d.ts.map