import { Collection } from "../../../data/types";
import { UndoableAction } from "./types";
export interface CollectionState {
    collections: Collection[];
}
export declare const collectionSlice: import("@reduxjs/toolkit").Slice<CollectionState, {
    addCollection: (state: import("immer/dist/internal").WritableDraft<CollectionState>, action: UndoableAction<Collection>) => void;
    addComponentToCollection: (state: import("immer/dist/internal").WritableDraft<CollectionState>, action: UndoableAction<{
        collectionId: string;
        componentId: string;
    }>) => void;
    deleteComponentFromCollections: (state: import("immer/dist/internal").WritableDraft<CollectionState>, action: UndoableAction<{
        componentId: string;
    }>) => void;
}, "collections">;
export declare const COLLECTION_REDUX_ACTIONS: import("@reduxjs/toolkit").CaseReducerActions<{
    addCollection: (state: import("immer/dist/internal").WritableDraft<CollectionState>, action: UndoableAction<Collection>) => void;
    addComponentToCollection: (state: import("immer/dist/internal").WritableDraft<CollectionState>, action: UndoableAction<{
        collectionId: string;
        componentId: string;
    }>) => void;
    deleteComponentFromCollections: (state: import("immer/dist/internal").WritableDraft<CollectionState>, action: UndoableAction<{
        componentId: string;
    }>) => void;
}, "collections">;
export declare const addCollection: import("@reduxjs/toolkit").ActionCreatorWithPayload<Collection & {
    generatedByUndoRedo?: boolean | undefined;
}, "collections/addCollection">, addComponentToCollection: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    collectionId: string;
    componentId: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "collections/addComponentToCollection">, deleteComponentFromCollections: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    componentId: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "collections/deleteComponentFromCollections">;
export declare const collectionsReducer: import("redux").Reducer<CollectionState>;
//# sourceMappingURL=collections.d.ts.map