import type { LoaderContext, LoaderOptions } from '@loaders.gl/loader-utils'; import type { BasemapLoadOptions, ResolvedBasemapStyle } from "./style-resolver.js"; /** Namespaced loaders.gl options for {@link MapStyleLoader}. */ export type MapStyleLoaderOptions = LoaderOptions & { mapStyle?: NonNullable; }; /** loaders.gl-compatible loader that resolves and validates map-style documents. */ export declare const MapStyleLoader: { readonly dataType: ResolvedBasemapStyle; readonly batchType: never; readonly name: "Map Style"; readonly id: "map-style"; readonly module: "basemap-layers"; readonly version: string; readonly worker: false; readonly extensions: ["json"]; readonly mimeTypes: ["application/json", "application/vnd.mapbox.style+json"]; readonly text: true; readonly options: { readonly mapStyle: {}; }; readonly parse: (data: ArrayBuffer | string, options?: MapStyleLoaderOptions, context?: LoaderContext) => Promise<{ [x: string]: unknown; sources: Record; layers: { [x: string]: unknown; id: string; type: string; source?: string; 'source-layer'?: string; minzoom?: number; maxzoom?: number; filter?: unknown[]; paint?: Record; layout?: Record; }[]; version?: number; metadata?: Record; }>; }; //# sourceMappingURL=map-style-loader.d.ts.map