import { RegistryMachine } from "./sagas";
import { ActiveAlarms, Snapshot, ChartsMetadata } from "./types";
import { InfoPayload } from "./__mocks__/info-mock";
import { Options } from "./options";
interface CommonMinMax {
    [commonKey: string]: {
        charts: {
            [chartUuid: string]: number;
        };
        currentExtreme: number;
    };
}
export declare type StateT = {
    commonColorsKeys: {
        [key: string]: {
            assigned: {
                [dimensionName: string]: string;
            };
            available: string[];
            custom: string[];
            charts: {};
            copyTheme: boolean;
        };
    };
    commonMin: CommonMinMax;
    commonMax: CommonMinMax;
    currentSelectionMasterId: string | null;
    globalPanAndZoom: null | {
        after: number;
        before: number;
        masterID?: string;
        shouldForceTimeRange?: boolean;
    };
    defaultAfter: number;
    globalChartUnderlay: null | {
        after: number;
        before: number;
        masterID: string;
    };
    hoveredX: number | null;
    hasWindowFocus: boolean;
    spacePanelIsActive: boolean;
    spacePanelTransitionEndIsActive: boolean;
    registry: {
        cloudBaseURL: string | null;
        hasFetchedHello: boolean;
        isHelloCallError: boolean | null;
        hasFetchedInfo: boolean;
        hostname: string;
        isCloudEnabled: boolean | null;
        isCloudAvailable: boolean | null;
        isAgentClaimed: boolean | null;
        isACLKAvailable: boolean | null;
        hasStartedInfo: boolean;
        fullInfoPayload: InfoPayload | null;
        isFetchingHello: boolean;
        machineGuid: string | null;
        personGuid: string | null;
        registryMachines: {
            [key: string]: RegistryMachine;
        } | null;
        registryMachinesArray: RegistryMachine[] | null;
        registryServer: string | null;
    };
    chartsMetadata: {
        isFetching: boolean;
        isFetchingError: boolean;
        data: null | ChartsMetadata;
    };
    alarms: {
        activeAlarms: null | ActiveAlarms;
        hasStartedAlarms: boolean;
    };
    snapshot: Snapshot | null;
    options: Options;
};
export declare const initialDefaultAfter: number;
export declare const initialState: StateT;
export declare const globalReducer: import("redux-act").Reducer<StateT, import("redux").AnyAction>;
export interface GetKeyArguments {
    colorsAttribute: string | undefined;
    commonColorsAttribute: string | undefined;
    chartUuid: string;
    chartContext: string;
}
export declare const getKeyForCommonColorsState: ({ colorsAttribute, commonColorsAttribute, chartUuid, chartContext, }: GetKeyArguments) => string;
export {};
