import { FeatureLike } from "ol/Feature"; import { Extent } from "ol/extent"; import FeatureFormat from "ol/format/Feature"; import { Projection } from "ol/proj"; export declare const featureId: (f: FeatureLike | number) => number; /** * This is a rewrite of loadFeaturesXhr() in ol/featureloader.js to use fetch() instead of XMLHttpRequest. * This is needed so that patchFetch() from lol-auth-js can inject a bearer token into the auth header. */ export declare const loadFeatures: (url: string, format: FeatureFormat, extent: Extent, projection: Projection) => Promise;