///
import IDataParams from "./dataParams";
import IOptionParams from "./optionParams";
import { IFetchParams } from "./requestParams";
export declare type T_CHART_TYPES = "line" | "donut" | "metric" | "table" | "vbar" | "hbar" | "locmap";
export interface ChartData {
table?: string[][];
title?: string;
}
export declare type T_STATUS = "error" | "pending" | "loaded" | undefined;
export default interface IRendererParams {
colorMap?: Map;
data?: IDataParams;
fetchParams?: IFetchParams;
filterLabels?: string[];
hideSettings?: boolean;
id?: string;
isGrid?: boolean;
isGridQuestionType?: boolean;
onDataChange?: (chartData: ChartData) => void;
onMoreClick?: (event: React.MouseEvent) => void;
options: IOptionParams;
status?: T_STATUS;
type?: T_CHART_TYPES;
key?: number;
chartIndex?: number;
code?: string;
lazyLoad?: boolean;
}
export declare type CHART_ERROR_CALLBACK = (args: {
error: Error;
info: React.ErrorInfo;
httpStatus?: number;
}) => any;