import { TileDownloadListener as ITileDownloadListener, MemoryCacheTileDataSourceOptions, PersistentCacheTileDataSourceOptions } from './cache'; import { TileDataSource } from '.'; import { MapBounds } from '../core'; export declare class PersistentCacheTileDataSource extends TileDataSource { capacity: number; cacheOnlyMode: number; createNative(options: PersistentCacheTileDataSourceOptions): com.carto.datasources.PersistentCacheTileDataSource; close(): void; clear(): void; isOpen(): boolean; stopAllDownloads(): void; loaderListener: com.akylas.carto.additions.AKTileDownloadListener; startDownloadAreaMinZoomMaxZoomTileDownloadListener(mapBounds: MapBounds, minZoom: number, maxZoom: number, tileDownloadListener: ITileDownloadListener): void; } export declare class MemoryCacheTileDataSource extends TileDataSource { capacity: number; createNative(options: MemoryCacheTileDataSourceOptions): com.carto.datasources.MemoryCacheTileDataSource; }