import { FC } from "react"; import { UserWebmap } from "../context/authenticationContext"; export type HomeWebmapsProps = { webmaps: UserWebmap[]; isLoadingAdditionalAccountData: boolean; isAuthCompleted: boolean; last_webmap: number; last_filter: number; last_ars: number; last_nts: number; /** * Callback function for doing additional UI stuff; receives boolean value that informs * whether the redirect will be to a location on the same host */ onOpenClick?: (willRedirectToCurrentHost: boolean) => void; }; /** * React Component that displays a smart, multi-component and interdependent dropdown that * lets the user pick a map project as well as an area to jump into. * * It depends on a userContext provider from which it derives information about the logged in * user and the various loading states of the webmap information from the various map project * backend servers. * * Core part of the component is the hybrid autocomplete that is able to switch between client-side * and server-side filtering based on a provided total count of projects. */ declare const HomeWebmaps: FC; export declare const HomeWebmapsWithContext: ({ onOpenClick, }: Pick) => JSX.Element; export default HomeWebmaps;