import { AcApContext } from '../../app'; import { AcEdCommand } from '../../editor'; /** * AutoCAD-like `LAYCUR` command. * * The command changes the layer property of selected objects to the current * database layer (`CLAYER`). It supports both preselection and an interactive * selection prompt, matching AutoCAD's object-first workflow. */ export declare class AcApLayerCurCmd extends AcEdCommand { /** * Creates a write-enabled `LAYCUR` command instance. */ constructor(); /** * Runs the change-selected-objects-to-current-layer workflow. * * @param context - Active application context used to read and update the current drawing. * @returns Resolves when command execution completes or is canceled. */ execute(context: AcApContext): Promise; /** * Prompts for objects whose layer should be changed. * * @returns Selected object identifiers, or `undefined` when the prompt is canceled. */ private promptSelection; /** * Applies the current layer to selected entities. * * @param context - Active application context containing database and view. * @param objectIds - Selected entity identifiers. */ private moveObjectsToCurrentLayer; /** * Sends a localized status message through the command-line output. * * @param message - Text to display to the user. * @param type - Visual severity mapped to command-line message styles. */ private notify; } //# sourceMappingURL=AcApLayerCurCmd.d.ts.map