import { fitFeatureBounds } from "./computeBounds"; export type FitFeatureBoundsHelpers = Readonly<{ fitFeatureBounds: typeof fitFeatureBounds; }>; /** * Build-your-own hook: stable reference to the `fitFeatureBounds` map action. * * Returns the `fitFeatureBounds` helper for consumers who need to programmatically * zoom/fit the viewport to a GeoJSON geometry — for example in click handlers that * should navigate to a selected shape or annotation. * * @example * ```tsx * const { fitFeatureBounds } = useFitFeatureBounds(); * // On click: * fitFeatureBounds(api, feature.geometry); * ``` */ export declare const useFitFeatureBounds: () => FitFeatureBoundsHelpers;