import type L from 'leaflet'; declare type GetLayer = (url: string) => Promise; interface OfflineLayerProps { url: string; options?: L.TileLayerOptions; getTileUrl: GetLayer; } declare function OfflineLayer(props: OfflineLayerProps): null; export default OfflineLayer;