import * as DG from 'datagrok-api/dg'; import { BiostructureData } from '../pdb/types'; import { IViewer } from './viewer'; import { PdbResDataFrameType } from '../pdb/pdb-helper'; export declare enum RepresentationType { Cartoon = "cartoon", Backbone = "backbone", BallAndStick = "ball+stick", Licorice = "licorice", Hyperball = "hyperball", Surface = "surface" } export declare enum RegionStateOptionsType { FULL = "full", COLLAPSED = "collapsed", HIDDEN = "hidden" } export declare enum SimpleRegionStateOptionsType { FULL = "full", HIDDEN = "hidden" } export declare enum PluginLayoutControlsDisplayType { OUTSIDE = "outside", PORTRAIT = "portrait", LANDSCAPE = "landscape", REACTIVE = "reactive" } export declare const BiostructurePropsDefault: { dataJson: string; pdb: string | null; pdbTag: string | null; biostructureIdColumnName: string | null; /** DG.Func nqName */ biostructureDataProvider: string | null; ligandColumnName: string | null; representation: RepresentationType; layoutIsExpanded: boolean; layoutShowControls: boolean; layoutRegionStateLeft: RegionStateOptionsType; layoutRegionStateTop: SimpleRegionStateOptionsType; layoutRegionStateRight: SimpleRegionStateOptionsType; layoutRegionStateBottom: SimpleRegionStateOptionsType; layoutControlsDisplay: PluginLayoutControlsDisplayType; showImportControls: boolean; showSessionControls: boolean; showStructureSourceControls: boolean; showSuperpositionControls: boolean; showValidationReportControls: boolean; showMembraneOrientationPreset: boolean; /** * Needed when running outside of sierra. If set to true, the strucmotif UI will use an absolute URL to sierra-prod. * Otherwise, the link will be relative on the current host. */ detachedFromSierra: boolean; layoutShowRemoteState: boolean; layoutShowSequence: boolean; layoutShowLog: boolean; layoutShowLeftPanel: boolean; collapseLeftPanel: boolean; collapseRightPanel: boolean; viewportShowExpand: boolean; viewportShowControls: boolean; viewportShowSelectionMode: boolean; volumeStreamingServer: string; backgroundColor: number; showWelcomeToast: boolean; modelUrlProviders: string; showExportControls: boolean; }; export type BiostructureProps = typeof BiostructurePropsDefault; export interface IBiostructureViewer extends IViewer { get dataEff(): BiostructureData | null; setOptions(options: Partial): void; } export interface ISaguaroViewer extends IViewer { setData(df: PdbResDataFrameType | DG.DataFrame): void; } declare module 'datagrok-api/dg' { interface DataFramePlotHelper { fromType(viewerType: 'Biostructure', options: Partial): Promise & IBiostructureViewer>; } } export declare function viewBiostructure(content: string, format?: string, name?: string): Promise; //# sourceMappingURL=molstar-viewer.d.ts.map