UNPKG

@iktos-oss/molecule-representation

Version:

exports interactif molecule represnetations as react components

21 lines (20 loc) 1.27 kB
import { BondIdentifiers } from './svg-computation'; export declare const RDKIT_ATOMS_CLASS_REGEX: RegExp; export declare const RDKIT_HIGHLIGHTED_ELIPSES_IDENTIFIER: string; export declare const CLICKABLE_MOLECULE_CLASSNAME = "clickable-molecule"; export declare const isIdClickedAnAtom: (id: string) => boolean; export declare const isIdClickedABond: (id: string) => boolean; export declare const isHighlightingPath: (path: SVGPathElement) => boolean; export declare const getClickableAtomIdFromAtomIdx: (atomIdx: number) => string; export declare const getAtomIdxFromClickableId: (id: string) => string; export declare const getAtomIdsFromClassnames: (bondClassnames: DOMTokenList) => number[]; export declare const getClickableBondId: ({ bondId, startAtomId, endAtomId, }: { bondId: number; startAtomId: number; endAtomId: number; }) => string; export declare const getClickedBondIdentifiersFromId: (id: string) => BondIdentifiers; export declare const getBondIdFromClassnames: (bondClassnames: DOMTokenList) => number[]; export declare const getAtomSelectorIdentifier: (atomIdx: number) => string; export declare const getBondSelectorIdentifier: (atomIdx: number) => string; export declare const getAtomHighliteEllipseIdentifier: (atomIdx: number) => string;