import { utils } from "pixi.js"; import { DTableData } from "./d-table-data"; import { DTableDataSelectionEachIteratee, DTableDataSelectionOptions, DTableDataSelectionType } from "./d-table-data-selection"; import { DTableDataTreeItemAccessorHasChildren, DTableDataTreeItemAccessorToChildren } from "./d-table-data-tree-item-accessor"; import { DTableDataTreeSelection, DTableDataTreeSelectionParent } from "./d-table-data-tree-selection"; export declare class DTableDataTreeSelectionImpl extends utils.EventEmitter implements DTableDataTreeSelection { protected _parent: DTableDataTreeSelectionParent; protected _type: DTableDataSelectionType; protected _rows: Set; constructor(parent: DTableDataTreeSelectionParent, options?: DTableDataSelectionOptions); get parent(): DTableData; onNodeChange(nodes?: NODE[]): void; protected newRows(nodes: NODE[], toChildren: DTableDataTreeItemAccessorToChildren, hasChildren: DTableDataTreeItemAccessorHasChildren, rows: Set, result: Set): Set; get indices(): number[]; get rows(): NODE[]; get type(): DTableDataSelectionType; protected getFirst(): NODE | null; protected getLast(): NODE | null; protected toIndex(target: NODE): number | null; get first(): number | null; get last(): number | null; protected onChange(): void; toggle(rowIndex: number): void; add(rowIndex: number): void; addTo(rowIndex: number): void; addRange(from: number, includeFrom: boolean, to: number, includeTo: boolean): void; addAll(rowIndices: number[]): void; contains(rowIndex: number): boolean; remove(rowIndex: number): void; clear(): void; clearAndAdd(rowIndex: number): void; clearAndAddAll(rowIndices: number[]): void; shift(rowIndex: number, amount: number): void; size(): number; isEmpty(): boolean; each(iteratee: DTableDataSelectionEachIteratee): void; toArray(): Array<[number, NODE]>; toSortedArray(): Array<[number, NODE]>; toObject(): Record; toMap(): Map; }