import { Control, type ControlOptions } from 'leaflet'; import type { ElementHook } from './element.js'; export declare function createControlHook(useElement: ElementHook): (props: P) => ReturnType>;