UNPKG

@rcsb/rcsb-saguaro-3d

Version:
25 lines (24 loc) 1.17 kB
import { StructureViewerBehaviourObserverInterface } from "../StructureViewerBehaviourInterface"; import { ViewerActionManagerInterface, ViewerCallbackManagerInterface } from "../StructureViewerInterface"; import { RcsbFvStateInterface } from "../../RcsbFvState/RcsbFvStateInterface"; import { StructureLoaderInterface } from "../StructureUtils/StructureLoaderInterface"; import { TargetAlignments } from "@rcsb/rcsb-api-tools/lib/RcsbGraphQL/Types/Borrego/GqlTypes"; type MsaBehaviourType<R, L> = StructureLoaderInterface<[ ViewerCallbackManagerInterface & ViewerActionManagerInterface<R, L>, { entryId: string; entityId: string; } | { entryId: string; instanceId: string; }, TargetAlignments ], L>; export declare class MsaBehaviourObserver<R, L> implements StructureViewerBehaviourObserverInterface<R, L> { private structureBehaviour; private readonly structureLoader; constructor(structureLoader: MsaBehaviourType<R, L>); observe(structureViewer: ViewerCallbackManagerInterface & ViewerActionManagerInterface<R, L>, stateManager: RcsbFvStateInterface): void; unsubscribe(): void; } export {};