/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
///
import { ScreenGridLayer } from '@deck.gl/aggregation-layers';
import { JsonObject, JsonValue, QueryFormData } from '@superset-ui/core';
import { Viewport } from '../../utils/fitViewport';
import { TooltipProps } from '../../components/Tooltip';
export declare function getLayer(formData: QueryFormData, payload: JsonObject, onAddFilter: () => void, setTooltip: (tooltip: TooltipProps['tooltip']) => void): ScreenGridLayer boolean;
onHover: (o: JsonObject) => boolean;
pickable: boolean;
id: `screengrid-layer-${any}`;
data: any;
cellSizePixels: any;
minColor: [any, any, any, number];
maxColor: [any, any, any, number];
outline: boolean;
getWeight: (d: any) => any;
}>;
export type DeckGLScreenGridProps = {
formData: QueryFormData;
payload: JsonObject;
setControlValue: (control: string, value: JsonValue) => void;
viewport: Viewport;
width: number;
height: number;
onAddFilter: () => void;
};
declare const _default: import("react").MemoExoticComponent<(props: DeckGLScreenGridProps) => import("react").JSX.Element>;
export default _default;
//# sourceMappingURL=Screengrid.d.ts.map