You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							18 lines
						
					
					
						
							696 B
						
					
					
				
			
		
		
	
	
							18 lines
						
					
					
						
							696 B
						
					
					
				| /// <reference types="node" />
 | |
| /// <reference types="bluebird" />
 | |
| import { Converter } from "./Converter";
 | |
| import P from "bluebird";
 | |
| import { JSONResult } from "./lineToJson";
 | |
| import { CSVParseParam } from "./Parameters";
 | |
| import { ParseRuntime } from "./ParseRuntime";
 | |
| export declare abstract class Processor {
 | |
|     protected converter: Converter;
 | |
|     protected params: CSVParseParam;
 | |
|     protected runtime: ParseRuntime;
 | |
|     constructor(converter: Converter);
 | |
|     abstract process(chunk: Buffer, finalChunk?: boolean): P<ProcessLineResult[]>;
 | |
|     abstract destroy(): P<void>;
 | |
|     abstract flush(): P<ProcessLineResult[]>;
 | |
| }
 | |
| export declare type ProcessLineResult = string | string[] | JSONResult;
 |