declare function useVisibleLayers(): [string[], (layerId: string) => void]; export default useVisibleLayers;