import { FetchableTile } from './FetchableTile.js'; import { CacheableTile } from './CacheableTile.js'; import { FetchFn } from '@allmaps/types'; /** * Class for tiles that can be cached, and whose data can be processed to an ImageData object. */ export declare class CacheableImageDataTile extends CacheableTile { /** * Fetch the tile and create its ImageData object. * * @returns */ fetch(): Promise; applySprites(): Promise; spritesDataToCachedTiles(): never[]; static createFactory(): (fetchableTile: FetchableTile, fetchFn?: FetchFn) => CacheableImageDataTile; } /** * Class for tiles that is cached, and whose data has been processed to an ImageData object. */ export declare class CachedImageDataTile extends CacheableImageDataTile { data: ImageData; }