import olStyle from 'ol/style/Style'; export interface StyleByAttribute { type?: string; attribute?: string; data?: Array; fill?: Array; stroke?: Array; width?: Array; radius?: Array; icon?: Array; scale?: Array; label?: string | { [key: string]: any; } | olStyle | olStyle[]; baseStyle?: { [key: string]: any; } | olStyle | olStyle[]; } export interface MapboxStyle { url: string; source: string; }