import { EventEmitter, InjectOptions, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { MapEvent } from 'ol'; import { ObjectEvent } from 'ol/Object'; import BaseEvent from 'ol/events/Event'; import ScaleLine, { Options, Units } from 'ol/control/ScaleLine'; import { NolPrefixedOptions, NolSafeAny } from 'ngx-ol-library/core'; import * as i0 from "@angular/core"; /** * A control component displaying rough y-axis distances, calculated for the * center of the viewport. * @name nol-scale-line-control * @order 1 */ export declare class NolScaleLineControlComponent implements NolPrefixedOptions, OnInit, OnChanges, OnDestroy { nolClassName?: string; nolMinWidth?: number; nolMaxWidth?: number; nolRender?: ((event: MapEvent) => void); nolTarget?: string | HTMLElement; nolUnits?: Units; nolBar?: boolean; nolSteps?: number; nolText?: boolean; nolDpi?: number; nolProperties?: Record; nolChange: EventEmitter; nolUnitsChange: EventEmitter; nolError: EventEmitter; nolPropertychange: EventEmitter; private readonly cdr; private readonly destroyRef; private readonly host; private instance; getInstance(): ScaleLine; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare function useScaleLineControl(): NolScaleLineControlComponent; export declare function useScaleLineControl(options: InjectOptions & { optional?: false; }): NolScaleLineControlComponent; export declare function useScaleLineControl(options: InjectOptions): NolScaleLineControlComponent | null;