@rcsb/rcsb-saguaro-3d
Version:
RCSB Molstar/Saguaro Web App
25 lines (24 loc) • 1.17 kB
TypeScript
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 {};