import type { DwgSplineEntity } from "@mlightcad/libredwg-web";
import IGeometry, { IEntity, IPoint } from "./geomtry";
import { DxfBaseReader, IGroup } from "../DxfBaseReader";
export interface ISplineEntity extends IEntity {
    controlPoints?: IPoint[];
    fitPoints?: IPoint[];
    startTangent: IPoint;
    endTangent: IPoint;
    knots: number[];
    closed: boolean;
    periodic: boolean;
    rational: boolean;
    planar: boolean;
    linear: boolean;
    /**
     * degree of spline curve
     */
    degree: number;
    numberOfKnots: number;
    numberOfControlPoints: number;
    numberOfFitPoints: number;
    normalVector: IPoint;
}
export default class Spline implements IGeometry {
    ForEntityType: "SPLINE";
    parseEntity(scanner: DxfBaseReader, curr: IGroup): ISplineEntity;
    parseDwgEntity(entity: DwgSplineEntity): IEntity;
}
