UNPKG

@rcsb/rcsb-saguaro-3d

Version:
16 lines (15 loc) 951 B
import { StructureRepresentationPresetProvider } from "molstar/lib/mol-plugin-state/builder/structure/representation-preset"; import { StructureBuilder } from "molstar/lib/mol-plugin-state/builder/structure"; import { StructureRepresentationBuilder } from "molstar/lib/mol-plugin-state/builder/structure/representation"; type ComponentType = Awaited<ReturnType<InstanceType<typeof StructureBuilder>["tryCreateComponentFromExpression"]>>; type RepresentationType = ReturnType<InstanceType<typeof StructureRepresentationBuilder>["buildRepresentation"]>; type ComponentMapType = Record<string, ComponentType>; type RepresentationMapType = Record<string, RepresentationType>; export declare const FlexibleAlignmentRepresentationPresetProvider: StructureRepresentationPresetProvider<undefined, { components?: undefined; representations?: undefined; } | { components: ComponentMapType; representations: RepresentationMapType; }>; export {};