import { AcDbLine, AcGePoint3dLike } from '@mlightcad/data-model';
import { AcApContext } from '../app';
import { AcEdBaseView, AcEdCommand, AcEdPreviewJig } from '../editor';
/**
 * Dynamic preview jig for LINE command.
 */
export declare class AcApLineJig extends AcEdPreviewJig<AcGePoint3dLike> {
    /**
     * Transient line entity reused during interactive preview.
     */
    private _line;
    /**
     * Creates a line jig.
     *
     * @param view - The associated view
     */
    constructor(view: AcEdBaseView, start: AcGePoint3dLike);
    /**
     * Gets transient line entity used by this jig.
     */
    get entity(): AcDbLine;
    /**
     * Updates preview line endpoint from current cursor point.
     *
     * @param point - Current cursor/input point.
     */
    update(point: AcGePoint3dLike): void;
}
/**
 * Command to create chained line segments.
 *
 * Behavior is aligned with AutoCAD LINE:
 * - After the first point, each confirmed next point immediately creates one segment.
 * - `Undo` removes the last created segment.
 * - `Close` creates the closing segment to the first point and ends command.
 */
export declare class AcApLineCmd extends AcEdCommand {
    /**
     * Last endpoint created by LINE command.
     *
     * Used by "Continue" option at next LINE start.
     */
    private static _lastEndpoint?;
    /**
     * Creates LINE command instance.
     */
    constructor();
    /**
     * Command entry point.
     *
     * Supports chained point input with `Undo` and `Close` options.
     *
     * @param context - Current application/document context.
     */
    execute(context: AcApContext): Promise<void>;
}
//# sourceMappingURL=AcApLineCmd.d.ts.map