import React from "react"; import type { ScreenViewport } from "@itwin/core-frontend"; import type { MapLayerOptions, StyleMapLayerSettings } from "../Interfaces"; import type { MapLayerDroppableId } from "../widget/MapLayerDragModel"; /** @internal */ export interface MapLayerListContextProps { readonly activeViewport: ScreenViewport; readonly backgroundLayers: StyleMapLayerSettings[]; readonly disabled: boolean; readonly dropTargetId?: MapLayerDroppableId; readonly isDraggingMapLayer: boolean; readonly mapLayerOptions?: MapLayerOptions; readonly onItemEdited: () => void; readonly onItemSelected: (isOverlay: boolean, index: number) => void; readonly onItemVisibilityToggleClicked: (mapLayerSettings: StyleMapLayerSettings) => void; readonly onMenuItemSelected: (action: string, mapLayerSettings: StyleMapLayerSettings) => void; readonly onSelectAllLayers: (isOverlay: boolean) => void; readonly overlayLayers: StyleMapLayerSettings[]; } /** @internal */ export interface MapLayerListProviderProps extends MapLayerListContextProps { readonly children: React.ReactNode; } /** @internal */ export declare const MapLayerListContext: React.Context; /** @internal */ export declare function MapLayerListProvider(props: MapLayerListProviderProps): React.ReactElement; /** @internal */ export declare function useMapLayerListContext(): MapLayerListContextProps; //# sourceMappingURL=MapLayerListContext.d.ts.map