import { DimensionValue } from "./dimension-value"; import { DataSet } from "./data-set"; import { Map2D } from "./map2-d"; export declare abstract class DataSetChange { readonly is2D: boolean; constructor(is2D: boolean); abstract isDeleted(xNumeric: number, yNumeric: number | undefined): boolean; abstract isUpdated(xNumeric: number, yNumeric: number | undefined): boolean; abstract isAdded(xNumeric: number, yNumeric: number | undefined): boolean; abstract getDeleted(xNumeric: number, yNumeric: number | undefined): DimensionValue | readonly [DimensionValue, DimensionValue>] | undefined; abstract getUpdated(xNumeric: number, yNumeric: number | undefined): DimensionValue | readonly [DimensionValue, DimensionValue>] | undefined; abstract getAdded(xNumeric: number, yNumeric: number | undefined): DimensionValue | readonly [DimensionValue, DimensionValue>] | undefined; static fromDataSet(dataSet: DataSet): DataSetChange; static fromDataSetDimensionsUpdate(prevDimensionsValues: DimensionValue[] | [DimensionValue, DimensionValue>][], dimensionsValues: DimensionValue[] | [DimensionValue, DimensionValue>][]): DataSetChange; } export declare class DataSetChange1D extends DataSetChange { readonly deleted: readonly DimensionValue[]; readonly updated: readonly DimensionValue[]; readonly added: readonly DimensionValue[]; private readonly deletedMap; private readonly updatedMap; private readonly addedMap; constructor(deleted: readonly DimensionValue[], updated: readonly DimensionValue[], added: readonly DimensionValue[]); isDeleted(xNumeric: number): boolean; isUpdated(xNumeric: number): boolean; isAdded(xNumeric: number): boolean; getDeleted(xNumeric: number): DimensionValue | undefined; getUpdated(xNumeric: number): DimensionValue | undefined; getAdded(xNumeric: number): DimensionValue | undefined; static fromDataSetDimensionsUpdate1D(prevDimensionValues: DimensionValue[], dimensionValues: DimensionValue[]): DataSetChange; } export declare class DataSetChange2D extends DataSetChange { readonly deleted: readonly [DimensionValue, DimensionValue>][]; readonly updated: readonly [DimensionValue, DimensionValue>][]; readonly added: readonly [DimensionValue, DimensionValue>][]; private readonly deletedMap; private readonly updatedMap; private readonly addedMap; constructor(deleted: readonly [DimensionValue, DimensionValue>][], updated: readonly [DimensionValue, DimensionValue>][], added: readonly [DimensionValue, DimensionValue>][]); protected buildMap(xy: readonly [DimensionValue, DimensionValue>][]): Map2D, [DimensionValue, DimensionValue>]>; isDeleted(xNumeric: number, yNumeric: number): boolean; isUpdated(xNumeric: number, yNumeric: number): boolean; isAdded(xNumeric: number, yNumeric: number): boolean; getDeleted(xNumeric: number, yNumeric: number): readonly [DimensionValue, DimensionValue>] | undefined; getUpdated(xNumeric: number, yNumeric: number): readonly [DimensionValue, DimensionValue>] | undefined; getAdded(xNumeric: number, yNumeric: number): readonly [DimensionValue, DimensionValue>] | undefined; protected isInMap(map: Map2D, [DimensionValue, DimensionValue>]>, xNumeric: number, yNumeric: number): boolean; static fromDataSetDimensionsUpdate2D(prevDimensionsValues: [DimensionValue, DimensionValue>][], dimensionsValues: [DimensionValue, DimensionValue>][]): DataSetChange; } //# sourceMappingURL=data-set-change.d.ts.map