export interface FastPathStructure { delimiter: string; hasQuotes: boolean; hasEscapedQuotes: boolean; hasBackslashes?: boolean; hasNewlinesInFields: boolean; recommendedEngine: 'SIMPLE' | 'QUOTE_AWARE' | 'STANDARD'; maxFields: number; fieldConsistency: boolean; avgFieldsPerLine?: number; } declare class FastPathEngine { compilers: Map; rowCompilers: Map; stats: { simpleParserCount: number; quoteAwareParserCount: number; standardParserCount: number; cacheHits: number; cacheMisses: number; }; constructor(); _hasQuotes(csv: string): boolean; _hasEscapedQuotes(csv: string): boolean; _hasBackslashes(csv: string): boolean; _getStructureForParse(csv: any, options: any): { hasQuotes: boolean; hasEscapedQuotes: boolean; hasBackslashes: boolean; delimiter: string; hasNewlinesInFields: boolean; recommendedEngine: "SIMPLE" | "QUOTE_AWARE" | "STANDARD"; maxFields: number; fieldConsistency: boolean; avgFieldsPerLine?: number; }; analyzeStructure(sample: string, options?: { delimiter?: string; }): FastPathStructure; _detectDelimiter(sample: string): string; _selectEngine(hasQuotes: boolean, hasNewlinesInFields: boolean, _fieldConsistency: boolean): FastPathStructure['recommendedEngine']; _createSimpleParser(structure: FastPathStructure): (_csv: string) => string[][]; _emitSimpleRows(csv: any, delimiter: any, onRow: any): void; _emitSimpleRowsEscaped(csv: any, delimiter: any, onRow: any): void; _simpleRowsGenerator(csv: any, delimiter: any): Generator; _simpleEscapedRowsGenerator(csv: any, delimiter: any): Generator; _createSimpleRowEmitter(structure: FastPathStructure): (_csv: string, _onRow: (_row: string[]) => void) => void; _createQuoteAwareParser(structure: FastPathStructure): (_csv: string) => string[][]; _createQuoteAwareRowEmitter(structure: FastPathStructure): (_csv: string, _onRow: (_row: string[]) => void) => void; _quoteAwareRowsGenerator(csv: any, delimiter: any, hasEscapedQuotes: any): Generator; _quoteAwareEscapedRowsGenerator(csv: any, delimiter: any, hasEscapedQuotes: any): Generator; compileParser(structure: FastPathStructure): (_csv: string) => string[][]; compileRowEmitter(structure: FastPathStructure): (_csv: string, _onRow: (_row: string[]) => void) => void; iterateRows(csv: any, options?: {}): Generator; parse(csv: any, options?: {}): string[][]; parseRows(csv: any, options: {}, onRow: any): void; getStats(): { totalParsers: number; hitRate: number; simpleParserCount: number; quoteAwareParserCount: number; standardParserCount: number; cacheHits: number; cacheMisses: number; }; reset(): void; } export default FastPathEngine;