import type { GeoLayerType, IGeoLayer } from "../../types/layers/index.js"; import type { IGeoLayerAdapterByType } from "./adapterTypes.js"; /** * Register or override adapter for the given layer type. * * @internal */ export declare function registerLayerAdapter(type: TType, adapter: IGeoLayerAdapterByType): void; /** * Clears all registered adapters. * * @remarks * Intended for tests or advanced extension scenarios. Consumers must re-register * the adapters they need (e.g., via {@link registerLayerAdapter}) after calling this. * * @internal */ export declare function clearLayerAdapters(): void; /** * Retrieve adapter for the given layer type. * * @remarks * The returned adapter is typed to accept any IGeoLayer. At runtime, * the adapter is guaranteed to match the layer type (since we select * based on layer.type), but TypeScript cannot prove this statically. * * @internal */ export declare function getLayerAdapter(type: TType): IGeoLayerAdapterByType; export declare function getLayerAdapter(layer: TLayer): IGeoLayerAdapterByType; //# sourceMappingURL=adapterRegistry.d.ts.map