import { EventEmitter } from '../../stencil-public-runtime'; import { type StyleFormat, type ResolvedStyle, StyleEvent } from '../../types/styling'; export declare class VMapStyle { el: HTMLElement; /** * The styling format to parse (supports 'sld', 'mapbox-gl', 'qgis', 'lyrx', 'cesium-3d-tiles'). */ format: StyleFormat; /** * The style source - can be a URL to fetch from or inline SLD/style content. */ src?: string; /** * Inline style content as string (alternative to src). */ content?: string; /** * Target layer IDs to apply this style to. If not specified, applies to all compatible layers. */ layerTargets?: string; /** * Whether to automatically apply the style when loaded. * @default true */ autoApply: boolean; /** * Fired when style is successfully parsed and ready to apply. */ styleReady: EventEmitter; /** * Fired when style parsing fails. */ styleError: EventEmitter; private parsedStyle?; private isLoading; private error?; private sldParser; private mapboxParser; private qgisParser; private lyrxParser; connectedCallback(): Promise; onStyleSourceChanged(): Promise; /** * Load and parse the style from src or content. */ loadAndParseStyle(): Promise; private parseStyle; private parseSLD; private parseMapboxGL; private parseQGIS; private parseLyrx; /** * Get the currently parsed style. */ getStyle(): Promise; private parseCesium3DTiles; private parseGeoStyler; /** * Get the target layer IDs as array. async */ getLayerTargetIds(): Promise; /** * Get the target layer IDs as array. */ getLayerTargets(): string[]; /** * Check if style is loading. */ isStyleLoading(): boolean; /** * Get any parsing error. */ getError(): Error | undefined; render(): any; }