///
import type { StyleSpecification } from 'maplibre-gl';
import { ExtendedMapOptions } from 'common/map';
interface IProps {
map: ExtendedMapOptions;
onMapLoad?: (map: maplibregl.Map) => void;
locale?: 'fa' | 'en';
styleURL: string;
sprite?: string;
title?: string;
columns?: string[];
className?: string;
onSubmit?: (arg: StyleSpecification | null) => void;
onCancel?: (arg: StyleSpecification | null) => void;
getDistinctValues?: (arg: string) => Promise;
}
type Renderable = JSX.Element | undefined | null | false;
export type { IProps, Renderable };