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;
    addFontAsset: (state: import("immer/dist/internal").WritableDraft<AssetState>, action: UndoableAction<FontAsset>) => void;
    updateFontAsset: (state: import("immer/dist/internal").WritableDraft<AssetState>, action: UndoableAction<{
        assetId: string;
        supportedWeights: FontAsset["supportedWeights"];
    }>) => void;
    deleteFontAsset: (state: import("immer/dist/internal").WritableDraft<AssetState>, action: UndoableAction<{
        assetId: string;
    }>) => 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;
    addFontAsset: (state: import("immer/dist/internal").WritableDraft<AssetState>, action: UndoableAction<FontAsset>) => void;
    updateFontAsset: (state: import("immer/dist/internal").WritableDraft<AssetState>, action: UndoableAction<{
        assetId: string;
        supportedWeights: FontAsset["supportedWeights"];
    }>) => void;
    deleteFontAsset: (state: import("immer/dist/internal").WritableDraft<AssetState>, action: UndoableAction<{
        assetId: string;
    }>) => 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">, addFontAsset: import("@reduxjs/toolkit").ActionCreatorWithPayload<FontAsset & {
    generatedByUndoRedo?: boolean | undefined;
}, "assets/addFontAsset">, updateFontAsset: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    assetId: string;
    supportedWeights: FontAsset["supportedWeights"];
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "assets/updateFontAsset">, deleteFontAsset: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    assetId: string;
} & {
    generatedByUndoRedo?: boolean | undefined;
}, "assets/deleteFontAsset">;
export declare const assetReducer: import("redux").Reducer<AssetState>;
//# sourceMappingURL=assets.d.ts.map