/** * Lets go of a card's pin the way a Cartesian chart does: on any press that misses the marks, * whether on empty plot, elsewhere in the card, or off it, and on Escape while the card has the * keyboard (focus inside it, or the last press landed in it). Presses on controls keep the pin, * so a legend item or period menu decides for itself. */ export declare function usePinRelease(root: Element | null, pinned: boolean, release: (() => void) | undefined, /** Whether a press inside the plot landed on a mark. */ onMark: (event: PointerEvent, root: Element) => boolean): void;