import { Nullable } from '../../../../types';
import { SourceLayerEventHandlers, TangramCustomLayer, TangramEventConfig, TangramLeafletLayer, TangramSourceConfig } from '../types';
export declare const useGetLeafletLayer: ({ eventHandlers, }: {
    eventHandlers?: SourceLayerEventHandlers;
}) => {
    layer: Nullable<TangramLeafletLayer>;
    scene: import("..").TangramScene | null;
    config: Nullable<TangramEventConfig>;
    addSource: (sourceConfig: TangramSourceConfig) => string[] | undefined;
    getSource: (sourceName: TangramSourceConfig["name"]) => {
        tile_size: number;
        type: string;
        url: string;
    } | undefined;
    updateSource: (sourceName: TangramSourceConfig["name"], newUrl: TangramSourceConfig["url"]) => string[] | undefined;
    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