import { CancelTokenSource, Method } from "axios";
import { InfoPayload } from "../global/__mocks__/info-mock";
import { ChartData, ChartMetadata } from "./chart-types";
export interface UpdateChartDataAction {
    chartData: ChartData;
    id: string;
}
export declare const updateChartDataAction: import("redux-act").SimpleActionCreator<UpdateChartDataAction, {}>;
export interface UpdateChartMetadataAction {
    chartMetadata: ChartMetadata;
    id: string;
}
export declare const updateChartMetadataAction: import("redux-act").SimpleActionCreator<UpdateChartMetadataAction, {}>;
export interface FetchDataParams {
    fillMissingPoints?: number;
    isRemotelyControlled: boolean;
    viewRange: [number, number];
}
export interface FetchDataUrlParams {
    host: string;
    chart: string;
    context: string;
    format: string;
    points: number;
    group: string;
    gtime: number;
    options: string;
    after: number | null;
    before?: number | null;
    dimensions?: string;
    labels?: {
        [key: string]: string;
    };
    postGroupBy?: string;
    postAggregationMethod?: string;
    aggrMethod?: string;
    aggrGroups?: string[];
    dimensionsAggrMethod?: string;
    nodeIDs?: string[];
    httpMethod?: Method;
    groupBy?: string;
}
export interface FetchDataPayload extends FetchDataUrlParams {
    id: string;
    fetchDataParams: FetchDataParams;
    cancelTokenSource: CancelTokenSource;
}
export declare const fetchDataAction: import("redux-act").SimpleActionCreator<FetchDataPayload, {}> & {
    request: import("redux-act").SimpleActionCreator<FetchDataPayload, {}>;
    success: import("redux-act").ComplexActionCreator<{
        id: string;
        chartData: ChartData;
        fetchDataParams: FetchDataParams;
    }, {}>;
    failure: import("redux-act").ComplexActionCreator<any, {}>;
};
export interface FetchDataCancelAction {
    id: string;
}
export declare const fetchDataCancelAction: import("redux-act").SimpleActionCreator<FetchDataCancelAction, {}>;
export interface FetchDataForSnapshotPayload extends FetchDataUrlParams {
    chartLibrary: string;
    id: string;
}
export declare const fetchDataForSnapshotAction: import("redux-act").SimpleActionCreator<FetchDataForSnapshotPayload, {}> & {
    request: import("redux-act").SimpleActionCreator<FetchDataForSnapshotPayload, {}>;
    success: import("redux-act").ComplexActionCreator<{
        id: string;
        snapshotData: ChartData;
    }, {}>;
    failure: import("redux-act").ComplexActionCreator<any, {}>;
};
export declare const snapshotExportResetAction: import("redux-act").SimpleActionCreator<unknown, {}> & {
    request: import("redux-act").SimpleActionCreator<unknown, {}>;
    success: import("redux-act").ComplexActionCreator<any, {}>;
    failure: import("redux-act").ComplexActionCreator<any, {}>;
};
export interface FetchChartPayload {
    chart: string;
    id: string;
    host: string;
    nodeIDs?: string[];
}
export declare const fetchChartAction: import("redux-act").SimpleActionCreator<FetchChartPayload, {}> & {
    request: import("redux-act").SimpleActionCreator<FetchChartPayload, {}>;
    success: import("redux-act").ComplexActionCreator<{
        chartMetadata: ChartMetadata;
        id: string;
    }, {}>;
    failure: import("redux-act").ComplexActionCreator<any, {}>;
};
export interface SetResizeHeightAction {
    id: string;
    resizeHeight: number;
}
export declare const setResizeHeightAction: import("redux-act").SimpleActionCreator<SetResizeHeightAction, {}>;
export interface SetChartPanAndZoomAction {
    id: string;
    after: number;
    before: number;
    shouldForceTimeRange?: boolean;
}
export declare const setChartPanAndZoomAction: import("redux-act").SimpleActionCreator<SetChartPanAndZoomAction, {}>;
export declare const resetChartPanAndZoomAction: import("redux-act").SimpleActionCreator<{
    id: string;
}, {}>;
export declare const clearChartStateAction: import("redux-act").SimpleActionCreator<{
    id: string;
}, {}>;
export interface FetchInfoPayload {
    poll?: boolean;
}
export interface FetchInfoSuccessPayload {
    isCloudAvailable: boolean;
    isCloudEnabled: boolean;
    isAgentClaimed: boolean;
    isACLKAvailable: boolean;
    fullInfoPayload: InfoPayload;
}
export declare const fetchInfoAction: import("redux-act").SimpleActionCreator<FetchInfoPayload, {}> & {
    request: import("redux-act").SimpleActionCreator<FetchInfoPayload, {}>;
    success: import("redux-act").ComplexActionCreator<FetchInfoSuccessPayload, {}>;
    failure: import("redux-act").ComplexActionCreator<any, {}>;
};
