1 | import Element from './Element';
|
2 | import Displayable from './graphic/Displayable';
|
3 | declare function shapeCompareFunc(a: Displayable, b: Displayable): number;
|
4 | export default class Storage {
|
5 | private _roots;
|
6 | private _displayList;
|
7 | private _displayListLen;
|
8 | traverse<T>(cb: (this: T, el: Element) => void, context?: T): void;
|
9 | getDisplayList(update?: boolean, includeIgnore?: boolean): Displayable[];
|
10 | updateDisplayList(includeIgnore?: boolean): void;
|
11 | private _updateAndAddDisplayable;
|
12 | addRoot(el: Element): void;
|
13 | delRoot(el: Element | Element[]): void;
|
14 | delAllRoots(): void;
|
15 | getRoots(): Element<import("./Element").ElementProps>[];
|
16 | dispose(): void;
|
17 | displayableSortFunc: typeof shapeCompareFunc;
|
18 | }
|
19 | export {};
|
20 |
|
\ | No newline at end of file |