import { EventEmitter, InjectOptions, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { ObjectEvent } from 'ol/Object'; import { Condition } from 'ol/events/condition'; import BaseEvent from 'ol/events/Event'; import DragRotate, { Options } from 'ol/interaction/DragRotate'; import { NolPrefixedOptions, NolSafeAny } from 'ngx-ol-library/core'; import * as i0 from "@angular/core"; /** * An interaction component allows the user to rotate the map by clicking and * dragging on the map. * @name nol-drag-rotate-interaction * @order 1 */ export declare class NolDragRotateInteractionComponent implements NolPrefixedOptions, OnInit, OnChanges, OnDestroy { nolActive: boolean; nolCondition?: Condition; nolDuration?: number; nolProperties?: Record; nolActiveChange: EventEmitter; nolChange: EventEmitter; nolError: EventEmitter; nolPropertychange: EventEmitter; private readonly cdr; private readonly destroyRef; private readonly host; private instance; getInstance(): DragRotate; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare function useDragRotateInteraction(): NolDragRotateInteractionComponent; export declare function useDragRotateInteraction(options: InjectOptions & { optional?: false; }): NolDragRotateInteractionComponent; export declare function useDragRotateInteraction(options: InjectOptions): NolDragRotateInteractionComponent | null;