import type { PolymerBond } from '../../entities/PolymerBond'; import type { SubChainNode } from '../../entities/monomer-chains/types'; export type ConnectionDirectionInDegrees = 0 | 90 | 180 | 270; export type ConnectionDirectionOfLastCell = { readonly x: number; readonly y: number; }; export declare class Connection { readonly connectedNode: SubChainNode | null; readonly direction: ConnectionDirectionInDegrees | ConnectionDirectionOfLastCell; readonly isVertical: boolean; readonly polymerBond: PolymerBond; xOffset: number; yOffset: number; constructor(connectedNode: SubChainNode | null, direction: ConnectionDirectionInDegrees | ConnectionDirectionOfLastCell, isVertical: boolean, polymerBond: PolymerBond, xOffset: number, yOffset: number); }