import { DBTable } from "./DBTable"; export interface DBChunkMeta { tags?: DBTable<{ value: string; count: number; }>; rowCount?: number; lastUpdate: number; indexes?: { [key: string]: any; }; } export declare class DBChunk { mask: boolean; protected meta?: DBChunkMeta; protected filteredTable?: DBTable | undefined; protected table?: DBTable; constructor(table?: DBTable); getColumnIndex(column: keyof RowType, updateIndexes?: boolean): Promise; getColumnIndexes(columns: (keyof RowType)[], updateIndexes?: boolean): Promise<{ [key: string]: any; }>; applyFilter(filter: (RowType: any) => boolean): Promise; top(count: number): Promise; skip(count: number): Promise; /** Returns the metadata table behind this chunk */ getMeta(): Promise>; touch(ms?: number): void; getFilteredRowCount(): Promise; getRowCount(): Promise; /** Returns the data rows behind this chunk */ getData(): Promise; /** Returns the data rows behind this chunk */ getFilteredData(): Promise; /** Returns the data rows behind this chunk */ getFilteredDataTable(): Promise>; /** Returns the data rows behind this chunk */ resetFilter(): void; /** Returns the data table behind this chunk */ getDataTable(): Promise>; toJsonObject({ noData }?: { noData: boolean; }): Promise<{ meta: { tags: { value: string; count: number; }[]; rowCount?: number; lastUpdate: number; }; data?: RowType[]; }>; toJsonString(space?: number): Promise; updateTagMetadata(): Promise; updateCount(): Promise; } //# sourceMappingURL=DBChunk.d.ts.map