import ImageTileSource from 'ol/source/TileImage.js'; import { MBTilesRasterOptions, SQLOptions } from './mbtiles.js'; /** * A tile source in a remote .mbtiles file accessible by HTTP * * WARNING * If your application continuously creates and removes MBTilesSource * objects, special care must be taken to properly dispose of them. * An MBTilesSource creates a thread pool that the JS engine is unable to * automatically garbage-collect unless the dispose() method * is invoked. * If you need to dispose a map that can potentially contain * MBTilesSource objects, check loadExample() in * https://github.com/mmomtchev/ol-mbtiles/blob/main/examples/index.ts#L15 */ export declare class MBTilesRasterSource extends ImageTileSource { private pool; private mime?; /** * @param {MBTilesRasterOptions} options options */ constructor(options: MBTilesRasterOptions & SQLOptions); private tileLoader; disposeInternal(): Promise; }