import { EventEmitter, InjectOptions, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { ObjectEvent } from 'ol/Object'; import { Condition } from 'ol/events/condition'; import { Extent } from 'ol/extent'; import { StyleLike } from 'ol/style/Style'; import BaseEvent from 'ol/events/Event'; import ExtentInteraction, { ExtentEvent, Options } from 'ol/interaction/Extent'; import { NolPrefixedOptions, NolSafeAny } from 'ngx-ol-library/core'; import * as i0 from "@angular/core"; /** * An interaction component that allows the user to draw a vector box by clicking * and dragging on the map. * @name nol-extent-interaction * @order 1 */ export declare class NolExtentInteractionComponent implements NolPrefixedOptions, OnInit, OnChanges, OnDestroy { nolActive: boolean; nolCondition?: Condition; nolExtent?: Extent; nolBoxStyle?: StyleLike; nolPixelTolerance?: number; nolPointerStyle?: StyleLike; nolWrapX?: boolean; nolProperties?: Record; nolActiveChange: EventEmitter; nolChange: EventEmitter; nolError: EventEmitter; nolExtentchanged: EventEmitter; nolPropertychange: EventEmitter; private readonly cdr; private readonly destroyRef; private readonly host; private instance; getInstance(): ExtentInteraction; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare function useExtentInteraction(): NolExtentInteractionComponent; export declare function useExtentInteraction(options: InjectOptions & { optional?: false; }): NolExtentInteractionComponent; export declare function useExtentInteraction(options: InjectOptions): NolExtentInteractionComponent | null;