import { CompositeLayer } from "@deck.gl/core";
import { ExtendedLayerProps } from "../utils/layerTools";
import { RGBAColor } from "@deck.gl/core/utils/color";
import { Position } from "@deck.gl/core/utils/positions";
import { SolidPolygonLayer } from "@deck.gl/layers";
import { PickInfo } from "deck.gl";
declare type PieProperties = [{
    color: RGBAColor;
    label: string;
}];
declare type PieData = {
    x: number;
    y: number;
    R: number;
    fractions: [{
        value: number;
        idx: number;
    }];
};
interface PiesData {
    pies: PieData[];
    properties: PieProperties;
}
interface PolygonData {
    polygon: Position[];
    properties: {
        color: RGBAColor;
        name: string;
        pieIndex: number;
    };
}
export interface PieChartLayerProps<D> extends ExtendedLayerProps<D> {
    selectedPie: PieData;
}
export default class PieChartLayer extends CompositeLayer<PiesData, PieChartLayerProps<PiesData>> {
    onClick(info: PickInfo<PolygonData>): boolean;
    renderLayers(): SolidPolygonLayer<PolygonData>[];
}
export {};
