import { Nullable } from '../../../../../types';
import { SourceLayerEventHandlers, TangramCustomLayer, TangramEventConfig, TangramLeafletLayer, TangramSourceConfig, TangramSourceNames } from '../types';
export declare const useGetLeafletLayer: ({ eventHandlers, }: {
    eventHandlers?: SourceLayerEventHandlers;
}) => {
    layer: Nullable<TangramLeafletLayer>;
    scene: import("..").TangramScene | null;
    config: Nullable<TangramEventConfig>;
    addSource: (sourceName: TangramSourceNames) => void;
    getSource: (sourceName: TangramSourceConfig["name"]) => {
        tile_size: number;
        type: string;
        url: string;
    } | undefined;
    updateSource: (sourceName: TangramSourceConfig["name"], newUrl: TangramSourceConfig["url"]) => void;
    reloadSource: (sourceName: TangramSourceNames) => void;
    addLayer: (layer: TangramCustomLayer) => string[] | undefined;
    removeLayer: (layer: TangramCustomLayer) => string[] | undefined;
    addStyle: ({ name, style }: {
        name: string;
        style: object;
    }) => void;
    getLayerVisibility: (layer: TangramCustomLayer) => boolean | undefined;
    toggleLayerVisibility: ({ layer, visible }: {
        layer: TangramCustomLayer;
        visible: boolean;
    }) => boolean | undefined;
    getSources: () => string[];
    getLayers: () => string[];
    removeLayers: () => never[] | undefined;
};
//# sourceMappingURL=useGetLeafletLayer.d.ts.map