import { EventEmitter, InjectOptions, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { Feature } from 'ol'; import { ObjectEvent } from 'ol/Object'; import { Geometry } from 'ol/geom'; import { ProjectionLike } from 'ol/proj'; import BaseEvent from 'ol/events/Event'; import FeatureFormat from 'ol/format/Feature'; import VectorSource from 'ol/source/Vector'; import DragAndDrop, { DragAndDropEvent, Options } from 'ol/interaction/DragAndDrop'; import { NolPrefixedOptions, NolSafeAny } from 'ngx-ol-library/core'; import * as i0 from "@angular/core"; /** * Interaction component that handles input of vector data by drag and drop. * @name nol-drag-and-drop-interaction * @order 1 */ export declare class NolDragAndDropInteractionComponent implements NolPrefixedOptions, OnInit, OnChanges, OnDestroy { nolActive: boolean; nolFormatConstructors?: (FeatureFormat | typeof FeatureFormat)[]; nolSource?: VectorSource>; nolProjection?: ProjectionLike; nolTarget?: HTMLElement; nolProperties?: Record; nolActiveChange: EventEmitter; nolAddfeatures: EventEmitter; nolChange: EventEmitter; nolError: EventEmitter; nolPropertychange: EventEmitter; private readonly cdr; private readonly destroyRef; private readonly host; private instance; getInstance(): DragAndDrop; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare function useDragAndDropInteraction(): NolDragAndDropInteractionComponent; export declare function useDragAndDropInteraction(options: InjectOptions & { optional?: false; }): NolDragAndDropInteractionComponent; export declare function useDragAndDropInteraction(options: InjectOptions): NolDragAndDropInteractionComponent | null;