import { Tile } from 'ol';
import { WebGLTile as LayerTileWebGL } from 'ol/layer';
import { DataTile as SourceDataTile } from 'ol/source';
import { default as RLayerRaster, RLayerRasterProps } from './RLayerRaster';
/**
 * @propsfor RLayerWebGL
 */
export interface RLayerWebGLProps extends RLayerRasterProps {
    /**
     * The internal texture cache size in Kb.
     * This needs to be large enough to render two zoom levels worth of tiles.
     * @default 512
     * Cannot be modified once set.
     */
    cacheSize?: number;
}
/**
 * An abstract layer serving as base to the WebGL layers
 *
 * Requires an `RMap` context
 */
export default class RLayerWebGL<P extends RLayerWebGLProps, S extends Tile> extends RLayerRaster<P> {
    ol: LayerTileWebGL;
    source: SourceDataTile<S>;
}
//# sourceMappingURL=RLayerWebGL.d.ts.map