import Feature from 'ol/Feature.js'; import Layer from './layer.js'; import Geometry from 'ol/geom/Geometry.js'; import { Extent } from 'ol/extent.js'; import ILayerWithLegend from './ilayerwithlegend.js'; declare class LayerLocalFile extends Layer implements ILayerWithLegend { /** * This class is a used in the state of the application, which will be accessed behind a javascript proxy. * This means that each modification made to its properties must come from outside, * because they have to be made through the proxy, so that the modification can be listen. * Therefore, this class must not contain any method which is updating a value directly * For example, any method doing is forbidden here, because the modification be known from the proxy */ _features: Feature[]; lastModifiedDate: string; legend: boolean; isLegendExpanded: boolean; wasLegendExpanded: boolean; extent: Extent; constructor(file: File, features: Feature[], extent: Extent, locale: string); clone(): LayerLocalFile; } export default LayerLocalFile;