import { RecordObject, StreamedMeta } from './interfaces'; export declare class StreamedResults { /** * Helpful meta information */ private $meta; /** * Raw data output from the importer */ private $data; /** * The raw output from the importer including all deleted rows * and sequence info */ rawOutput: Array; /** * An array of valid data, key-mapped to the configuration provided * (alias of validData) */ data: Array; /** * An array of valid data, key-mapped to the configuration provided */ validData: Array; /** * Rows of data the user excluded from the final results, * key-mapped to the configuration provided */ deletedData: Array; /** * All data from the original file upload including deleted rows, * key-mapped to the configuration provided */ allData: Array; /** * The number of remaining chunks in the stream */ remainingChunks: number; /** * The total number of chunks that will have to be received before data processing is completed */ totalChunks: number; /** * The size of chunks as configured when requesting data. */ chunkSize: number; /** * The current chunk by index */ currentChunk: number; /** * The current chunk by index */ hasMore: boolean; constructor(data: Array, meta: StreamedMeta); }