import { EventEmitter, InjectOptions, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { AttributionLike } from 'ol/source/Source'; import { Feature } from 'ol'; import { Geometry, Point } from 'ol/geom'; import { ObjectEvent } from 'ol/Object'; import { FeatureLoader } from 'ol/featureloader'; import BaseEvent from 'ol/events/Event'; import VectorSource, { VectorSourceEvent } from 'ol/source/Vector'; import Cluster, { Options } from 'ol/source/Cluster'; import { NolPrefixedOptions, NolSafeAny } from 'ngx-ol-library/core'; import * as i0 from "@angular/core"; /** * Layer source component to cluster vector data. * @name nol-cluster-source * @order */ export declare class NolClusterSourceComponent implements NolPrefixedOptions>>, OnInit, OnChanges, OnDestroy { nolAttributions?: AttributionLike; nolDistance?: number; nolLoader?: FeatureLoader; nolMinDistance?: number; nolGeometryFunction?: ((feature: Feature) => Point); nolCreateCluster?: ((point: Point, features: Array) => Feature); nolSource?: VectorSource>; 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(): Cluster>; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare function useClusterSource(): NolClusterSourceComponent; export declare function useClusterSource(options: InjectOptions & { optional?: false; }): NolClusterSourceComponent; export declare function useClusterSource(options: InjectOptions): NolClusterSourceComponent | null;