import { EventEmitter, InjectOptions, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { MapBrowserEvent } from 'ol'; import { ObjectEvent } from 'ol/Object'; import BaseEvent from 'ol/events/Event'; import PointerInteraction, { Options } from 'ol/interaction/Pointer'; import { NolPrefixedOptions, NolSafeAny } from 'ngx-ol-library/core'; import * as i0 from "@angular/core"; /** * Base component that calls user-defined functions on `down`, `move` and `up` * events. * @name nol-pointer-interaction * @order 1 */ export declare class NolPointerInteractionComponent implements NolPrefixedOptions, OnInit, OnChanges, OnDestroy { nolActive: boolean; nolHandleDownEvent?: ((event: MapBrowserEvent) => boolean); nolHandleDragEvent?: ((event: MapBrowserEvent) => void); nolHandleEvent?: ((event: MapBrowserEvent) => boolean); nolHandleMoveEvent?: ((event: MapBrowserEvent) => void); nolHandleUpEvent?: ((event: MapBrowserEvent) => boolean); nolStopDown?: ((event: boolean) => boolean); nolProperties?: Record; nolActiveChange: EventEmitter; nolChange: EventEmitter; nolError: EventEmitter; nolPropertychange: EventEmitter; private readonly cdr; private readonly destroyRef; private readonly host; private instance; getInstance(): PointerInteraction; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare function usePointerInteraction(): NolPointerInteractionComponent; export declare function usePointerInteraction(options: InjectOptions & { optional?: false; }): NolPointerInteractionComponent; export declare function usePointerInteraction(options: InjectOptions): NolPointerInteractionComponent | null;