/*! * Copyright 2021 Cognite AS */ /** * Base class for tools attaching to a {@link Cognite3DViewer}. */ export declare abstract class Cognite3DViewerToolBase { private readonly _disposedEvent; private _disposed; /** * Unregisters an event handler for the 'disposed'-event. * @param event * @param handler */ off(event: 'disposed', handler: () => void): void; /** * Disposes the element and triggeres the 'disposed' event before clearing the list * of dipose-listeners. */ dispose(): void; /** * Throws an error if the instance has been disposed. */ protected ensureNotDisposed(): void; }