import { EventEmitter, InjectOptions, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { AttributionLike } from 'ol/source/Source'; import { FeatureLoader, FeatureUrlFunction } from 'ol/featureloader'; import { Geometry } from 'ol/geom'; import VectorSource, { LoadingStrategy, Options, VectorSourceEvent } from 'ol/source/Vector'; import Feature from 'ol/Feature'; import Collection from 'ol/Collection'; import FeatureFormat from 'ol/format/Feature'; import BaseEvent from 'ol/events/Event'; import { NolPrefixedOptions, NolSafeAny } from 'ngx-ol-library/core'; import * as i0 from "@angular/core"; /** * Provides a source of features for `nol-vector-layer` components. * @name nol-vector-source * @order 1 */ export declare class NolVectorSourceComponent implements NolPrefixedOptions>>, OnInit, OnChanges, OnDestroy { nolAttributions?: AttributionLike; nolFeatures?: Feature[] | Collection>; nolFormat?: FeatureFormat; nolLoader?: FeatureLoader; nolOverlaps?: boolean; nolStrategy?: LoadingStrategy; nolUrl?: string | FeatureUrlFunction; nolUseSpatialIndex?: boolean; nolWrapX?: boolean; nolProperties?: Record; nolAddfeature: EventEmitter>>; nolChange: EventEmitter; nolChangefeature: EventEmitter>>; nolClear: EventEmitter>>; nolError: EventEmitter; nolFeaturesloadend: EventEmitter>>; nolFeaturesloaderror: EventEmitter>>; nolFeaturesloadstart: EventEmitter>>; nolPropertychange: EventEmitter; nolRemovefeature: EventEmitter>>; private readonly destroyRef; private readonly host; private instance; getInstance(): VectorSource>; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare function injectVectorSource(): NolVectorSourceComponent; export declare function injectVectorSource(options: InjectOptions & { optional?: false; }): NolVectorSourceComponent; export declare function injectVectorSource(options: InjectOptions): NolVectorSourceComponent | null;