/** React */ import { Dispatch, ReactNode, SetStateAction } from "react"; import { Toc } from "../../components/map/index.types"; /** Context type */ type MapContextType = { state?: { currentLayer?: Toc; }; setCurrentLayer: Dispatch>; }; /** Props */ type MapProviderProps = { children: ReactNode; }; type UseMapProps = { defaultLayer?: Toc; }; export declare function MapProvider({ children }: MapProviderProps): import("react/jsx-runtime").JSX.Element; export declare function useMap({ defaultLayer }: UseMapProps): MapContextType; export {};