import type { Fn } from "@thi.ng/api";
import type { ReadonlyVec, Vec } from "@thi.ng/vectors";
import type { Attribs, IHiccupPathSegment, IHiccupShape2 } from "../api.js";
import { APC } from "./apc.js";
export declare class Line extends APC implements IHiccupShape2<Line>, IHiccupPathSegment {
    readonly type = "line";
    readonly dim = 2;
    constructor(points: Iterable<Vec>, attribs?: Attribs);
    copy(): Line;
    copyTransformed(fn: Fn<ReadonlyVec[], Vec[]>): Line;
    withAttribs(attribs: Attribs): Line;
    toHiccup(): (string | Vec | Attribs | undefined)[];
    toHiccupPathSegments(): import("../api.js").HiccupPathSegment[];
}
//# sourceMappingURL=line.d.ts.map