export class RoadConnection {
    /**
     *
     * @param {PathEndPoint} source
     * @param {PathEndPoint} target
     * @param {number[]} indices
     */
    static from(source: PathEndPoint, target: PathEndPoint, indices: number[]): RoadConnection;
    /**
     *
     * @type {PathEndPoint}
     */
    source: PathEndPoint;
    /**
     *
     * @type {PathEndPoint}
     */
    target: PathEndPoint;
    /**
     *
     * @type {number[]}
     */
    indices: number[];
    /**
     *
     * @param {AABB2} result
     * @param {number} width Grid width, required to convert indices to X,Y coordinates
     */
    computeBounds(result: AABB2, width: number): void;
    /**
     * Test whether index is part of the path or not
     * @param {number} index
     * @returns {boolean}
     */
    test(index: number): boolean;
    /**
     *
     * @param {MarkerNode} marker
     * @returns {boolean}
     */
    isAttachedToNodeMarker(marker: MarkerNode): boolean;
    /**
     *
     * @param {number} id
     * @returns {boolean}
     */
    isAttachedToMarkerGroup(id: number): boolean;
}
//# sourceMappingURL=RoadConnection.d.ts.map