ketcher-core
Version:
Web-based molecule sketcher
15 lines (14 loc) • 690 B
TypeScript
import type { Vec2 } from "../../../domain/entities/vec2";
import type { AttachmentPointName } from "../../../domain/types";
export declare const MonomerCreationAttachmentPointClickEvent = "MonomerCreationAttachmentPointClick";
export declare const MonomerCreationComponentStructureUpdateEvent = "MonomerCreationComponentStructureUpdate";
export declare type AttachmentPointClickData = {
attachmentPointName: AttachmentPointName;
position: Vec2;
};
export declare type RnaPresetComponentKey = 'base' | 'sugar' | 'phosphate';
export declare type ComponentStructureUpdateData = {
componentKey: RnaPresetComponentKey;
atomIds: number[];
bondIds: number[];
};