import { WebmapEmbedding } from './webmapSchema'; import { default as MapView } from '@arcgis/core/views/MapView.js'; export type VectorizedLayer = WebmapEmbedding["layers"][number]; export type VectorizedField = VectorizedLayer["fields"][number]; /** * Generates a structured, vectorized representation of a Webmap's layers and fields. * * Extracts metadata from the MapView, generates embeddings using a batched * API call, and validates the final object against the WebmapEmbeddingSchema. * * @param {MapView} mapView - The ArcGIS MapView containing layers to embed. * @returns {Promise} The validated and vectorized webmap data. * @throws {Error} If the generated data fails schema validation. */ export declare const createWebmapEmbeddings: (mapView: MapView) => Promise;