import { AreaCollection } from './prioritized/AreaCollection'; import { SerializedNodeCollection } from './SerializedNodeCollection'; import { IndexSet } from '../../utilities'; /** * Abstract class for implementing a set of nodes to be styled. */ export declare abstract class NodeCollection { private readonly _changedEvent; private readonly _classToken; protected constructor(classToken: string); get classToken(): string; on(event: 'changed', listener: () => void): void; off(event: 'changed', listener: () => void): void; abstract get isLoading(): boolean; abstract getIndexSet(): IndexSet; /** * Returns areas surrounding the nodes in the collection. The areas * are boxes in "ThreeJS coordinates". Note that not all * implementations supports this. */ abstract getAreas(): AreaCollection; abstract clear(): void; abstract serialize(): SerializedNodeCollection; /** * Triggers the changed-event. */ protected notifyChanged(): void; }