tlojs
Version:
The Last One - The last npm package you'll need to install
16 lines (15 loc) • 581 B
TypeScript
import { TableQueryResults } from "./query-results";
import { TableRow } from "./row";
export declare type CellReference = `${string}${number | ''}`;
export declare type CellRangeReference = `${CellReference}:${CellReference}`;
export declare type TableQueryReference = CellReference | CellRangeReference;
export declare class TableQuery<T> {
query: TableQueryReference;
private rows;
private start?;
private end?;
constructor(query: TableQueryReference, rows: TableRow<T>[]);
exec(): TableQueryResults;
private parse;
private parseCellReference;
}