@rcsb/rcsb-saguaro-3d
Version:
RCSB Molstar/Saguaro Web App
31 lines (30 loc) • 1.54 kB
TypeScript
import { LoadParamsProviderInterface, StructureLoaderInterface } from "../../../StructureUtils/StructureLoaderInterface";
import { ViewerActionManagerInterface } from "../../../StructureViewerInterface";
import { LoadMolstarInterface, LoadMolstarReturnType } from "../MolstarActionManager";
import { AlignmentTrajectoryParamsType } from "../TrajectoryPresetProvider/AlignmentTrajectoryPresetProvider";
import { TargetAlignments } from "@rcsb/rcsb-api-tools/lib/RcsbGraphQL/Types/Borrego/GqlTypes";
export declare class MolstarAlignmentLoader implements StructureLoaderInterface<[
ViewerActionManagerInterface<LoadMolstarInterface<AlignmentTrajectoryParamsType, LoadMolstarReturnType>, LoadMolstarReturnType>,
{
entryId: string;
entityId: string;
} | {
entryId: string;
instanceId: string;
},
TargetAlignments
], LoadMolstarReturnType> {
private readonly loadParamsProvider?;
constructor(loadParamsProvider?: LoadParamsProviderInterface<{
entryId: string;
instanceId: string;
}, LoadMolstarInterface<AlignmentTrajectoryParamsType, LoadMolstarReturnType>>);
private readonly structureMap;
load(structureViewer: ViewerActionManagerInterface<LoadMolstarInterface<AlignmentTrajectoryParamsType, LoadMolstarReturnType>, LoadMolstarReturnType>, pdb: {
entryId: string;
entityId: string;
} | {
entryId: string;
instanceId: string;
}, targetAlignment: TargetAlignments): Promise<undefined | LoadMolstarReturnType>;
}