import { AcApContext } from '../../app'; import { AcEdCommand } from '../../editor'; import { AcTrView2d } from '../../view'; /** * Registers a cleanup function to be called when the Clear Measurements command * runs. Used for CAD transient entities, canvas overlays, and viewChanged * listeners that are not managed by the htmlTransientManager. */ export declare function registerMeasurementCleanup(fn: () => void): void; /** * Runs every measurement-cleanup callback registered via * `registerMeasurementCleanup` and clears the measurement HTML overlay * layer on the given view. Shared between the user-facing * `AcApClearMeasurementsCmd` command and internal lifecycle hooks * (e.g. clearing measurements when the user switches paper-space * layouts, where any pending measurement would otherwise leak across * layouts in coordinates that no longer make sense). */ export declare function clearAllMeasurements(view: AcTrView2d): void; export declare class AcApClearMeasurementsCmd extends AcEdCommand { constructor(); execute(context: AcApContext): Promise; } //# sourceMappingURL=AcApClearMeasurementsCmd.d.ts.map