@loaders.gl/csv
Version:
Framework-independent loader for CSV and DSV table formats
30 lines • 882 B
TypeScript
declare const ChunkStreamer: {
new (config: import("./papaparse").CSVParserConfig): {
_handle: any;
_config: any;
_finished: boolean;
_completed: boolean;
_input: null;
_baseIndex: number;
_partialLine: string;
_rowCount: number;
_start: number;
isFirstChunk: boolean;
_completeResults: {
data: never[];
errors: never[];
meta: {};
};
parseChunk(chunk: any, isFakeChunk?: boolean): any;
_sendError(error: any): void;
};
};
export default class AsyncIteratorStreamer extends ChunkStreamer {
textDecoder: TextDecoder;
constructor(config?: {});
stream(asyncIterator: any): Promise<void>;
_nextChunk(): void;
getStringChunk(chunk: any): string;
}
export {};
//# sourceMappingURL=async-iterator-streamer.d.ts.map