import { ComponentId } from "@intelligentgraphics/ig.gfx.core";
/**
 * Class for connecting articles (e.g. after a change in dimension or a movement)
 * Has to be initiated before the disconnection starts.
 */
export declare class ArticleConnector {
    /** The previously left component */
    private left;
    /** The previously right component */
    private right;
    constructor(left: ComponentId, right: ComponentId);
    /**
     * Restore the connection.
     * Only works if there are matching attachpoints in the neighbor group of the left and right element.
     */
    connect(): void;
    /**
     * Get the closest match to use for the connection.
     * We need to consider the "Left" points of the right group and the "Right" points of the left group.
     * @returns {any}
     */
    private closestMatch;
    /**
     * Make all possible matches and sort by distance so that the first match is the one with the closest distance
     * @param firstPoints
     * @param secondPoints
     * @param first
     * @param second
     * @returns {any}
     */
    private bestMatch;
}
