Interface SketchToolBindingCompatExperimental

Duck-typed subset of the runtime terra-draw sketch handle (bindTerraDrawSketch / createTerraDrawSketch from @honua/sdk-js/runtime) that the Sketch shim can delegate tool modes to. Structural on purpose: the compat layer never imports the optional terra-draw peer, it only feature-detects a binding the app wired up.

interface SketchToolBindingCompat {
    cancel?(): void;
    select?(): void;
    setTool(tool: EditSketchTool): unknown;
}

Methods