import { InjectOptions, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { Size } from 'ol/size'; import { Fill, Stroke } from 'ol/style'; import { DeclutterMode } from 'ol/style/Style'; import TextStyle, { Options, TextJustify, TextPlacement } from 'ol/style/Text'; import { NolPrefixedOptions } from 'ngx-ol-library/core'; import * as i0 from "@angular/core"; /** * The component that set text style for vector features. * @name nol-text-style * @order 1 */ export declare class NolTextStyleComponent implements NolPrefixedOptions, OnInit, OnChanges, OnDestroy { nolFont?: string; nolMaxAngle?: number; nolOffsetX?: number; nolOffsetY?: number; nolOverflow?: boolean; nolPlacement?: TextPlacement; nolRepeat?: number; nolScale?: number | Size; nolRotateWithView?: boolean; nolRotation?: number; nolText?: string | string[]; nolTextAlign?: CanvasTextAlign; nolJustify?: TextJustify; nolTextBaseline?: CanvasTextBaseline; nolFill?: Fill | null; nolStroke?: Stroke; nolBackgroundFill?: Fill; nolBackgroundStroke?: Stroke; nolPadding?: number[]; nolDeclutterMode?: DeclutterMode; private readonly host; private instance; getInstance(): TextStyle; update(): void; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare function useTextStyle(): NolTextStyleComponent; export declare function useTextStyle(options: InjectOptions & { optional?: false; }): NolTextStyleComponent; export declare function useTextStyle(options: InjectOptions): NolTextStyleComponent | null;