declare type Point = [number, number];
export declare class Polyline {
    private readonly points;
    private readonly sections;
    constructor(points: {
        x: number;
        y: number;
    }[]);
    /**
     * Returns the size of the polyline.
     */
    readonly size: number;
    /**
     * Returns the middle of the polyline.
     */
    readonly middle: Point;
    /**
     * Moves along the section by the specified distance.
     * @param section
     * @param distance
     */
    private along;
    /**
     * Calculate the distance between two points.
     * @param p1 Start point
     * @param p2 End point
     */
    private distance;
}
export {};
