UNPKG

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

47 lines 1.45 kB
/** * Excel Parser Implementation * Supports .xlsx, .xls, and .xlsm formats using ExcelJS */ import type { ParsedRow, ParseOptions, FormatDetectionResult, FormatDetector } from './base/data-parser'; import { BaseParser } from './base/data-parser'; /** * Excel Format Detector */ export declare class ExcelDetector implements FormatDetector { getSupportedExtensions(): string[]; getFormatName(): string; detect(filePath: string): Promise<FormatDetectionResult>; private readExcelMetadata; } /** * Excel Parser Implementation */ export declare class ExcelParser extends BaseParser { private headers; getSupportedExtensions(): string[]; getFormatName(): string; detect(filePath: string): Promise<FormatDetectionResult>; parse(filePath: string, options?: ParseOptions): AsyncIterableIterator<ParsedRow>; private selectWorksheet; private parseWorksheet; private formatCellValue; private normalizeRowData; /** * Get detected headers for column mapping */ getHeaders(): string[]; /** * Get available worksheets in the file */ getWorksheets(filePath: string): Promise<Array<{ name: string; index: number; rowCount: number; columnCount: number; }>>; } /** * Factory function to create Excel parser */ export declare function createExcelParser(options?: ParseOptions): ExcelParser; //# sourceMappingURL=excel-parser.d.ts.map