import { EventEmitter, InjectOptions, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { ObjectEvent } from 'ol/Object'; import { Condition } from 'ol/events/condition'; import { DragBoxEvent } from 'ol/interaction/DragBox'; import BaseEvent from 'ol/events/Event'; import DragZoom, { Options } from 'ol/interaction/DragZoom'; import { NolPrefixedOptions, NolSafeAny } from 'ngx-ol-library/core'; import * as i0 from "@angular/core"; /** * An interaction component allows the user to zoom the map by clicking and * dragging on the map. * @name nol-drag-zoom-interaction * @order 1 */ export declare class NolDragZoomInteractionComponent implements NolPrefixedOptions, OnInit, OnChanges, OnDestroy { nolActive: boolean; nolClassName?: string; nolCondition?: Condition; nolDuration?: number; nolOut?: boolean; nolMinArea?: number; 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(): DragZoom; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare function useDragZoomInteraction(): NolDragZoomInteractionComponent; export declare function useDragZoomInteraction(options: InjectOptions & { optional?: false; }): NolDragZoomInteractionComponent; export declare function useDragZoomInteraction(options: InjectOptions): NolDragZoomInteractionComponent | null;