/** * The toolbar "lock map" button — toggles the adapter's {@link MapAdapter.setInteractive} * so the map can't pan/zoom/rotate while drawing. A `standalone` utility button (it * never changes the active tool selection); its padlock icon + tooltip flip with state. */ import type { ToolbarItem } from "./index.js"; /** * Build the "lock map" toolbar item, or `null` when `show === false`. Clicking it * toggles a private locked state, calls `setInteractive(!locked)`, and re-paints its * icon/tooltip. The adapter wires `setInteractive` to its engine; this helper owns only * the button's presentation + toggle. */ export declare function lockToolbarItem(show: boolean | undefined, setInteractive: (enabled: boolean) => void): ToolbarItem | null; //# sourceMappingURL=lock.d.ts.map