import { CompositeLayer, Color, Position, PickingInfo, UpdateParameters } from "@deck.gl/core/typed";
import { ExtendedLayerProps } from "../utils/layerTools";
import { SolidPolygonLayer } from "@deck.gl/layers/typed";
declare type PieProperties = [{
    color: Color;
    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: Color;
        name: string;
        pieIndex: number;
    };
}
export interface PieChartLayerProps<D> extends ExtendedLayerProps<D> {
    selectedPie: D;
    depthTest: boolean;
}
export default class PieChartLayer extends CompositeLayer<PieChartLayerProps<PiesData>> {
    onClick(info: PickingInfo): boolean;
    shouldUpdateState({ changeFlags }: UpdateParameters<this>): boolean;
    renderLayers(): SolidPolygonLayer<PolygonData>[];
}
export {};
