import type { PayloadAction } from "@reduxjs/toolkit";
import type { DrawMode } from "./types";
export declare const specSlice: import("@reduxjs/toolkit").Slice<Record<string, unknown>, {
    setSpec: (_: import("immer").WritableDraft<Record<string, unknown>>, action: PayloadAction<Record<string, unknown>>) => Record<string, unknown>;
    updateVisibleLayers: (state: import("immer").WritableDraft<Record<string, unknown>>, action: PayloadAction<[string, boolean]>) => void;
    updateDrawingMode: (state: import("immer").WritableDraft<Record<string, unknown>>, action: PayloadAction<[string, DrawMode]>) => void;
    updateLayerProp: (state: import("immer").WritableDraft<Record<string, unknown>>, action: PayloadAction<[string, string, boolean | string | number]>) => void;
}, "spec", "spec", import("@reduxjs/toolkit").SliceSelectors<Record<string, unknown>>>;
export declare const rootReducer: import("redux").Reducer<{
    spec: Record<string, unknown>;
}, import("redux").UnknownAction, Partial<{
    spec: Record<string, unknown> | undefined;
}>>;
