drugflow-molstar
Version:
Molstar implementation for DrugFlow
57 lines (56 loc) • 2.06 kB
TypeScript
/// <reference types="react" />
import { CollapsableControls, PurePluginUIComponent } from 'Molstar/mol-plugin-ui/base';
import { ParamDefinition as PD } from 'Molstar/mol-util/param-definition';
export declare function InfoIconSvg(): JSX.Element;
export declare class AlphafoldPaeControls extends CollapsableControls {
private axisBoxRef;
defaultState(): {
isCollapsed: boolean;
header: string;
brand: {
accent: "gray";
svg: typeof import("Molstar/mol-plugin-ui/controls/icons").FlipToFrontSvg;
};
isHidden: boolean;
};
constructor(props: any, context: any);
componentDidMount(): void;
formatTicks(d: any): any;
renderControls(): JSX.Element | null;
}
export declare class AlphafoldSuperpositionControls extends CollapsableControls {
defaultState(): {
isCollapsed: boolean;
header: string;
brand: {
accent: "gray";
svg: typeof import("Molstar/mol-plugin-ui/controls/icons").FlipToFrontSvg;
};
isHidden: boolean;
};
componentDidMount(): void;
rmsdTable(): JSX.Element;
renderControls(): JSX.Element;
}
export declare const AlphafoldSuperpositionParams: {
traceOnly: PD.BooleanParam;
};
export declare type AlphafoldSuperpositionOptions = PD.ValuesFor<typeof AlphafoldSuperpositionParams>;
declare type AfSuperpositionControlsState = {
isBusy: boolean;
action?: 'byChains' | 'byAtoms' | 'options';
canUseDb?: boolean;
options: AlphafoldSuperpositionOptions;
};
export declare class AfSuperpositionControls extends PurePluginUIComponent<{}, AfSuperpositionControlsState> {
state: AfSuperpositionControlsState;
componentDidMount(): void;
get selection(): import("molstar/lib/mol-plugin-state/manager/structure/selection").StructureSelectionManager;
get customState(): any;
superposeDb: () => Promise<void>;
toggleOptions: () => void;
superposeByDbMapping(): JSX.Element;
private setOptions;
render(): JSX.Element;
}
export {};