import { AcApContext } from '../../app'; import { AcEdCommand } from '../../editor'; /** * AutoCAD-like `LAYULK` command. * * The command repeatedly asks the user to pick an entity and unlocks the * corresponding layer. It intentionally works by selection instead of layer * name entry, matching AutoCAD's `LAYULK` workflow. */ export declare class AcApLayerUnlockCmd extends AcEdCommand { /** * Creates a write-enabled `LAYULK` command instance. */ constructor(); /** * Runs the interactive unlock-layer workflow until the user cancels. * * @param context - Active application context used to read and update the current drawing. * @returns Resolves when the command loop ends. */ execute(context: AcApContext): Promise; /** * Prompts for one entity whose layer should be unlocked. * * @returns Picked entity identifier, or `undefined` when the user cancels. */ private promptSelection; /** * Sets or clears the locked bit in `standardFlags`. * * @param layer - Target layer table record. * @param locked - `true` to lock, `false` to unlock. */ private setLayerLocked; /** * Resolves the picked entity's layer and unlocks it when needed. * * @param context - Active application context containing the current database and view. * @param objectId - Identifier of the entity selected by the user. */ private unlockEntityLayer; /** * 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=AcApLayerUnlockCmd.d.ts.map