import { CheckboxProps, SelectProps } from '../../../../tedi'; type BaseLayerOption = { /** * Unique identifier used as the `id` for the input element. */ id: string; /** * Text label displayed next to the checkbox or select component. */ label: string; /** * Optional nested layer options, used to build a tree-like structure. */ children?: LayerOption[]; }; export type CheckboxLayerOption = BaseLayerOption & Omit & { type: 'checkbox'; }; export type SelectLayerOption = BaseLayerOption & Omit & { type: 'select'; }; export type LabelLayerOption = BaseLayerOption & { type: 'label'; }; export type LayerOption = CheckboxLayerOption | SelectLayerOption | LabelLayerOption; export type MapLayerProps = { /** * List of layer options to display, which can be nested to form a hierarchy. */ items: LayerOption[]; /** * Optional label text for the "Select All" master checkbox. */ selectAllLabel?: string; }; export declare const MapLayer: (props: MapLayerProps) => JSX.Element; export default MapLayer;