/**
 * Two-level tile cache: memory (instant) + sessionStorage (LZ-compressed, persistent).
 * Writes are debounced and deferred to browser idle time via requestIdleCallback.
 * Only well IDs are cached; full well data is restored from the viewport store on hits.
 */
import type { TileKey } from '../../stores/viewport-store/types';
type TileCacheResult = {
    getCachedTile: (key: TileKey) => number[] | null;
    setCachedTile: (key: TileKey, wellIds: number[]) => void;
    clearCache: () => void;
};
export declare const useTileCache: () => TileCacheResult;
export {};
//# sourceMappingURL=useTileCache.d.ts.map