import { EventEmitter, InjectOptions, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { MapBrowserEvent } from 'ol'; import { ObjectEvent } from 'ol/Object'; import { Condition } from 'ol/events/condition'; import BaseEvent from 'ol/events/Event'; import DragBox, { DragBoxEvent, EndCondition, Options } from 'ol/interaction/DragBox'; import { NolPrefixedOptions, NolSafeAny } from 'ngx-ol-library/core'; import * as i0 from "@angular/core"; /** * An interaction component allows the user to draw a vector box by clicking and * dragging on the map. * @name nol-drag-box-interaction * @order 1 */ export declare class NolDragBoxInteractionComponent implements NolPrefixedOptions, OnInit, OnChanges, OnDestroy { nolActive: boolean; nolClassName?: string; nolCondition?: Condition; nolMinArea?: number; nolBoxEndCondition?: EndCondition; nolOnBoxEnd?: ((event: MapBrowserEvent) => void); nolProperties?: Record; nolActiveChange: EventEmitter; nolBoxcancel: EventEmitter; nolBoxdrag: EventEmitter; nolBoxend: EventEmitter; nolBoxstart: EventEmitter; nolChange: EventEmitter; nolError: EventEmitter; nolPropertychange: EventEmitter; private readonly cdr; private readonly destroyRef; private readonly host; private instance; getInstance(): DragBox; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare function useDragBoxInteraction(): NolDragBoxInteractionComponent; export declare function useDragBoxInteraction(options: InjectOptions & { optional?: false; }): NolDragBoxInteractionComponent; export declare function useDragBoxInteraction(options: InjectOptions): NolDragBoxInteractionComponent | null;