UNPKG

drugflow-molstar

Version:
19 lines (18 loc) 792 B
/// <reference types="react" /> import { PurePluginUIComponent } from 'Molstar/mol-plugin-ui/base'; import { StateObjectRef } from 'Molstar/mol-state'; import { PluginStateObject } from 'Molstar/mol-plugin-state/objects'; import { Mat4 } from 'Molstar/mol-math/linear-algebra'; export declare class SegmentTree extends PurePluginUIComponent<{}, { segment?: any; isBusy: boolean; }> { componentDidMount(): void; get customState(): any; getSegmentParams: () => void; updateSegment: (val: any) => Promise<false | undefined>; hideStructures: (segmentIndex: number) => void; displayStructures: (segmentIndex: number) => Promise<void>; transform(s: StateObjectRef<PluginStateObject.Molecule.Structure>, matrix: Mat4): Promise<void>; render(): JSX.Element; }