@rcsb/rcsb-saguaro-3d
Version:
RCSB Molstar/Saguaro Web App
16 lines (15 loc) • 935 B
TypeScript
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 AssemblyRepresentationPresetProvider: StructureRepresentationPresetProvider<{}, {
components?: undefined;
representations?: undefined;
} | {
components: ComponentMapType;
representations: RepresentationMapType;
}>;
export {};