import { type MutableRefObject } from 'react';
import { type StoreApi } from 'zustand';
import type { TileKey, ViewportBounds } from '../../stores/viewport-store/types';
import type { ViewportStore } from '../../stores/viewport-store/createViewportStore';
import type { FetchQueue } from './types';
type UseHandleBoundsChangeParams = {
    enabled: boolean;
    store: StoreApi<ViewportStore>;
    queueRef: MutableRefObject<FetchQueue>;
    getCachedTile: (key: TileKey) => number[] | null;
    setCachedTile: (key: TileKey, wellIds: number[]) => void;
};
export declare const useHandleBoundsChange: ({ enabled, store, queueRef, getCachedTile, setCachedTile, }: UseHandleBoundsChangeParams) => ((newBounds: ViewportBounds | null) => void);
export {};
//# sourceMappingURL=useHandleBoundsChange.d.ts.map