import { EventEmitter, InjectOptions, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { MapEvent } from 'ol'; import { ObjectEvent } from 'ol/Object'; import { CoordinateFormat } from 'ol/coordinate'; import { ProjectionLike } from 'ol/proj'; import BaseEvent from 'ol/events/Event'; import MousePosition, { Options } from 'ol/control/MousePosition'; import { NolPrefixedOptions, NolSafeAny } from 'ngx-ol-library/core'; import * as i0 from "@angular/core"; /** * A control component to show the 2D coordinates of the mouse cursor. * @name nol-mouse-position-control * @order 1 */ export declare class NolMousePositionControlComponent implements NolPrefixedOptions, OnInit, OnChanges, OnDestroy { nolClassName?: string; nolCoordinateFormat?: CoordinateFormat; nolProjection?: ProjectionLike; nolRender?: ((event: MapEvent) => void); nolTarget?: string | HTMLElement; nolPlaceholder?: string; nolWrapX?: boolean; nolProperties?: Record; nolChange: EventEmitter; nolCoordinateFormatChange: EventEmitter; nolProjectionChange: EventEmitter; nolError: EventEmitter; nolPropertychange: EventEmitter; private readonly cdr; private readonly destroyRef; private readonly host; private instance; getInstance(): MousePosition; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare function useMousePositionControl(): NolMousePositionControlComponent; export declare function useMousePositionControl(options: InjectOptions & { optional?: false; }): NolMousePositionControlComponent; export declare function useMousePositionControl(options: InjectOptions): NolMousePositionControlComponent | null;