/// <reference types="react" />
import { Attributes } from "../../utils/transformDataAttributes";
import { ChartData, ChartMetadata } from "../../chart-types";
import { DropdownMenu } from "../chart-dropdown";
import "./chart-with-loader.css";
export declare type RenderCustomElementForDygraph = (selectedChartConfiguration: {
    attributes: Attributes;
    onAttributesChange: any;
    chartMetadata: ChartMetadata;
    chartID: string;
    chartData: ChartData | null;
}) => JSX.Element;
export declare type Props = {
    attributes: Attributes;
    chartUuid: string;
    dropdownMenu?: DropdownMenu;
    externalChartMetadata?: ChartMetadata;
    portalNode: HTMLElement;
    renderCustomElementForDygraph?: RenderCustomElementForDygraph;
    onAttributesChange?: any;
};
export declare const ChartWithLoader: ({ attributes, chartUuid, dropdownMenu, externalChartMetadata, portalNode, renderCustomElementForDygraph, onAttributesChange, }: Props) => JSX.Element;
