/** * Returns the function behind `XYChartRef._pin`. It finds the drawn flame span * with the given id, scrolls it to the vertical middle of a scrolling chart, * and pins the tooltip on it once the scroll has finished. It does nothing * when no drawn span has the id, or when the span is outside the visible * range. * * The chart replaces its tooltip store whenever it renders, and a caller often * renders the chart together with the pin. The request is therefore kept as * state and handled after the render is committed. The pin itself always runs * with the values of the newest render, also when it runs after the scroll. */ export declare function useProgrammaticPin(): (id: unknown) => void; //# sourceMappingURL=useProgrammaticPin.d.ts.map