import type { AdapterConfig } from "@trackunit/react-map-adapter-shared"; import type { MapTheme, MapType } from "../core/types"; import type { AppearanceOption } from "./appearanceTypes"; type AppearancePreviewGridProps = Readonly<{ /** Accessible name for the radiogroup (the visual `SectionHeader` is `role="presentation"`) */ ariaLabel: string; /** The adapter config from the main map (used to derive preview configs) */ adapterConfig: AdapterConfig; /** Appearance options to display */ options: ReadonlyArray; /** Currently active theme */ currentTheme: MapTheme; /** Currently active map type */ currentMapType: MapType; /** Called when user selects an appearance option */ onChange: (theme: MapTheme, mapType: MapType) => void; }>; /** * Grid of tiny live map previews for selecting map appearance. * * Each preview renders a real map instance using `usePreviewMap` with * a derived adapter config. The grid is rendered as a `radiogroup` * for accessibility. * * This component is always rendered inside a menu (as a custom menu item), * so it uses menu-appropriate spacing (`px-3 py-2`). * * @internal */ export declare const AppearancePreviewGrid: ({ adapterConfig, ariaLabel, options, currentTheme, currentMapType, onChange, }: AppearancePreviewGridProps) => import("react/jsx-runtime").JSX.Element; export {};