import { FontAsset, IconAsset, ImageAsset } from "../../../data/types";
import { UndoableAction } from "./types";
export interface AssetState {
    fontAssets: FontAsset[];
    imageAssets: ImageAsset[];
    iconAssets: IconAsset[];
}
export declare const assetSlice: import("@reduxjs/toolkit").Slice<AssetState, {
    addImageAsset: (state: import("immer/dist/internal").WritableDraft<AssetState>, action: UndoableAction<ImageAsset>) => void;
    updateImageAsset: (state: import("immer/dist/internal").WritableDraft<AssetState>, action: UndoableAction<{
        assetId: string;
        value: ImageAsset["value"];
    }>) => void;
}, "assets">;
export declare const ASSETS_REDUX_ACTIONS: import("@reduxjs/toolkit").CaseReducerActions<{
    addImageAsset: (state: import("immer/dist/internal").WritableDraft<AssetState>, action: UndoableAction<ImageAsset>) => void;
    updateImageAsset: (state: import("immer/dist/internal").WritableDraft<AssetState>, action: UndoableAction<{
        assetId: string;
        value: ImageAsset["value"];
    }>) => void;
}, "assets">;
export declare const addImageAsset: import("@reduxjs/toolkit").ActionCreatorWithPayload<ImageAsset & {
    generatedByUndoRedo?: boolean | undefined;
}, "assets/addImageAsset">, updateImageAsset: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    assetId: string;
    value: ImageAsset["value"];
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "assets/updateImageAsset">;
export declare const assetReducer: import("redux").Reducer<AssetState>;
//# sourceMappingURL=assets.d.ts.map