/** * Copyright (c) 2018-2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal */ import { RxEventHelper } from '../mol-util/rx-event-helper'; import { Observable } from 'rxjs'; export declare class PluginComponent { private _ev; private subs; protected subscribe(obs: Observable, action: (v: T) => void): { unsubscribe: () => void; }; protected get ev(): RxEventHelper; dispose(): void; } export declare class StatefulPluginComponent extends PluginComponent { private _state; protected updateState(...states: Partial[]): boolean; get state(): State; constructor(initialState: State); }